grouper-users - RE: [grouper-users] Grouper-WS: Problem saving group type and retrieving group details
Subject: Grouper Users - Open Discussion List
List archive
RE: [grouper-users] Grouper-WS: Problem saving group type and retrieving group details
Chronological Thread
- From: Loris Bennett <>
- To: Chris Hyzer <>
- Cc: Grouper Users Mailing List <>
- Subject: RE: [grouper-users] Grouper-WS: Problem saving group type and retrieving group details
- Date: Thu, 16 Oct 2008 15:28:55 +0200
On Tue, 2008-10-14 at 10:42 -0400, Chris Hyzer wrote:
> Hey,
>
> Thanks in advance for all your patience here. Unfortunately storing the
> group detail is not implemented yet. Yes, that is confusing. This is on
> my
> list of to do's, and Im not sure when that will be done. Hopefully for
> 1.4, but not sure. Is it a priority for you?
I have just realized that storing the group detail is quite important
for us after all, even if we do use SQL_GROUP_LIST. The reason is that
for each folder in the hierarchy I would like to generate the following
groups:
blacklist
whitelist
manual (composite: whitelist - blacklist)
auto (via grouperloader)
all (composite: auto + manual)
For the two composite groups I would have to be able to set the group
detail, wouldn't I?
Until this feature is available, I suppose that I could use gsh,
although this would be a bit of a hack as I would have to generate a
gsh-script with all the full group names required to populate the whole
hierarchy with the composite groups.
Xmas isn't too far off, so along with grouperLoaderGroupListPattern
maybe I can add group details to my wishlist.
Thanks
Loris
> https://wiki.internet2.edu/confluence/display/GrouperWG/Grouper+-+Web+Services
> To do's: "persist group detail when saving groups (including attributes)"
>
> Are you up and running with GSH? This is an easy way to assign a group
> type to a group, and add the grouper loader attributes. Or the UI could be
> used
> as well.
>
> https://wiki.internet2.edu/confluence/display/GrouperWG/Grouper+-+Web+Services
>
> I have some GSH commands for making a grouper loader group here:
>
> https://wiki.internet2.edu/confluence/display/GrouperWG/Grouper+-+Loader
>
> group=getGroups("aStem:aGroup2")
> groupAddType("aStem:aGroup2", "grouperLoader")
> setGroupAttr("aStem:aGroup2", "grouperLoaderDbName", "grouper")
> setGroupAttr("aStem:aGroup2", "grouperLoaderType", "SQL_SIMPLE")
> setGroupAttr("aStem:aGroup2", "grouperLoaderScheduleType",
> "START_TO_START_INTERVAL")
> setGroupAttr("aStem:aGroup2", "grouperLoaderQuery", "select SUBJECT_ID,
> SUBJECT_SOURCE_ID from agroup2_v")
> setGroupAttr("aStem:aGroup2", "grouperLoaderIntervalSeconds", "30")
>
> Kind regards,
> Chris
>
> > -----Original Message-----
> > From: Loris Bennett
> > [mailto:]
> > Sent: Tuesday, October 14, 2008 5:50 AM
> > To: Grouper Users Mailing List
> > Subject: [grouper-users] Grouper-WS: Problem saving group type and
> > retrieving group details
> >
> > Hi,
> >
> > I am trying to create a group via the web services interface which is
> > of
> > the type "groupLoader" (which I have already set up via gsh).
> >
> > Should I be able to set the type by using setTypeName from
> > WsGroupDetail
> > and then setDetail from WsGroup? The group is created, but the type
> > name
> > information seems to be ignored. I was expecting that the box for the
> > type groupLoader would be ticked.
> >
> > I thought perhaps I was making some error in specifying the type name,
> > but I also cannot retrieve the list of name types for an existing
> > group.
> > Although I use setIncludeGroupDetail("T"), localDetail in the results
> > is
> > null.
> >
> > Any help would be much appreciated.
> >
> > Regards,
> >
> > Loris
> > --
> > Dr. Loris Bennett
> > Computer Centre
> > Freie Universität Berlin
> > Berlin, Germany
>
- Grouper-WS: Problem saving group type and retrieving group details, Loris Bennett, 10/14/2008
- RE: [grouper-users] Grouper-WS: Problem saving group type and retrieving group details, Chris Hyzer, 10/14/2008
- RE: [grouper-users] Grouper-WS: Problem saving group type and retrieving group details, Loris Bennett, 10/15/2008
- RE: [grouper-users] Grouper-WS: Problem saving group type and retrieving group details, Loris Bennett, 10/16/2008
- RE: [grouper-users] Grouper-WS: Problem saving group type and retrieving group details, Chris Hyzer, 10/14/2008
Archive powered by MHonArc 2.6.16.