[
https://issues.jboss.org/browse/WFLY-2367?page=com.atlassian.jira.plugin....
]
Alexey Loubyansky commented on WFLY-2367:
-----------------------------------------
Right, this is not supported. Property resolution is currently supported only for
parameters, which is disabled by default and is enabled in jboss-cli.xml by setting
resolve-parameter-values element to true, which as the name implies affects only operation
parameter/command argument values.
Just to note, even if properties get supported in other places of the command line, the
effects of resolve-parameter-values element should not change since it's a choice in
which VM the resolution should take place for the parameter values. While in case of the
address, for example, it clearly has be resolved before the operation is sent.
Enable full property substitution in .cli file when using CLI to
configure resource adapter
-------------------------------------------------------------------------------------------
Key: WFLY-2367
URL:
https://issues.jboss.org/browse/WFLY-2367
Project: WildFly
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: CLI
Affects Versions: No Release
Environment: EAP 6.1
Reporter: Van Halbert
Assignee: Alexey Loubyansky
Not sure if this has be rectified, but in EAP 6.1, when using the --properties option
when calling jboss-cli.sh, not all properties defined in the .cli script are substituted
for. In this case, its the name of the resource adapter. Example:
/subsystem=resource-adapters/resource-adapter=${ra.name}:add(module=org.jboss.teiid.resource-adapter.ldap)
The ${ra.name} is what is found in the standalone.xml after running the script.
--
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