Browse Source

Upgrade to Feign 12.0. (#782)

pull/788/head
Olga Maciaszek-Sharma 2 years ago committed by GitHub
parent
commit
a410fd1d10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/FeignClientFactoryTests.java
  2. 2
      spring-cloud-openfeign-dependencies/pom.xml

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

@ -31,7 +31,7 @@ import org.junit.jupiter.api.condition.JRE; @@ -31,7 +31,7 @@ import org.junit.jupiter.api.condition.JRE;
import org.springframework.boot.test.context.assertj.AssertableApplicationContext;
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
import org.springframework.cloud.client.loadbalancer.LoadBalancerProperties;
import org.springframework.cloud.client.loadbalancer.LoadBalancerClientsProperties;
import org.springframework.cloud.loadbalancer.blocking.client.BlockingLoadBalancerClient;
import org.springframework.cloud.loadbalancer.config.LoadBalancerAutoConfiguration;
import org.springframework.cloud.loadbalancer.support.LoadBalancerClientFactory;
@ -99,7 +99,7 @@ public class FeignClientFactoryTests { @@ -99,7 +99,7 @@ public class FeignClientFactoryTests {
@Bean
BlockingLoadBalancerClient loadBalancerClient() {
return new BlockingLoadBalancerClient(new LoadBalancerClientFactory(), new LoadBalancerProperties());
return new BlockingLoadBalancerClient(new LoadBalancerClientFactory(new LoadBalancerClientsProperties()));
}
@Bean

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>11.10</feign.version>
<feign.version>12.0</feign.version>
<feign-form.version>3.8.0</feign-form.version>
</properties>
<dependencyManagement>

Loading…
Cancel
Save