Harald Pehl created WFCORE-631:
----------------------------------
Summary: 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
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@localhost:9990 /] batch
[domain@localhost:9990 / #] /server-group=*/deployment=*:read-resource
[domain@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@localhost:9990 /] batch
[domain@localhost:9990 / #] /server-group=*/deployment=*:read-resource
[domain@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)