There are multiple issues with the support of Environment variables as a configuration with Wildfly-Swarm applications
1) In Linux based containers dot (.) is not supported in an environment variable name.
2) In Linux based containers dash is not supported in an environment variable name. In fact, I see only [a-zA-Z0-9_] as supported.
3) Typically ENV variables are defined in ALL CAPS letters, these should be mapped to their lowercase counterparts.
For example, see Spring Boot's RelaxedBinding of configuration: https://github.com/spring-projects/spring-boot/wiki/Relaxed-Binding-2.0
I understand there is a way to map these with JAVA_OPTIONS through current examples, however, I found that, while working with Teiid, it is cumbersome/time-consuming to depend solely on defining JAVA_OPTIONS to define all the properties. For example, in Teiid we have to configure many data sources that are provisioned through a Service Catalog and it's binding in OpenShift environment. Having a better environment variable support will alleviate these issues. Note that these issues are not isolated to just Teiid but apply in general for any application.