[
https://issues.jboss.org/browse/AS7-5950?page=com.atlassian.jira.plugin.s...
]
Heiko Braun commented on AS7-5950:
----------------------------------
Eventually a simple "scope" parameter would do the job:
- "scope=full": returns everything, acts as default (backwards compat)
- "scope=attr": just the attributes, like described above
- "scope=foo": just bar
Streamline :read-resource-description
-------------------------------------
Key: AS7-5950
URL:
https://issues.jboss.org/browse/AS7-5950
Project: Application Server 7
Issue Type: Feature Request
Components: Domain Management
Reporter: Heiko Braun
Assignee: Brian Stansberry
Fix For: 7.2.0.CR1
We have a need for a streamlined read-resource-description operation response. In many
cases we only need the attribute descriptions and from those descriptions only a subset of
the meta data available.
For instance:
{noformat}
"enable-statistics" => {
"type" => BOOLEAN,
"description" => "Whether statistics should be
enabled.",
"expressions-allowed" => true,
"nillable" => true,
"default" => false,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
}
{noformat}
Clients that require information about the structure don't need:
- access-type
- storage
- restart-required
In many cases we don't even need
- operations
- children
Would it be possible to further parametrize the read-resource-description operation to
allow these distinctions? This would help to reduce the overall payload size when clients
communicate with the DC and improve thus improve the overall performance. Not to mention
parsing greatly benefits from a streamlined model as well.
--
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