-
Notifications
You must be signed in to change notification settings - Fork 22
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
Provided ConfigSource for file system properties file #7
Comments
+1 I think a good way for externalized configuration On Linux, we are already locations as |
one way how DeltaSpike treats this http://deltaspike.apache.org/documentation/configuration.html#_propertyfileconfig |
I just brainstormed a few possible solutions. I'm especially trying to see the topic from a user's perspective (not just an Expert Group member or implementer). I see a few considerations:
I see the latter as a challenge. If we load from From a user's perspective it would be nice and perfectly descriptive to take the name of the artifact name as filename, similar to the Servlet context names. That is, the configuration location for an app hello-acme.jar would be In this week's call, we briefly mentioned
|
My expectation for this feature would be to centralize and share some configuration between applications (e.g. different deployed microservices could load their config from the same properties file). I'd only support I agree with the |
We should add a 4th provided ConfigSource for a properties files that resides in the file system --
additionally to the classpath. Examples are locations such as
/etc/javaconfig/
or~/.javaconfig/
. In order to support both Windows and Unix systems the default path to the properties file (whatever may chosen) should be configured, e.g. using a environment variable.The text was updated successfully, but these errors were encountered: