From b27ea537babb313ba6e7661d6a451b5a49e16883 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Tue, 2 Oct 2018 14:19:17 -0400 Subject: [PATCH] Adding additional-spring-configuration-metadata with additional properties. Fixes #522 --- ...itional-spring-configuration-metadata.json | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 spring-cloud-gateway-core/src/main/resources/META-INF/additional-spring-configuration-metadata.json diff --git a/spring-cloud-gateway-core/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-cloud-gateway-core/src/main/resources/META-INF/additional-spring-configuration-metadata.json new file mode 100644 index 00000000..c67b417b --- /dev/null +++ b/spring-cloud-gateway-core/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -0,0 +1,22 @@ +{ + "properties": [ + { + "name": "spring.cloud.gateway.enabled", + "type": "java.lang.Boolean", + "description": "Enables gateway functionality.", + "defaultValue": "true" + }, + { + "name": "spring.cloud.gateway.forwarded.enabled", + "type": "java.lang.Boolean", + "description": "Enables the ForwardedHeadersFilter.", + "defaultValue": "true" + }, + { + "name": "spring.cloud.gateway.metrics.enabled", + "type": "java.lang.Boolean", + "description": "Enables the collection of metrics data.", + "defaultValue": "false" + } + ] +} \ No newline at end of file