From 44c63798b042187255161fdc3ce4a9b286ec9973 Mon Sep 17 00:00:00 2001 From: spencergibb Date: Fri, 9 Jul 2021 14:47:28 -0400 Subject: [PATCH 1/2] rollback to 3.0.x versions --- pom.xml | 4 ++-- spring-cloud-openfeign-dependencies/pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index a02c03d6..d24c3c9b 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ org.springframework.cloud spring-cloud-build - 3.1.0-SNAPSHOT + 3.0.4-SNAPSHOT @@ -26,7 +26,7 @@ ${basedir} 2.11.3 - 3.1.0-SNAPSHOT + 3.0.4-SNAPSHOT 2.10 diff --git a/spring-cloud-openfeign-dependencies/pom.xml b/spring-cloud-openfeign-dependencies/pom.xml index 74f36a40..8b7a9892 100644 --- a/spring-cloud-openfeign-dependencies/pom.xml +++ b/spring-cloud-openfeign-dependencies/pom.xml @@ -6,7 +6,7 @@ spring-cloud-dependencies-parent org.springframework.cloud - 3.1.0-SNAPSHOT + 3.0.4-SNAPSHOT spring-cloud-openfeign-dependencies From 6aeb1ff6767a0a6440c5dc0ef2dac203c4bcf810 Mon Sep 17 00:00:00 2001 From: ManasviGoyal <55101825+ManasviGoyal@users.noreply.github.com> Date: Wed, 21 Jul 2021 15:51:21 +0530 Subject: [PATCH 2/2] Added Tip (#580) --- docs/src/main/asciidoc/spring-cloud-openfeign.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index b59ecfff..c27783a9 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -70,6 +70,11 @@ in your external configuration using https://cloud.spring.io/spring-cloud-static Spring Cloud OpenFeign supports all the features available for the blocking mode of Spring Cloud LoadBalancer. You can read more about them in the https://docs.spring.io/spring-cloud-commons/docs/current/reference/html/#spring-cloud-loadbalancer[project documentation]. +TIP: To use `@EnableFeignClients` annotation on `@Configuration`-annotated-classes, make sure to specify where the clients are located, for example: +`@EnableFeignClients(basePackages = "com.example.clients")` +or list them explicitly: +`@EnableFeignClients(clients = InventoryServiceFeignClient.class)` + [[spring-cloud-feign-overriding-defaults]] === Overriding Feign Defaults