fix: remove deprecated X-Tenant-ID header#119
Merged
saurabhjain1592 merged 11 commits intomainfrom Apr 4, 2026
Merged
Conversation
Tenant identity is now derived from OAuth2 client credentials on the server side. The X-Tenant-ID header is no longer needed. Also fix flaky TelemetryReporterTest that assumed nothing runs on localhost:8080 (use localhost:1 for deterministic connection-refused). Part of #1488: Unify auth to OAuth2 Client Credentials (RFC 6749).
8ce2b1b to
3173357
Compare
clientId-only configs previously sent no auth header when clientSecret was null. Now always sends Basic auth with effective clientId (defaults to "community") and empty secret for null clientSecret. Server derives tenant from the auth header.
…field name BREAKING: getMateriality() renamed to getMaterialityClassification().
The CI format check (com.spotify.fmt:fmt-maven-plugin:check) was failing on pre-existing formatting violations. Ran the formatter on all files.
a6cdb08 to
585ada4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
addTenantIdHeader()method and all 3 call sites fromAxonFlow.javaX-Tenant-IDheader inbuildOrchestratorRequest()TelemetryReporterTest.testPayloadDeploymentModeEnterprisethat assumed nothing runs on localhost:8080Test plan
mvn compilepasses (clean compilation)mvn test)X-Tenant-IDoraddTenantIdHeaderreferences in sourcePart of #1488: Unify auth to OAuth2 Client Credentials (RFC 6749).