Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: databricks/databricks-sdk-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: databricks/databricks-sdk-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: unify-oidc-endpoints
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 4 files changed
  • 2 contributors

Commits on Feb 9, 2026

  1. test

    hectorcast-db committed Feb 9, 2026
    Configuration menu
    Copy the full SHA
    d5331fb View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2026

  1. Add new OIDC Auth integration tests

    Add integration tests for Databricks Service Principal (M2M) and Azure
    Client Secret authentication types.
    
    This increases coverage for existing Auth types by adding:
    - Workspace OAuth M2M authentication test
    - Workspace Azure Client Secret authentication test
    - Account OAuth M2M authentication test
    - Account Azure Client Secret authentication test
    
    These tests verify that authentication works correctly by making API
    calls and validating responses.
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
    hectorcast-db and claude committed Feb 10, 2026
    Configuration menu
    Copy the full SHA
    7ca3b06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    132f54c View commit details
    Browse the repository at this point in the history
  3. Refactor: Extract OIDC endpoint fetching to reusable method

    Extract the logic for fetching OIDC endpoints from the well-known endpoint
    into a helper method fetchOidcEndpointsFromWellKnown(). This method is now
    reused for both the Azure client secret authentication case and the default
    case, reducing code duplication.
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
    hectorcast-db and claude committed Feb 10, 2026
    Configuration menu
    Copy the full SHA
    7ff54e5 View commit details
    Browse the repository at this point in the history
  4. more fixes

    hectorcast-db committed Feb 10, 2026
    Configuration menu
    Copy the full SHA
    1cc25db View commit details
    Browse the repository at this point in the history
  5. Fix test: Add missing HTTP client and OIDC endpoints mock

    The cacheWithInvalidTokensTest was failing because:
    1. The config didn't have an HTTP client set
    2. The config needed mocked OIDC endpoints
    
    This fix adds:
    - HTTP client to the test config
    - Spy on config to inject mocked OIDC endpoints
    - Import for OpenIDConnectEndpoints class
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
    hectorcast-db and claude committed Feb 10, 2026
    Configuration menu
    Copy the full SHA
    84c82ba View commit details
    Browse the repository at this point in the history
Loading