Skip to content

Environment variables behaving differently within Quarkus extensions? #44663

Answered by radcortez
Tomnivore asked this question in Q&A
Discussion options

You must be logged in to vote

When you have something like QUARKUS_REST_CLIENT_MY_CLIENT_URL, where MY_CLIENT is a dynamic name, we cannot reliably determine only with this information if MY_CLIENT should be my-client (dash), my.client (dot), or even my_client (underscore): https://quarkus.io/guides/config-reference#environment-variables

Now, the REST Client config did work without having to declare the dotted version because it was just querying all possible combinations, which is not a desired behavior. See:

Because we didn't want to remove that behaviour, we added some proper support for it with:

Such extensions like quarkus-rest-client-oidc-filter or quarks-lo…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Tomnivore
Comment options

Answer selected by Tomnivore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants