-
Notifications
You must be signed in to change notification settings - Fork 566
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
MP Data source: cannot override using environment variables #1693
Comments
I'll take a look. Related: eclipse/microprofile-config#431 (comment) |
@tomas-langer Looping back to this: is it your opinion that environment variable substitution rules should be housed outside of individual |
@ljnelson - yes, this is done by the environment variable config source (and if you disable it, it should not happen). This also depends on order of config sources (so if your file source is before environment variables source, these rules will not trigger. The method to get config sources is not intended for obtaining properties. You should always use methods on |
Do you know offhand if, in our implementation, the requirement that the set of property names returned by |
Whoops; never closed this; fixed back in September with #2322 |
Environment Details
Problem Description
When using CDI integration for data sources, we cannot override some settings using environment variables.
This is most likely caused by approach (such as in
AbstractDataSourceExtension
line 312) where we iterate through config sources instead of getting the value from config.This approach may miss environment variable rules.
The text was updated successfully, but these errors were encountered: