Commit 7a49651e authored by dreis2211's avatar dreis2211 Committed by Stephane Nicoll

Remove management.health.status.order from docs

See gh-18170
parent 14a67605
...@@ -23,6 +23,7 @@ import java.util.Map; ...@@ -23,6 +23,7 @@ import java.util.Map;
import java.util.Set; import java.util.Set;
import org.springframework.boot.actuate.health.HealthEndpoint; import org.springframework.boot.actuate.health.HealthEndpoint;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
/** /**
* Properties used to configure the health endpoint and endpoint groups. * Properties used to configure the health endpoint and endpoint groups.
...@@ -33,6 +34,7 @@ import org.springframework.boot.actuate.health.HealthEndpoint; ...@@ -33,6 +34,7 @@ import org.springframework.boot.actuate.health.HealthEndpoint;
*/ */
public abstract class HealthProperties { public abstract class HealthProperties {
@NestedConfigurationProperty
private final Status status = new Status(); private final Status status = new Status();
/** /**
......
...@@ -28,6 +28,15 @@ ...@@ -28,6 +28,15 @@
"name": "management.endpoint.health.show-details", "name": "management.endpoint.health.show-details",
"defaultValue": "never" "defaultValue": "never"
}, },
{
"name": "management.endpoint.health.status.order",
"defaultValue": [
"DOWN",
"OUT_OF_SERVICE",
"UP",
"UNKNOWN"
]
},
{ {
"name": "management.endpoints.enabled-by-default", "name": "management.endpoints.enabled-by-default",
"type": "java.lang.Boolean", "type": "java.lang.Boolean",
...@@ -162,7 +171,10 @@ ...@@ -162,7 +171,10 @@
"OUT_OF_SERVICE", "OUT_OF_SERVICE",
"UP", "UP",
"UNKNOWN" "UNKNOWN"
] ],
"deprecation": {
"replacement": "management.endpoint.health.status.order"
}
}, },
{ {
"name": "management.health.mail.enabled", "name": "management.health.mail.enabled",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment