[jboss-jira] [JBoss JIRA] (WFLY-2612) The CLI should support property substitution for names of elements and not only for parameters
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Thu Dec 5 06:55:06 EST 2013
[ https://issues.jboss.org/browse/WFLY-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky resolved WFLY-2612.
-------------------------------------
Resolution: Duplicate Issue
> The CLI should support property substitution for names of elements and not only for parameters
> ----------------------------------------------------------------------------------------------
>
> Key: WFLY-2612
> URL: https://issues.jboss.org/browse/WFLY-2612
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: CLI
> Affects Versions: 8.0.0.Beta1
> Reporter: Tom Fonteyne
> Assignee: Alexey Loubyansky
> Priority: Minor
>
> My customer is using client side substitution in the CLI
> jboss-cli.xml:
> <resolve-parameter-values>true</resolve-parameter-values>
> This works fine for example with:
> /subsystem=datasources/data-source=oracleDS:add(connection-url=jdbc:oracle:thin:@server:1521:ora1, jndi-name=java:/jboss/${name}, driver-name=oracle)
> The "name" is provided in a property file at the command line for jboss-cli.sh
> This request is to extend this behaviour to allow for example:
> /subsystem=datasources/data-source=${datasourcename}:add(connection-url=jdbc:oracle:thin:@server:1521:ora1, jndi-name=java:/jboss/${name}, driver-name=oracle)
> In other words, have the actual element name be substituted as well based on a property value
> We know the easy workaround is to use bash embedded cli script, so the ${datasourcename} can be provided by a bash variable but it would be nice if the CLI could do that.
--
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