Browse Source

Upgrade Feign. Fixes gh-333.

pull/350/head
Olga Maciaszek-Sharma 5 years ago
parent
commit
21986f5e92
  1. 4
      spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/FeignClientErrorDecoderTests.java
  2. 2
      spring-cloud-openfeign-dependencies/pom.xml

4
spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/FeignClientErrorDecoderTests.java

@ -90,7 +90,9 @@ public class FeignClientErrorDecoderTests { @@ -90,7 +90,9 @@ public class FeignClientErrorDecoderTests {
Map<Method, InvocationHandlerFactory.MethodHandler> dispatch = (Map<Method, InvocationHandlerFactory.MethodHandler>) ReflectionTestUtils
.getField(invocationHandler, "dispatch");
Method key = new ArrayList<>(dispatch.keySet()).get(0);
return ReflectionTestUtils.getField(dispatch.get(key), "errorDecoder");
return ReflectionTestUtils.getField(
ReflectionTestUtils.getField(dispatch.get(key), "asyncResponseHandler"),
"errorDecoder");
}
@Configuration(proxyBeanMethods = false)

2
spring-cloud-openfeign-dependencies/pom.xml

@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
<name>spring-cloud-openfeign-dependencies</name>
<description>Spring Cloud OpenFeign Dependencies</description>
<properties>
<feign.version>10.7.4</feign.version>
<feign.version>10.10.1</feign.version>
<feign-form.version>3.8.0</feign-form.version>
</properties>
<dependencyManagement>

Loading…
Cancel
Save