Skip to content

Add X-Databricks-Org-Id header to deprecated workspace SCIM APIs#754

Merged
hectorcast-db merged 3 commits intomainfrom
add-org-id-header-deprecated-scim
Apr 10, 2026
Merged

Add X-Databricks-Org-Id header to deprecated workspace SCIM APIs#754
hectorcast-db merged 3 commits intomainfrom
add-org-id-header-deprecated-scim

Conversation

@hectorcast-db
Copy link
Copy Markdown
Contributor

Summary

  • Added X-Databricks-Org-Id header to all methods in the deprecated GroupsImpl, ServicePrincipalsImpl, and UsersImpl workspace services (22 methods total)
  • These were the only workspace-level services missing this header, which is required for SPOG (unified) host compatibility
  • Added integration test UnifiedHostGroupsIT to verify Groups API works through a SPOG host

Test plan

  • Verify UnifiedHostGroupsIT.listWorkspaceGroupsViaUnifiedHost passes against a SPOG host
  • Verify existing workspace SCIM integration tests still pass

This pull request was AI-assisted by Isaac.

The deprecated Groups, ServicePrincipals, and Users workspace services
were missing the X-Databricks-Org-Id header that all other workspace
services include when workspaceId is configured. This is required for
SPOG (unified) host compatibility.

Co-authored-by: Isaac
Signed-off-by: Hector Castejon Diaz <hector.castejon@databricks.com>
The Dedupe iterator wrapping the Groups list only populates its current
element inside hasNext(). Calling next() without hasNext() returns null.

Co-authored-by: Isaac
@github-actions
Copy link
Copy Markdown
Contributor

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-java

Inputs:

  • PR number: 754
  • Commit SHA: 9625a4415f8ad4c42b608076382a3ba5cd5de929

Checks will be approved automatically on success.

@hectorcast-db hectorcast-db added this pull request to the merge queue Apr 10, 2026
Merged via the queue into main with commit 9df8048 Apr 10, 2026
14 of 16 checks passed
@hectorcast-db hectorcast-db deleted the add-org-id-header-deprecated-scim branch April 10, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants