[jboss-jira] [JBoss JIRA] (WFCORE-119) Add resolve-expressions param to operation read-resource

RH Bugzilla Integration (JIRA) issues at jboss.org
Mon Nov 28 10:07:00 EST 2016


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

RH Bugzilla Integration commented on WFCORE-119:
------------------------------------------------

Fedor Gavrilov <fgavrilo at redhat.com> changed the Status of [bug 1079197|https://bugzilla.redhat.com/show_bug.cgi?id=1079197] from NEW to CLOSED

> Add resolve-expressions param to operation read-resource
> --------------------------------------------------------
>
>                 Key: WFCORE-119
>                 URL: https://issues.jboss.org/browse/WFCORE-119
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: CLI, Domain Management
>            Reporter: Michael Voegele
>            Assignee: Joe Wertz
>              Labels: expression, read-resource
>             Fix For: 1.0.0.Alpha9
>
>
> When reading a resource remotely, it would be nice to have the possibility to have expressions resolved.
> Following does of course not work, as the code runs in a separate jvm.
> {code:java}
> private void readRecursive(ModelNode modelNode, String modelNodeName, Map<String, Object> map) {
>    switch (modelNode.getType()) {
>    ...
>    case EXPRESSION:
>    // this would be great but won't work as it runs in a different jvm
>    // ModelNode expression = modelNode.resolve();
>    // readRecursive(expression, modelNodeName, map);
>    map.put(modelNodeName, modelNode.asString());
>    break;
>    ...
> }
> {code}
> Therefore a param resolve-expressions for the read-resource operation would be good.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list