[jboss-jira] [JBoss JIRA] (WFCORE-1625) Operation description is not complete in :read-resource-description

Jeff Mesnil (JIRA) issues at jboss.org
Tue Jun 28 11:53:00 EDT 2016


Jeff Mesnil created WFCORE-1625:
-----------------------------------

             Summary: 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: Brian Stansberry


The ouput of :read-resource-description is missing some metadata for operations compared to :read-operation-description:


{noformat}
[domain at 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 at 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).



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


More information about the jboss-jira mailing list