]
Ken Wills commented on WFCORE-1558:
-----------------------------------
[~harald.pehl] do you have any concerns if we change the return values for this? (Let me
know if you need more info, or we can chat in hipchat).
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"]
}
]
}