[jboss-jira] [JBoss JIRA] (WFLY-2798) Operation description does not include runtime-only metadata

Jeff Mesnil (JIRA) issues at jboss.org
Thu Jan 23 05:16:30 EST 2014


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

Jeff Mesnil updated WFLY-2798:
------------------------------

    Issue Type: Enhancement  (was: Feature Request)

    
> Operation description does not include runtime-only metadata
> ------------------------------------------------------------
>
>                 Key: WFLY-2798
>                 URL: https://issues.jboss.org/browse/WFLY-2798
>             Project: WildFly
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>    Affects Versions: 8.0.0.CR1
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>            Priority: Minor
>
> Operation can be defined as runtime-only by setting the OperationEntry.Flag.RUNTIME_ONLY flag on its definition.
> However, the :read-operation-description does not return this flag when it is set.
> For example the global read-attribute operation is flagged as runtime only but calling /subsystem=mail:read-operation-description(name=read-attribute) will not show that the operation is runtime only:
> {noformat}
> /subsystem=mail:read-operation-description(name=read-attribute)
> {
>     "outcome" => "success",
>     "result" => {
>         "operation-name" => "read-attribute",
>         "description" => "Gets the value of an attribute for the selected resource",
>         "request-properties" => {
>             ...
>         },
>         "reply-properties" => {
>             "type" => OBJECT,
>             "description" => "The value of the attribute. The type will be that of the attribute found"
>         },
>         "read-only" => true
>     }
> }
> {noformat}
> Note that the read-only flag is correctly returned.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list