Skip to content

Conversation

@zoewangg
Copy link
Contributor

Motivation and Context

Remove unncessary dependency and ignoredUnusedDeclaredDependency

@zoewangg zoewangg requested a review from a team as a code owner November 27, 2025 21:09
Comment on lines -549 to -553
<!-- TODO(post-sra-identity-auth): With move to SRA Identity & Auth, most clients won't need a
dependency on auth module. But cannot remove it from services/pom.xml until all services
have switched. Some service modules may still need it, because they have tests that use the
old interfaces, but that should become a test scoped dependency in modules where needed.
And the line below removed. -->
Copy link
Contributor Author

@zoewangg zoewangg Nov 27, 2025

Choose a reason for hiding this comment

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

We can't really remove auth dependency because that'd break customers who specify credentials provider directly (most of the customers)

http-auth, on the other hand, can be removed because it's a transitive dependency from auth, http-auth is required for services that support no op auth. Even though we could technically only add it for those services, it seems to less maintenance if we just add it for all services. For example, we may add other auth options in the future in http-auth module. Also, http-auth is pretty lightweight.

@zoewangg zoewangg force-pushed the zoewang/fixTodosPart1 branch 2 times, most recently from 5fdad7d to d78430c Compare November 27, 2025 22:09
@zoewangg zoewangg force-pushed the zoewang/fixTodosPart1 branch from d78430c to 840aa3e Compare November 27, 2025 23:48
@sonarqubecloud
Copy link

@zoewangg zoewangg added this pull request to the merge queue Nov 28, 2025
Merged via the queue into master with commit 57a6845 Nov 28, 2025
37 checks passed
@github-actions
Copy link

This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants