-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Feature Request: Add system:properties and system:env as sources #110
Labels
Comments
👍 Good idea. |
lviggiano
added a commit
that referenced
this issue
May 6, 2016
#110 add system properties and enviroment variable as sources
Hmm... that commit doesn't seem to do very much? |
ahh ok... the close activity just looked weird because it only referenced the last commit. Sorry about that. |
No problem; myself would have been confused as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to be able to specify system properties and/or environment variables as one potential source for properties in addition to files, especially when using the MERGE load type. Mainly I want to be able to conveniently override default values with system parameters.
Currently it is easy to add ALL system properties or environment variables to a config object. But I'd like to be able to specify the system as one potential source, rather than bloating my config object with everything.
Currently this can be done with a utility class, which checks if a property is in the config object before including new properties from the system. But it would be great if this was supported natively.
Specifically, I would like to be able to do something like the following.
In this case I would like the properties to be taken first from system properties, other from environment variables, otherwise from ~/myconfig.properties, etc.
The text was updated successfully, but these errors were encountered: