Remove url parameter from feign client. When the url parameter is present the feign client doesnt use the "name" to do a lookup in eureka. To enable Eureka lookup you need to remove the url parameter.
When using Feign with Eureka I have to manually remove url from
@FeignClient(name="${service.name:beaconService}", url="${service.url:http://localhost}", configuration = ClientConfiguration.class) public interface CustomResourceApiClient extends CustomResourceApi { }
Describe the solution you'd like
An option to genererate the client without url parameter
The genererated client should not have the url parameter any more.
Remove url parameter from feign client. When the url parameter is present the feign client doesnt use the "name" to do a lookup in eureka. To enable Eureka lookup you need to remove the url parameter.
When using Feign with Eureka I have to manually remove url from
@FeignClient(name="${service.name:beaconService}", url="${service.url:http://localhost}", configuration = ClientConfiguration.class) public interface CustomResourceApiClient extends CustomResourceApi { }Describe the solution you'd like
An option to genererate the client without url parameter
The genererated client should not have the url parameter any more.