[jboss-jira] [JBoss JIRA] (AS7-4258) Add option to :read-resource to only get the base attributes, but nothing at lover levels
Heiko Rupp (JIRA)
jira-events at lists.jboss.org
Thu Mar 22 09:15:48 EDT 2012
Heiko Rupp created AS7-4258:
-------------------------------
Summary: Add option to :read-resource to only get the base attributes, but nothing at lover levels
Key: AS7-4258
URL: https://issues.jboss.org/browse/AS7-4258
Project: Application Server 7
Issue Type: Feature Request
Components: Domain Management
Affects Versions: 7.1.1.Final
Reporter: Heiko Rupp
Assignee: Brian Stansberry
I want to read the release-name, release-version, name attributes . Either I need to 3 times call :read-attribute or I can use :read-resource.
But :read-resource returns a lot more
[standalone at localhost:9999 /] :read-resource(recursive-depth=0)
{
"outcome" => "success",
"result" => {
"management-major-version" => 1,
"management-minor-version" => 1,
...
},
"deployment" => {"test-distributed.war" => undefined},
"extension" => {
"org.jboss.as.ejb3" => undefined,
...
},
"interface" => {
"unsecure" => undefined,
"public" => undefined,
"management" => undefined
},
"socket-binding-group" => {"standard-sockets" => undefined},
"subsystem" => {
"jca" => undefined,
which is all not needed and just needs to be transferred over the wire and parsed on clients
It would be good to have an option "base-only" that restricts :read-resource to the resource itself and does not show children information
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list