]
Jeff Mesnil reassigned WFCORE-1625:
-----------------------------------
Assignee: Jeff Mesnil (was: Brian Stansberry)
Operation description is not complete in :read-resource-description
-------------------------------------------------------------------
Key: WFCORE-1625
URL:
https://issues.jboss.org/browse/WFCORE-1625
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 3.0.0.Alpha2
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
The ouput of :read-resource-description is missing some metadata for operations compared
to :read-operation-description:
{noformat}
[domain@localhost:9990 /] /profile=default:read-resource-description(operations=true)
{
"outcome" => "success",
"result" => {
"description" => "A named set of subsystem
configurations.",
...
"operations" => {
...
"read-attribute-group-names" => {
"operation-name" => "read-attribute-group-names",
"description" => "Gets the names of all the attribute
groups under the selected resource",
"request-properties" => {},
"reply-properties" => {
"type" => LIST,
"value-type" => STRING
}
},
...
}
[domain@localhost:9990 /]
/profile=default:read-operation-description(name=read-attribute-group-names)
{
"outcome" => "success",
"result" => {
"operation-name" => "read-attribute-group-names",
"description" => "Gets the names of all the attribute groups
under the selected resource",
"request-properties" => {},
"reply-properties" => {
"type" => LIST,
"value-type" => STRING
},
"read-only" => true,
"runtime-only" => true
}
}
{noformat}
At least read-only and runtime-only metadata are missing (when they are set on the
operation).