-
Notifications
You must be signed in to change notification settings - Fork 61
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
feat: service settings as a bean #1110
feat: service settings as a bean #1110
Conversation
.../com/google/api/generator/spring/composer/goldens/EchoSpringAutoConfigurationGrpcRest.golden
Outdated
Show resolved
Hide resolved
src/main/java/com/google/api/generator/spring/composer/SpringAutoConfigClassComposer.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
src/main/java/com/google/api/generator/spring/composer/SpringAutoConfigClassComposer.java
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
…1123) As discussed off-line, instead of depending on a new `global-properties` module, use `CredentialsProvider` bean from `spring-cloud-gcp-autoconfigure` instead. - Replace dependency from `core` to `autoconfigure` module. - Revert #1071 and implement changes shown in [poc](zhumin8/language_poc1#7) - Minor code cleanups and util method extracted from `SpringPropertiesClassComposer.java`. Note: #1071 and GoogleCloudPlatform/spring-cloud-gcp#1308 will be obsolete after this change. Also, conflicts needs to be resolved between this pr and #1110 depending on merging order.
@diegomarquezp I missed this earlier in review. But can you open a separate PR to update the relevant javadoc comments affected by this change? |
@zhumin8 will do! |
#1209) Addressing: #1110 (comment) This was leftover from changes made in #1110
Enables usage of
[Service]Settings
as a separate bean, as suggested in GoogleCloudPlatform/spring-cloud-gcp#1364 (comment)Changes were based on POC by @zhumin8 and POC fixes by @emmileaf