Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Large scale template use

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Large scale template use

Chronological Thread 
  • From: "Black, Carey M." <>
  • To: "Hyzer, Chris" <>, Richard Frovarp <>, " Mailing List" <>
  • Subject: RE: [grouper-users] Large scale template use
  • Date: Wed, 24 Apr 2019 14:37:32 +0000


Thanks for that unexpected feature.
I agree it will be useful to be able to programmatically create
and/or invoke a template with GSH for grouper admins. :)

Given your caveat about "GSH needs to be run from a UI directory"...
It also sounds like their may be other code not present in
the API/WS directories that would be needed to make templates work in those
environments. If so then that is unfortunate. I was thinking maybe a Hook
could "make assumptions about the inputs into a template" (maybe by user, or
some other logic in the hook) and trigger a template as part of an
API/WebService event processing.
Yet, I doubt that could work in the current condition. (
Maybe another enhancement idea?)

Carey Matthew

-----Original Message-----
<> On Behalf Of Hyzer, Chris
Sent: Tuesday, April 23, 2019 3:38 PM
To: Richard Frovarp <>;
Mailing List <>
Subject: RE: [grouper-users] Large scale template use

Triggering templates was not possible with GSH but I made a patch that lets
you do it. GSH needs to be run from a UI directory. You need patch:

Hope this helps.


-----Original Message-----
<> On Behalf Of Richard Frovarp
Sent: Tuesday, April 23, 2019 12:24 PM
To: Mailing List <>
Subject: Re: [grouper-users] Large scale template use


Thanks, that helps out quite a bit. We were further discussing after I
sent the message and realized that using Selenium with the template
wizard wouldn't help us going forward with new apps. We had considered
using WS. Most of what we need created would be by external systems,
rather than by people. But in case we do have to hand create something
to fix or change something we've screwed up prior, using the hooks looks
to be quite nice. We can have our external system do the WS call to get
the hook to fire. Given our deployment methods, updating hooks would
also be cleaner that updating a large batch of WS calls in other systems.


On 4/22/19 5:36 PM, Black, Carey M. wrote:
> Richard,
> If you are targeting a "big bang cutover" then I think you likely just need
> to walk your "applications" and "create structures in Grouper" with
> WebServices (WS) calls. And copy the memberships too.
> The WebServices calls can do anything a user can do with the UI. (
> Well, basic functions are all there. AKA : Create/update/delete: group,
> folder, etc...)
> I don't expect that a wizard could/would be triggered by a WS call.
> But I could be wrong.
> NOTE: If you are referring to
> ( by "application template" ) then you could develop such a template for
> user's to manually create new applications after conversion.
> Or you could write UI hooks (REF:
> ) too.
> Example: A new folder is created "here" (or named "foo-*",
> etc...) and you create sub structures, establish access controls, etc.. for
> the user.
> Your choice between a "wizard" and "hooks" likely depends on your
> taste/style/functionality needs.
> A wizard would be for a "Ask a human questions and get
> variable outputs/responses."
> A Hook would be more for a "see 'X', then do 'Y'" kind of
> responses. (NOTE: hooks can be triggered by UI, Web Services and/or GSH[AKA
> API] events.
> HTH.

Archive powered by MHonArc 2.6.19.

Top of Page