From 2ea8fe3f58d38ca3300aa4fb098e40ecc710d83d Mon Sep 17 00:00:00 2001 From: luozhenyu Date: Wed, 6 Apr 2022 23:58:09 +0800 Subject: [PATCH] Add a configuration metadata in spring-boot-actuator-autoconfigure The configuration metadata of "management.endpoint.health.probes. add-additional-paths" is missing. Closes gh-30562 --- .../META-INF/additional-spring-configuration-metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index f84df137a23d..6d4fec6af0dc 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -54,6 +54,12 @@ "description": "Whether to enable liveness and readiness probes.", "defaultValue": false }, + { + "name": "management.endpoint.health.probes.add-additional-paths", + "type": "java.lang.Boolean", + "description": "Whether to make the liveness and readiness health groups available on the main server port.", + "defaultValue": false + }, { "name": "management.endpoint.health.show-details", "defaultValue": "never"