[jboss-jira] [JBoss JIRA] (WFCORE-1558) read-children-names on server-group deployments returns empty list, when it should just DTRT and return a list

Ken Wills (JIRA) issues at jboss.org
Tue May 17 18:06:00 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Wills updated WFCORE-1558:
------------------------------
    Summary: read-children-names on server-group deployments returns empty list, when it should just DTRT and return a list  (was: read-children-names on server-group deployments returns empty list, when it should probably fail.)


> read-children-names on server-group deployments returns empty list, when it should just DTRT and return a list
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1558
>                 URL: https://issues.jboss.org/browse/WFCORE-1558
>             Project: WildFly Core
>          Issue Type: Bug
>            Reporter: Ken Wills
>            Assignee: Ken Wills
>
> Using a wildcard :read-children-names on deployments returns an empty list, when it should probably just return an error, or the right answer ;)
> See OperationContextImpl.readResourceFromRoot for /server-group=*
> The OSHs are based on AbstractMultiTargetHandler.
> Output should be something like:
> {
>     "outcome" => "success",
>     "result" => [
>         {
>             "address" => [("server-group" => "main-server-group")],
>             "outcome" => "success",
>             "result" => ["simple-servlet.war"]
>             }
>         },
>         {
>             "address" => [("server-group" => "other-server-group")],
>             "outcome" => "success",
>             "result" => 
>             "result" => ["simple-servlet.war"]
>         }
>     ]
> }



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list