-
Notifications
You must be signed in to change notification settings - Fork 69
fix(spring): fix and refactor class names for autoconfiguration and properties #1091
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
Conversation
| sb.add( | ||
| String.format( | ||
| "%s.spring.%sSpringAutoConfig", service.pakkage(), service.name()))); | ||
| "%s.spring.%sSpringAutoConfiguration", service.pakkage(), service.name()))); |
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.
Good catch. Now I wonder if it's worth to extract this name and the properties class name into a util, so in case we change it in the future, they stay consistent?
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.
That's a good idea - I'll work on refactoring in this PR to something more future-proof. This is likely the only issue that will be patched here (since all of the other items are being addressed separately) so I'll update the description and title when ready for review.
|
Kudos, SonarCloud Quality Gate passed! |








In this PR:
<Service>SpringAutoConfigto<Service>SpringAutoConfiguration<Service>SpringAutoConfigurationand<Service>SpringPropertiesclasses into utils to reduce potential inconsistency in the composer codeThis PR was originally opened to track and (patch where applicable) some missing items (from compiling/testing against the generated module for language):
Fixing through separate PRs:
Durationcannot be implicitly converted from String2022instead of2022-2022patterncom.google.api.gax.httpjson.InstantiatingHttpJsonChannelProviderandorg.threeten.bp.Durationjava_gapic.bzlshould call formatter to remove these