[jboss-jira] [JBoss JIRA] (WFCORE-336) Ability for Deployment Overlays to overlay System Properties
Brian Stansberry (JIRA)
issues at jboss.org
Tue Mar 1 18:44:00 EST 2016
[ https://issues.jboss.org/browse/WFCORE-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170505#comment-13170505 ]
Brian Stansberry commented on WFCORE-336:
-----------------------------------------
If WildFly full's ee subsystem is configured, WildFly supports using deployment specific properties in expression resolution. The properties are read from file META-INF/jboss.properties, if present. So using file overlays for that file should provide something pretty close to the requested functionality.
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list