[jboss-jira] [JBoss JIRA] (AS7-4258) Add option to :read-resource to only get the base attributes, but nothing at lover levels

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Apr 13 20:28:47 EDT 2012


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

Brian Stansberry updated AS7-4258:
----------------------------------

    Fix Version/s: 7.2.0.Alpha1

    
> 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
>              Labels: rhq
>             Fix For: 7.2.0.Alpha1
>
>
> 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