[jboss-as7-dev] RFC: read-children-resources

Heiko Braun hbraun at redhat.com
Tue Mar 22 10:50:51 EDT 2011



https://issues.jboss.org/browse/JBAS-9110


On Mar 22, 2011, at 3:08 PM, Brian Stansberry wrote:

> On 3/22/11 6:37 AM, Heiko Braun wrote:
>> 	
>> I realized one drawback with current API.
>> In order to fetch all sever groups, I need to get the list of sever group names first,
>> and for each group request the resource (N+1).
>> 
>> In order to reduce the number of requests necessary to fetch resources like
>> server groups, host, etc, I would suggest we add another generic operation that would be similar to read-children-names:
>> 
>> :read-children-resource(child-type=<name>)
>> 
>> It should return a list of resource representations that are children of<name>
>> 
>> Does it make sense?
>> 
> 
> Sure. Please file a JIRA, Fix Version Beta2 or 3, priority whatever you 
> feel is appropriate -- i.e. we'll do it when you want ;-)
> 
> 
> -- 
> Brian Stansberry
> Principal Software Engineer
> JBoss by Red Hat
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev





More information about the jboss-as7-dev mailing list