From f5ee8b4810dadd931158b9b948e96869437f2af7 Mon Sep 17 00:00:00 2001 From: luozhenyu Date: Wed, 6 Apr 2022 23:58:09 +0800 Subject: [PATCH] Add the missing configuration metadata for "management.endpoint. health.probes.add-additional-paths" in spring boot actuator autoconfigure. 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"