• Brian Clozel's avatar
    Add "management.health.probes.enabled" config property · 4be64e8f
    Brian Clozel authored
    Prior to this commit, we were relying on the
    `"spring.main.cloud-platform"` property for overriding cloud platform
    detection and enabling liveness and readiness probes. Changes made in
    gh-20553 have now been reverted.
    
    This commit adds the `"management.health.probes.enabled"` configuration
    property. The auto-configuration now enables the HTTP Probes and
    `HealthIndicator` if this property is enabled, or if the Kubernetes
    cloud platform is detected.
    
    This property is `false` by default for now, since enabling this for all
    Spring Boot applications would be a breaking change. In this case, the
    global `"/actuator/health"` endpoint could report `OUT_OF_SERVICE`
    during startup time because the application now reports the readiness as
    well.
    
    See gh-19593
    4be64e8f
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...