Skip to content

Enable support for a single Profile to use both Account and Workspace endpoints#648

Open
hectorcast-db wants to merge 4 commits intomainfrom
hectorcast-db/unified-profile
Open

Enable support for a single Profile to use both Account and Workspace endpoints#648
hectorcast-db wants to merge 4 commits intomainfrom
hectorcast-db/unified-profile

Conversation

@hectorcast-db
Copy link
Contributor

@hectorcast-db hectorcast-db commented Feb 4, 2026

What changes are proposed in this pull request?

Enable support for a single Profile to use both Account and Workspace endpoints.

This is done by moving the header injection logic to the code generation, which is aware of which endpoints are workspace specific.

How is this tested?

Updated test.

@hectorcast-db hectorcast-db changed the title wip Enable support for a single Profile to use both Account and Workspace endpoints Feb 4, 2026
Comment on lines +224 to +225
// Make a service call - this should inject the X-Databricks-Org-Id header
client.jobs().list(new ListJobsRequest());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a statement that verifies there were no header before this?

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

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: 648
  • Commit SHA: 636e0df4e4eaedb4ebba09c699348e27d70913c8

Checks will be approved automatically on success.

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