-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Add a property to not create HealthIndicators from AbstractRoutingDatasources #22222
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
…rce's when creatng HealthIndicator's
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.
Thanks very much for the PR, @juliojgd. I've left a couple of comments related to using @ConfigurationProperties
rather than @Value
. If you have the time to make the suggested changes, that would be great. Don't worry if you don't as we can make the necessary amendments as part of merging this.
...gframework/boot/actuate/autoconfigure/jdbc/DataSourceHealthContributorAutoConfiguration.java
Outdated
Show resolved
Hide resolved
...ator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
Outdated
Show resolved
Hide resolved
...ework/boot/actuate/autoconfigure/jdbc/DataSourceHealthContributorAutoConfigurationTests.java
Show resolved
Hide resolved
...ework/boot/actuate/autoconfigure/jdbc/DataSourceHealthContributorAutoConfigurationTests.java
Show resolved
Hide resolved
@wilkinsona Suggested changes done. Let me know if something else needs to be changed. |
@juliojgd Thanks very much for making your first contribution to Spring Boot. |
This is about #22151