]
Alexey Loubyansky commented on WFLY-2612:
-----------------------------------------
This is already supported.
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: