grouper-users - RE: [grouper-users] REST query string
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Jeff McCullough <>
- Cc: "" <>, CalNet Administration <>
- Subject: RE: [grouper-users] REST query string
- Date: Mon, 17 Sep 2012 01:37:15 +0000
- Accept-language: en-US
The WS (or the underlying Grouper API for that matter) doesn’t have a way to do what you describe. I would suggest: 1.
Using LDAP provisioned from WS 2.
–or- Using SQL (using another schema with a grant to grouper_memberships_lw_v) 3.
–or- Getting all the members and do the calculations on the client (probably need caching) 4.
–or- Create all the calculated groups in grouper that you need (might be too many groups) 5.
–or- We can add this to Grouper, though its not as easy as adding paging/sorting, so we would need to discuss the specifics and prioritize with other
enhancements… If anyone on the Grouper team wants to elaborate, feel free. Jeff, sorry this is not what you were hoping for, but let me know how you want to proceed. Thanks, Chris From: Jeff McCullough [mailto:]
You are correct in all points. The client app owners would prefer to use WS. It is fairly easy to compose the target lists into departmental groups, and a subset of those groups can be returned. If filtering, a union of two target lists could be filtered by departmental codes on the fly. There is also the issue
of uniqueness. For example, if the target lists were staff and students, there will be overlap. Jeff On Sep 15, 2012, at 6:35 PM, Chris Hyzer wrote:
Just to be clear on what you are asking… you want to send a filter in to the WS and get a list of members back? e.g. send in: ((STAFF UNION AFFILIATES) INTERSECTION (DEPT_A UNION DEPT_B)) Return the list of members (in pages of 500 at a time)… Is that right? Just curious, is Grouper provisioned to LDAP and an LDAP filter could do this, but you would prefer they used WS? Thanks, Chris From: Jeff
McCullough [] The app is used to send messages to various target lists. For example staff (plus maybe affiliates) in several departments. So it is an AND of the target list(s) and selected departments. The target lists aren't
always the same so the idea is to let grouper create the target list by creating departmental groups within that target list folder. Then the apparently can pick a target list by selecting the members from the appropriate groups/depts within the target list
folder. Chris Hyzer <> wrote: Do you want to get the members who are in any of the groups, or all of the groups (AND or OR)? I don't know what you are expecting it to return... Note the paging is for each group, since there is a separate query for each group. When you do a getMembers for multiple groups, it returns a list for each group... can you call it for one group at a time when paging? :) ok, I have paging/sorting working in the logic, now I need to test more, document, expose in the WS transfer objects, REST/SOAP/WSDL/etc, implement in client, test client, change the configs for a 2.1.3 build, do a build, and put on server... :) Will let you know
If you are downloading all memberss from a group, I worry about paging... I think paging is great for UIs though. A couple of gaps unfortunately... for the params to be in the URL, it has to be a Lite operation, and you can only get members from one group at a time in a Lite getMembers or getMemberships operation. If you want to pass a JSON/XML/XHTML string in the body of the request, you can specify multiple groups. I don't see where there is paging on getMembers or getMemberships... I think we need to add that. |
- Re: [grouper-users] REST query string, (continued)
- Re: [grouper-users] REST query string, Jeff McCullough, 09/13/2012
- RE: [grouper-users] REST query string, Chris Hyzer, 09/13/2012
- RE: [grouper-users] REST query string, Chris Hyzer, 09/14/2012
- Re: [grouper-users] REST query string, Jeff McCullough, 09/14/2012
- RE: [grouper-users] REST query string, Chris Hyzer, 09/14/2012
- Re: [grouper-users] REST query string, Jeff McCullough, 09/14/2012
- RE: [grouper-users] REST query string, Chris Hyzer, 09/14/2012
- RE: [grouper-users] REST query string, Jeff McCullough, 09/14/2012
- RE: [grouper-users] REST query string, Chris Hyzer, 09/15/2012
- Re: [grouper-users] REST query string, Jeff McCullough, 09/16/2012
- RE: [grouper-users] REST query string, Chris Hyzer, 09/16/2012
- Re: [grouper-users] REST query string, Jeff McCullough, 09/17/2012
- RE: [grouper-users] REST query string, Chris Hyzer, 09/17/2012
- RE: [grouper-users] REST query string, Chris Hyzer, 09/21/2012
- Re: [grouper-users] REST query string, Jeff McCullough, 09/26/2012
- Re: [grouper-users] REST query string, Jeff McCullough, 09/14/2012
- Re: [grouper-users] REST query string, Jeff McCullough, 09/13/2012
- Re: [grouper-users] REST query string, Emily Eisbruch, 09/26/2012
Archive powered by MHonArc 2.6.16.