From 77cdd40f7dc5201dfa92e4d0d57d2ca8c6ebc693 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Tue, 2 Oct 2018 13:07:19 -0400 Subject: [PATCH] Add missing properties to additional-spring-configuration-metadata. Fixes #61 --- ...itional-spring-configuration-metadata.json | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/spring-cloud-openfeign-core/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-cloud-openfeign-core/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 169dee56..9a6ed67a 100644 --- a/spring-cloud-openfeign-core/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-cloud-openfeign-core/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -4,8 +4,30 @@ "name": "feign.hystrix.enabled", "type": "java.lang.Boolean", "description": "If true, an OpenFeign client will be wrapped with a Hystrix circuit breaker.", - "sourceType": "org.springframework.cloud.openfeign.FeignClientsConfiguration", "defaultValue": "false" + }, + { + "name": "feign.httpclient.enabled", + "type": "java.lang.Boolean", + "description": "Enables the use of the Apache HTTP Client by Feign.", + "defaultValue": "true" + }, + { + "name": "feign.okhttp.enabled", + "type": "java.lang.Boolean", + "description": "Enables the use of the OK HTTP Client by Feign.", + "defaultValue": "false" + }, + { + "name": "feign.compression.response.enabled", + "type": "java.lang.Boolean", + "description": "Enables the response from Feign to be compressed.", + "defaultValue": "false" + }, + { + "name": "feign.compression.request.enabled", + "type": "java.lang.Boolean", + "description": "Enables the request sent by Feign to be compressed.", + "defaultValue": "false" } -], "hints": [ ]}