Skip to content

chore: remove unused AzureTokenProvider class - #37927

Merged
mohityadav766 merged 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-azuretokenprovider-class-7233d9
Nov 17, 2026
Merged

mohityadav766 merged 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-azuretokenprovider-class-7233d9

Conversation

@detail-app

@detail-app detail-app Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Removed the AzureTokenProvider class along with the now-orphaned
msal4j dependency in openmetadata-service/pom.xml and the version
pin in the root pom.xml <dependencyManagement>, plus the matching
file-path glob in .github/java-tests/impact-map.json.

This class was dead-on-arrival: it was added in the same commit that
introduced the real Azure database authentication implementation
(AzureDatabaseAuthenticationProvider, which uses
DefaultAzureCredential), but AzureTokenProvider was never wired in
or called by anything. It contained hardcoded placeholder credentials
("your-client-id", "your-tenant-id", "your-client-secret") and
had zero references anywhere in the codebase (Java source, tests,
docs, or config). The com.microsoft.aad.msal4j library it imported
was consumed solely by this class.

History


Dead Code PRs can be configured here.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were established.

Summary

Removes the unused AzureTokenProvider and its matching test-map entry.

  • The service no longer includes the unused placeholder-based Azure token provider.

No actionable issues were established. Builds and tests were not run.

Reviews (1) · Last reviewed commit: "chore: remove unused AzureTokenProvider ..." · Reviewed by Greptile

@detail-app
detail-app Bot requested a review from a team as a code owner November 16, 2026 23:21
@detail-app
detail-app Bot requested review from harshach and pmbrull November 16, 2026 23:21
@mohityadav766
mohityadav766 merged commit 3c31069 into main Nov 17, 2026
53 checks passed
@mohityadav766
mohityadav766 deleted the detail/dead-code/chore-remove-unused-azuretokenprovider-class-7233d9 branch November 17, 2026 09:46
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