[jboss-jira] [JBoss JIRA] (WFCORE-631) Wildcard operation inside composite is missing address node

ehsavoie Hugonnet (JIRA) issues at jboss.org
Mon Apr 13 04:54:20 EDT 2015


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

ehsavoie Hugonnet commented on WFCORE-631:
------------------------------------------

This seems to be fixed in WFCORE-Beta4 as I can't reproduce it anymore :
{code:title=WildFly 9 with WFCORE Beta4|borderStyle=solid}
ehsavoie at mjollnir:~/dev/wildfly/wildfly/dist/target/wildfly-9.0.0.CR1-SNAPSHOT/bin$ ./jboss-cli.sh -c
[domain at localhost:9990 /] batch
[domain at localhost:9990 / #] /server-group=*/deployment=*:read-resource
[domain at localhost:9990 / #]  run-batch --verbose
{
    "outcome" => "success",
    "result" => {"step-1" => {
        "outcome" => "success",
        "result" => [{
            "address" => [
                ("server-group" => "main-server-group"),
                ("deployment" => "app.war")
            ],
            "outcome" => "success",
            "result" => {
                "enabled" => true,
                "name" => "app.war",
                "runtime-name" => "app-0.1-SNAPSHOT-b1.war"
            }
        }]
    }}
}
{code}

> Wildcard operation inside composite is missing address node
> -----------------------------------------------------------
>
>                 Key: WFCORE-631
>                 URL: https://issues.jboss.org/browse/WFCORE-631
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Harald Pehl
>            Assignee: Brian Stansberry
>            Priority: Blocker
>
> The result of a composite operation which contains a {{read-resource}} operation with wildcards is missing the {{address}} node. 
> {code:title=WildFly 9|borderStyle=solid}
> [domain at localhost:9990 /] batch
> [domain at localhost:9990 / #] /server-group=*/deployment=*:read-resource
> [domain at localhost:9990 / #] run-batch --verbose
> {
>     "outcome" => "success",
>     "result" => {"step-1" => {
>         "outcome" => "success",
>         "result" => [{
>             "address" => undefined,
>             "outcome" => undefined,
>             "result" => {
>                 "enabled" => false,
>                 "name" => "jboss-as-login.war",
>                 "runtime-name" => "jboss-as-login.war"
>             }
>         }]
>     }},
>     "server-groups" => undefined
> }
> {code}
> {code:title=WildFly 8.2.0|borderStyle=solid}
> [domain at localhost:9990 /] batch
> [domain at localhost:9990 / #] /server-group=*/deployment=*:read-resource
> [domain at localhost:9990 / #] run-batch --verbose
> {
>     "outcome" => "success",
>     "result" => {"step-1" => {
>         "outcome" => "success",
>         "result" => [{
>             "address" => [
>                 ("server-group" => "main-server-group"),
>                 ("deployment" => "test-application.war")
>             ],
>             "outcome" => undefined,
>             "result" => {
>                 "enabled" => false,
>                 "name" => "test-application.war",
>                 "runtime-name" => "test-application.war"
>             }
>         }]
>     }},
>     "server-groups" => undefined
> }
> {code}
> Executing the {{read-resource}} op itself yields the same result for WildFly 8.2.0.Final and 9



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list