Variable references can be also resolved from environment variables - #25541
Merged
arjantijms merged 2 commits intoJun 13, 2025
Merged
Conversation
Contributor
|
You need to merge this and rebase unless Apache fixes the download: #25542 |
OndroMih
force-pushed
the
ondromih-variables-from-env-vars
branch
from
June 7, 2025 13:35
a6b5642 to
13153de
Compare
Contributor
Author
|
Rebased on current master. |
MP Config rules apply - by default, resolves from sys props, then from env vars, then from evn vars with _ for non-alphanum chars, then from env vars with upper case. org.glassfish.variableexpansion.envvars.disabled system property disables this and allows only resolving from sys props as before. org.glassfish.variableexpansion.envvars.preferred system property changes the priority - values are resolved first from env vars and then from sys props
OndroMih
force-pushed
the
ondromih-variables-from-env-vars
branch
from
June 8, 2025 18:29
13153de to
251d999
Compare
Contributor
Author
|
Rebased again, to get the fix for Gjule. |
arjantijms
approved these changes
Jun 13, 2025
bvfalcon
pushed a commit
to bvfalcon/eclipse-glassfish
that referenced
this pull request
Apr 25, 2026
âĶs-from-env-vars Variable references can be also resolved from environment variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Variable references in the configuration, e.g.
${my.var}, can be resolved from environment variables if not in system properties.MP Config rules apply - by default, resolves from sys props, then from env vars,
then from evn vars with _ for non-alphanum chars, then from env vars with upper case.
org.glassfish.variableexpansion.envvars.disabledsystem property disables this and allows only resolving from sys props as before.org.glassfish.variableexpansion.envvars.preferredsystem property changes the priority - values are resolved first from env vars and then from sys props