-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
As the cloud relies more on container env vars than system properties, we should allow for transparent resolution of expressions
from env vars as well as the current system property mechanism.
For example, if I have the following xml
<element some-attribute="${test.my-property:default}"/>
At present you need to start the server with -Dtest.my-property=hello (or via a model entry for the property) to replace the value at runtime.
This RFE proposes that if the env var TEST_MY_PROPERTY=hola is set when starting the server, we use the value of the environment variable.
To keep this similar to how MP Config does the same thing, the system property will take precedence over the environment variable if defined.
- is blocked by
-
DMR-45 Resolve env variables without requiring a env. prefix
- Resolved
- is documented by
-
WFLY-14899 Document: Add environment variables as a source for model expression resolution
- Closed
- is incorporated by
-
WFCORE-5562 Upgrade JBoss DMR 1.6.1.Final
- Closed
- relates to
-
ELY-2389 Consistent expression resolution with WildFly
- Resolved