grouper-users - Re: [grouper-users] Grouper Web Services - Find Members
Subject: Grouper Users - Open Discussion List
List archive
- From: Julio Polo <>
- To: Grouper-Users <>
- Subject: Re: [grouper-users] Grouper Web Services - Find Members
- Date: Wed, 14 Nov 2018 10:45:29 -1000
- Ironport-phdr: 9a23:45J/IRXs2Ju6FUVsAzxO8Ohob6LV8LGtZVwlr6E/grcLSJyIuqrYbBWOt8tkgFKBZ4jH8fUM07OQ7/i/HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9wIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W7YhMx/jqJVrhyiqRJi3YDbfJqYO+Bicq7HZ94WWXZNU8RXWidcAo28dYwPD+8ZMOhcson9o1oOrRyjDge2A+PvzjhIjWLx0K04zuQhFQDG3As7EtIOqnvVos/6NKYTUeyv0qbH0CjDYupQ1Dzg5obIdRUhruuNXbJ2acfRyE8vFx/bgVWKr4zqIS+V2voXv2eF8uVgSPqji2EmqwFtojiv29wjhpPViYISz1DJ8zhyzoUtJdCgVkJ2YMKoHZlVuiGUNIZ5Wd8uTmRntSs5y7ALtpu2cDYWxJkiwhPTduKLfoyO7xn+TuieOy14i2hgeL+nhxa970ygyurkW8mxyllKry5FnsDNtnARyhDf88eGRuZj8kqlwzqP2AfT6uZLIUAwi6XXMYIuwrk1lpYLsETDGDH5mFnugaOId0go5uql5uHpYrjlvZCQK4p5hw79P6kvlcGyBPo0PhQLUmWe5Oiwyrnu8VX8QLpQj/02lqfZsIrdJcQevqO5ARJV0oIi6xa4FDqm0M4XnHcdI1JEeRKLlZbmNEzTIPzgF/ewn0yskCt3x/DBJrDhDY/NLn/ekLf5Y7l98VdQyBcozd9B/ZJUEaoMIPbyWk/qqNzYFQE1Pxa1w+bhFNVyyJkeWWSRDa+FLq/eq0GH6f8yI7rEWIhAlyz6NuAo/bvTlnIjghdJcrOuwIMacjWlBfl8OG2YZ2bhmNEMDT1MswYjGr/EklqHBBxOY3e1F5o74jZzXIC7CYbEboCkn7WA3WG2EoAANTMOMUyFDXq9L9bMYPwLci/HesI=
<WsGroupLookup>
<groupName>etc:uiUsers</groupName>
</WsGroupLookup>
<searchString>foo</searchString>
<subjectAttributeNames>
<string>name</string>
</subjectAttributeNames>
</WsRestGetSubjectsRequest>
The filtering that Michael wants to perform is along the lines of "show only the members of the group whose name, ID or identifier contain a particular string." I doubt that getMembers or getMemberships offer anything like that. They both offer pagination and filtering by type of membership, subject source, etc. but I don't see anything that would filter based on membership's subject's attributes. Am I wrong? If not, how can the membership subject attribute search be performed without cycling through every member of the group returned by getMembers or getMemberships?-julioOn Wed, Oct 31, 2018 at 9:23 AM Hyzer, Chris <> wrote:I would look at “get members” first, and if you don’t have everything you need, then “get memberships”. thanks
From: <> On Behalf Of Michael Hodges
Sent: Wednesday, October 31, 2018 2:47 PM
To:
Cc: Grouper Users <>
Subject: Re: [grouper-users] Grouper Web Services - Find Members
Hello Carey,
The use-case is a UI providing the presentation of a list of direct members, 20 per page. Initially all of the members were retrieved and pagination with and without filtering was done only on the UI side. That worked until the team encountered a group of 30k+ direct members, which triggered timeout issues and/or excessive UI delays. Redesign work now involves investigating how to move pagination and filtering to the server.
I'll have the team take a look at memberships, thanks.
TMI: the context is our UH Groupings project: <https://github.com/uhawaii-system-its-ti-iam/uhgroupings>.
On Wed, Oct 31, 2018 at 2:27 AM Black, Carey M. <> wrote:
Michael,
Can you describe what they are trying to do? ( Not just the API calls they are trying to use, and what they want them to do.)
The reason I ask is that “Members” may not be what they are really after. ( They may actually be after “Memberships”. )
--
Carey Matthew
From: <> On Behalf Of Michael Hodges
Sent: Tuesday, October 30, 2018 9:41 PM
To: Grouper Users <>
Subject: [grouper-users] Grouper Web Services - Find Members
The service doesn't exist, but while working with a student team implementing an application that makes Grouper calls, this is the web service that they anticipated:
o Find Members - featuring filtering and pagination and sort
Get Subjects appears to be the best-fit available service, but then we would have to write custom pagination.
Are we reading the information correctly?
Recommendations?
We note that Grouper handles pagination along with subject filtering, so reading Grouper's source code is an option that has been recommended to the team. However, thought I'd check and see if there's any advice available.
Thanks for any advice,
- Michael
- Re: [grouper-users] Grouper Web Services - Find Members, Julio Polo, 11/14/2018
Archive powered by MHonArc 2.6.19.