Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Make derived classes of CredentialSource public #1236

Merged
merged 16 commits into from
Jul 25, 2023

Conversation

mario-vimal
Copy link
Contributor

Currently credential source cannot be specified during initialization for AwsCredentials, IdentityPoolCredentials and PluggableAuthCredentials.
The corresponding derived credential sources have been made public for credential creation using credential sources.

@mario-vimal mario-vimal requested review from a team as code owners July 12, 2023 18:25
@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Jul 12, 2023

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jul 12, 2023
@mario-vimal mario-vimal changed the title Make derived classes of CredentialSource public Fix: Make derived classes of CredentialSource public Jul 12, 2023
@TimurSadykov
Copy link
Member

Please move those classes into separate classes. Nested classes could cause bogus error in the future like we had recently. Once public it would be harder to move them out. @lsirac

Copy link
Member

@TimurSadykov TimurSadykov left a comment

Choose a reason for hiding this comment

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

Please move nested classes as separate if they become public

@TimurSadykov
Copy link
Member

References to previous problems with nested imports:
#1190

caused by:
https://bugs.openjdk.org/browse/JDK-7101822

@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: s Pull request size is small. labels Jul 13, 2023
Copy link
Member

@TimurSadykov TimurSadykov left a comment

Choose a reason for hiding this comment

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

Overall looks good, but seems like we need to keep an old base CredentialSource class for now, until the next major bump.

@lsirac lsirac requested a review from TimurSadykov July 24, 2023 20:55
Copy link
Member

@TimurSadykov TimurSadykov left a comment

Choose a reason for hiding this comment

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

LGTM

…nnotations to v1.1.1 (googleapis#1253)

Co-authored-by: Lawrence Qiu <lqiu96@gmail.com>
@mario-vimal mario-vimal requested a review from a team as a code owner July 25, 2023 17:51
@sonarcloud
Copy link

sonarcloud bot commented Jul 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@lsirac lsirac merged commit 9bb9e0a into googleapis:main Jul 25, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants