Skip to content

Conversation

@zhumin8
Copy link
Contributor

@zhumin8 zhumin8 commented Jan 3, 2023

Add name to @ConditionalOnMissingBean annotation when creating TransportChannelProvider bean so that it can be picked up with Qualifier in serviceSettings bean creation that follows.
This was missed in original commit adding this bean and should fix error seen in GoogleCloudPlatform/spring-cloud-gcp#1407 (comment)

@zhumin8 zhumin8 added the spring pr that's related to spring code gen, intend to merge into autoconfig-gen-draft2 branch. label Jan 3, 2023
@zhumin8 zhumin8 marked this pull request as ready for review January 3, 2023 22:47
@zhumin8 zhumin8 requested a review from a team as a code owner January 3, 2023 22:47
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 4, 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 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@diegomarquezp diegomarquezp left a comment

Choose a reason for hiding this comment

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

Thanks!

@zhumin8 zhumin8 merged commit 52cf4a8 into autoconfig-gen-draft2 Jan 4, 2023
@zhumin8 zhumin8 deleted the fix-transportchannel-bean branch January 4, 2023 17:31
zhumin8 added a commit to GoogleCloudPlatform/spring-cloud-gcp that referenced this pull request Jan 11, 2023
…ifier name. (#1418)

This is a followup on #1355, the additional test verifies in case of multiple bean of type `TransportChannelProvider` the one with correct qualifier name is used. 
related fix in generator: googleapis/sdk-platform-java#1207
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spring pr that's related to spring code gen, intend to merge into autoconfig-gen-draft2 branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants