[jboss-jira] [JBoss JIRA] (WFLY-2720) Ability for Deployment Overlays to overlay System Properties

Stuart Douglas (JIRA) issues at jboss.org
Fri Jan 10 06:27:32 EST 2014


    [ https://issues.jboss.org/browse/WFLY-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934929#comment-12934929 ] 

Stuart Douglas commented on WFLY-2720:
--------------------------------------

I doubt we could do this with 'System properties' as such, as system properties are global and not per-deployment. Potentially we could do this just for property replacement in descriptors. 
                
> Ability for Deployment Overlays to overlay System Properties
> ------------------------------------------------------------
>
>                 Key: WFLY-2720
>                 URL: https://issues.jboss.org/browse/WFLY-2720
>             Project: WildFly
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Joshua Henn
>             Fix For: 8.0.0.Final
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list