[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

Brian Stansberry (JIRA) issues at jboss.org
Wed May 18 16:33:00 EDT 2016


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

Brian Stansberry commented on WFCORE-1558:
------------------------------------------

[~harald.pehl] The issue is the read-children-names and read-children-resources handlers are not based on AbstractMultiTargetHandler. So xyz=* shouldn't work at all for them, but instead of fixing this by having them fail, we might as well make them based on AbstractMultiTargetHandler and give them the better behavior.

> 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