KEMBAR78
fix: split connection pool based on credential by GaoleMeng · Pull Request #2388 · googleapis/java-bigquerystorage · GitHub
Skip to content

Conversation

@GaoleMeng
Copy link
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

@GaoleMeng GaoleMeng requested a review from a team as a code owner January 31, 2024 00:19
@GaoleMeng GaoleMeng requested a review from Linchin January 31, 2024 00:19
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. labels Jan 31, 2024
}
this.location = location;
CredentialsProvider credentialsProvider = client.getSettings().getCredentialsProvider();
log.warning("The credentials gotten is " + credentialsProvider.getCredentials());
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we printing this out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

wrong debug log, removed

ConnectionPoolKey.create(location),
ConnectionPoolKey.create(
location,
credentialsProvider != null ? credentialsProvider.getCredentials() : null),
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 use a hash for the key instead? I am wondering if there could be a security concern here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed to use hash

@GaoleMeng GaoleMeng force-pushed the main branch 4 times, most recently from 09fa9f4 to 8d661a9 Compare February 1, 2024 01:57
@GaoleMeng GaoleMeng added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 1, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 1, 2024
@GaoleMeng GaoleMeng force-pushed the main branch 2 times, most recently from 7dc6243 to a8c01ed Compare February 2, 2024 01:19
@GaoleMeng GaoleMeng requested a review from a team as a code owner February 2, 2024 01:19
@GaoleMeng GaoleMeng force-pushed the main branch 2 times, most recently from c03fe54 to fb34006 Compare February 2, 2024 01:37
@GaoleMeng GaoleMeng added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 2, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 2, 2024
@GaoleMeng GaoleMeng merged commit 08bc846 into googleapis:main Feb 2, 2024
zhumin8 added a commit that referenced this pull request Oct 3, 2024
…-config (#2679)

These dependencies were added in #2388 with hardcoded versions.
We prefer getting these versions from sdk-platform-java-config (includes both auth and gax versions).

auth is included in dependencyManagement here in gapic-generator-java-bom, which is part of first-party-dependencies, and eventually included via sdk-platform-java-config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants