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

Jeff Mesnil (JIRA) issues at jboss.org
Thu Jun 30 08:00:00 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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 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