]
Jeff Mesnil updated WFLY-2798:
------------------------------
Priority: Minor (was: Major)
Operation description does not include runtime-only metadata
------------------------------------------------------------
Key: WFLY-2798
URL:
https://issues.jboss.org/browse/WFLY-2798
Project: WildFly
Issue Type: Feature Request
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: