fix(Spring CodeGen): Use service-specific CredentialsProvider in annotation#1055
fix(Spring CodeGen): Use service-specific CredentialsProvider in annotation#1055emmileaf merged 2 commits intoautoconfig-gen-draft2from
Conversation
|
🤖 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 -- conventional-commit-lint bot |
| CaseFormat.UPPER_CAMEL.to(CaseFormat.LOWER_CAMEL, service.name()) + "Client"; | ||
|
|
||
| String credentialsProviderName = | ||
| CaseFormat.UPPER_CAMEL.to(CaseFormat.LOWER_CAMEL, service.name()) + "Credentials"; |
There was a problem hiding this comment.
nit: might worth to extract these two names and pass in as parameters? This way, future changes to the names won't cause a mismatch between bean name and qualifier.
There was a problem hiding this comment.
Makes sense! Just pushed a new commit to switch some method names into parameters - is this aligned with what you were thinking of?
|
Kudos, SonarCloud Quality Gate passed! |
) * build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /.kokoro Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7. - [Release notes](https://github.com/certifi/python-certifi/releases) - [Commits](certifi/python-certifi@2022.09.24...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>








This PR addresses a follow-up on
Qualifierannotations added: #1045 (comment)googleCredentialsto[serviceName]Credentialsin both qualifier annotation and generated method definition.