without this change we're eagerly resolving placeholder properties in passed URLs / names. Since this happens at bean definition level it's extremely early e.g. Spring Cloud Contract has not yet registered any placeholders that Feign could try to consume.
with this change we're changing the bean to become lazy initialized and we resolve the placeholder values at runtime - as late as possible.
Fixes gh-441.
# Conflicts:
# spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java
# spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsRegistrar.java
* Test to verify sub level client error
Error is described in https://github.com/spring-cloud/spring-cloud-openfeign/issues/331
Application fails when one Feign client is `org.TopClient` and second is in subpackage: `org.sub.SubClient`
The error reason is that `SubClient` is registered twice
* Fix for @EnableFeignClients(clients) scans classes in nested packages twice
https://github.com/spring-cloud/spring-cloud-openfeign/issues/331
(cherry picked from commit fe62b0db90)
# Conflicts:
# spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsRegistrar.java
* delete unused code
(cherry picked from commit 4df865d1d6)
* add file header
* Apply review
Co-authored-by: michal <michal@michal-desktop>
* Implemented ability to provide default query parameters and headers to feign clients.
Issue was mentioned in №284
* Removed wrong names of test data. Replaced with correct ones.
* Thread sleep was repalced with more verbose TimeUnit sleep
* Fixed more names of the clients.
* added support to disable feign parent configurations, fixes gh-132
* added feign context test
* added feign context test class
* fix documentation on feign client
* removed inherit parent setting from annotation gh-132
* fix cherry pick commits gh-132
* add unit test gh-132
* add unit test gh-132