deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Suter <>
Subject ProjectStage config key with just uppercase letters and '_'
Date Wed, 09 Mar 2016 09:20:31 GMT

We have been having problems setting the ProjectStage for our Application
with the available keys via environment variable when deploying the
Application to Cloud Foundry. This is because environment variables with a
"." do not seem to get passed to the application. We need to set the
ProjectStage via environment variable because we do not want our build to
be platform dependent.

I would suggest to add a key for the initial lookup of the ProjectStage
that only contains uppercase letter and '_' like 'DELTASPIKE_PROJECT_STAGE'
in which would
ensure portability.

Currently available keys to set the ProjectStage:
* These config keys will get used to detect the ProjectStage.
* We iterate through them until we find the first non-empty value.
public static final String[] CONFIG_SETTING_KEYS =
//TODO discuss it

Thanks for taking a look at this.

- Patrick

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message