[ http://issues.apache.org/jira/browse/MUSE-48?page=all ]

Dan Jemiolo closed MUSE-48.
---------------------------

    Resolution: Incomplete

Have not gotten any contributions on this, and I don't understand why it can't 
be done with a simple QueryRP against the wssg:ServiceGroupEntry property:

ServiceGroupClient sg = new ServiceGroupClient(...);
Node[] results = 
sg.queryResourceProperties("/*/wsrf-sg:ServiceGroupEntry/wsrf-sg:Content/myns:SomePropertyFromYourCapability");
boolean hasCapability = results.length > 0;


Please reopen if there are new ideas or code around this utility.


> Utility for filtering/traversing service groups
> -----------------------------------------------
>
>                 Key: MUSE-48
>                 URL: http://issues.apache.org/jira/browse/MUSE-48
>             Project: Muse
>          Issue Type: Improvement
>          Components: WSRF WSSG ServiceGroup
>    Affects Versions: 2.0.0 M1
>            Reporter: Dan Jemiolo
>         Assigned To: Dan Jemiolo
>            Priority: Minor
>
> (This was originally part of a larger request made by Balan Subramanian)
> Feature for traversing service groups for resources that implement a 
> particular capability. This function will use the content property specified 
> for each service group entry to determine whether it implements the specified 
> capability. It will also recurse through contained service groups. This 
> function can be added to a WssgUtils class.
> Comment by Dan: I think this should be implemented using the wssg:Content 
> property and filtering based on these values - this aligns with the WSRF 
> programming model and would reuse as much existing infrastucture as possible.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to