Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.7.1
-
None
Description
using the following apache-deltaspike.properties
some-service-url=${edge-server-url}/some-service edge-server-url=undefined edge-server-url.Development=http://development:8081 edge-server-url.Staging=http://staging:8081 edge-server-url.Production=http://prod:8081
and executing the following code:
System.out.println("some-service-url="+ConfigResolver.getProjectStageAwarePropertyValue("some-service-url"));
having the following java VM arg set:
-Dorg.apache.deltaspike.ProjectStage=Staging
should result in the output:
some-service-url=http://staging:8081/some-service
I have already contributed a bug fix for DELTASPIKE-1167 - unfortunately that didn't fully solve the issue.
I plan to provide a fix for this soon. [UPDATE] patch added
Attachments
Attachments
Issue Links
- is a clone of
-
DELTASPIKE-1167 deltaspike configuration: Variable Replacement in Configured Values is NOT (!) stage aware
- Closed
- links to