Property based url configurable at runtime in AOT/ native (#827)

This commit is contained in:
Olga Maciaszek-Sharma
2023-02-14 16:21:56 +01:00
committed by GitHub
parent da159123d4
commit 54a6a56b36
4 changed files with 55 additions and 4 deletions

View File

@@ -925,6 +925,7 @@ TIP: If you want to run Spring Cloud OpenFeign clients in AOT or native image mo
TIP: If you want to run Spring Cloud OpenFeign clients in AOT or native image modes, ensure `spring.cloud.openfeign.lazy-attributes-resolution` has not been set to `true`.
TIP: However, if you set the `url` value via properties, it is possible to override the `@FeignClient` `url` value by running the image with `-Dspring.cloud.openfeign.client.config.[clientId].url=[url]` flag. In order to enable overriding, a `url` value also has to be set via properties and not `@FeignClient` attribute during buildtime.
== Configuration properties