Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy openfeign bean registration #455

Merged
merged 2 commits into from
Jan 13, 2021
Merged

Commits on Jan 12, 2021

  1. Lazy openfeign bean registration

    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.
    
    problems:
    - one of the tests uses the factory bean - there's no more factory bean since the instance supplier for the bean registration acts as one.
    marcingrzejszczak committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    be8646a View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2021

  1. Added tests

    marcingrzejszczak committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    624ad04 View commit details
    Browse the repository at this point in the history