[GLASSFISH-12148] Allow child traversal in GET requests Created: 04/Jun/10  Updated: 18/Oct/12

Status: Open
Project: glassfish
Component/s: rest-interface
Affects Version/s: 3.1
Fix Version/s: future release

Type: Improvement Priority: Minor
Reporter: Jason Lee Assignee: Jason Lee
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 12,148
Tags: ee7ri_cleanup_deferred

 Description   

Currently, when a user requests a certain resource, he gets that resource's attributes and a list of URLs
for child resources (and some other items not relevant here):

curl -f http://localhost:4848/management/domain/resources/admin-object-resource.xml

<entity>
<!-- snip-->
<childResources>
<childResource>http://localhost:4848/management/domain/resources/admin-object-
resource/foo</childResource>
<childResource>http://localhost:4848/management/domain/resources/admin-object-
resource/bar</childResource>
<childResource>http://localhost:4848/management/domain/resources/admin-object-
resource/baz</childResource>
</entity>

In the case of the Admin Console, each of the child resources is then requested in certain cases,
resulting in several network calls. It would be nice, then, to able to get the parent object, plus each
child object, to an arbitrary depth, in a single call. For example:

curl -f http://localhost:4848/management/domain/resources/admin-object-resource.xml?
expandLevel=2

would fetch the admin-object-resource (list), as well as each Admin Object Resource and its attributes.



 Comments   
Comment by Jason Lee [ 13/Jul/10 ]

Updating milestone

Comment by Mitesh Meswani [ 16/Oct/12 ]

Assigning to Jason for triage.

Comment by Tom Mueller [ 18/Oct/12 ]

Marking the fix version field as "future-release". This is based on an evaluation by John, Michael, and Tom WRT to the PRD for the Java EE 7 RI/SDK. This issue was deemed to not be a P1 for that release. If this is in error or there are other reasons why this RFE should be targeted for the Java EE 7 RI/SDK release, then change the fix version field back to an appropriate build.

Generated at Sun Feb 07 04:28:35 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.