]
Brian Stansberry moved WFLY-2720 to WFCORE-336:
-----------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-336 (was: WFLY-2720)
Component/s: Domain Management
(was: Domain Management)
Ability for Deployment Overlays to overlay System Properties
------------------------------------------------------------
Key: WFCORE-336
URL:
https://issues.jboss.org/browse/WFCORE-336
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management
Reporter: Joshua Henn
Currently Deployment Overlays allow only the replacing whole resource files. It would be
nice to also be able to overlay System Properties that take precedent over globally
defined properties.
ie.
{code:xml}
<deployment-overlays>
<deployment-overlay name="myOverlay">
<system-properties>
<property name="datasource"
value="java:jboss/datasources/controller"/>
</system-properties>
<deployment name="controller.war"/>
</deployment-overlay>
</deployment-overlays>
{code}
Usecase:
Have two deployments active of the same application, run-time configured by descriptor
replacements via System Properties.