Skip to Content.
Sympa Menu

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: Wed, 15 Oct 2008 13:16:05 +0200

Hi Chris,

It certainly would be nice if it were possible to set the group type for
grouperLoader when creating a group via the web service. However, if I
only have to set up one group with SQL_GROUP_LIST which will then
generate all the other groups, as you describe in the other thread, then
I needn't necessarily do that from within a program. I would then indeed
just use GSH or the UI.

Quite whether I can use the SQL_GROUP_LIST approach depends largely on
the question of whether users and groups are correctly removed.
Currently I have a problem with this, as mentioned in the other thread.

Regards

Loris


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?
>
> 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
>




Archive powered by MHonArc 2.6.16.

Top of Page