Skip to content

[REQ] Remove url parameter from feign client #4525

@crash007

Description

@crash007

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions