[jboss-jira] [JBoss JIRA] (WFLY-2160) Allow Expression for datasource subsystem enabled property
Brian Stansberry (JIRA)
issues at jboss.org
Thu Mar 5 11:52:49 EST 2015
[ https://issues.jboss.org/browse/WFLY-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046700#comment-13046700 ]
Brian Stansberry commented on WFLY-2160:
----------------------------------------
Further, the fix reads the attribute value and then invokes the "enable" op, which will overwrite the value of the attribute with "true", losing the expression.
The WFLY-2833 fix (https://github.com/wildfly/wildfly/pull/7084) may address some of this; I'm not sure. It too has the problem of resolving expressions in Stage.MODEL though.
> Allow Expression for datasource subsystem enabled property
> ----------------------------------------------------------
>
> Key: WFLY-2160
> URL: https://issues.jboss.org/browse/WFLY-2160
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, JCA
> Affects Versions: 8.0.0.Alpha4
> Reporter: Steven Rose
> Assignee: Stefano Maestri
> Priority: Minor
> Labels: wildfly
> Fix For: 9.0.0.Beta1
>
>
> Currently the datasource sub system does not allow expressions. I would like to be able to do this: <datasource jta="true" jndi-name="java:/ds1DS" pool-name="ds1DS" enabled="${ds1.enabled}" use-java-context="true" use-ccm="true"> and set the ds1.enabled property via a properties file.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list