From bda78f53a5aed01e2f89880792c7a14d81d4721f Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 25 Apr 2016 15:35:56 +0100 Subject: [PATCH] Add metadata manually for health endpoint --- .../META-INF/additional-spring-configuration-metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-cloud-context/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-cloud-context/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 292c16a5..b012db20 100644 --- a/spring-cloud-context/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-cloud-context/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -1,4 +1,10 @@ {"properties": [ + { + "name": "management.health.refresh.enabled", + "type": "java.lang.Boolean", + "description": "Enable the health endpoint or the refresh scope.", + "defaultValue": true + }, { "name": "endpoints.env.post.enabled", "type": "java.lang.Boolean",