grouper-users - RE: [grouper-users] Grouper Import-Export and managing objects
Subject: Grouper Users - Open Discussion List
List archive
- From: Sean Mason <>
- To: Chris Hyzer <>, Julio Polo <>
- Cc: "" <>
- Subject: RE: [grouper-users] Grouper Import-Export and managing objects
- Date: Wed, 16 Dec 2015 20:55:32 +0000
- Accept-language: en-CA, en-US
Is there a way to feed gsh a list of commands similar to something like the Postgres client?
Something like gsh < commands.txt Or gsh% executeCommands(“/some/dir/gsh_commands.txt”); I could use this as a way to build group definitions and assign attributes that would become the loader definitions, and then just run those command collections
on the various instances. I don’t see any examples or documentation like this, but maybe I’ve missed something. I have seen similar examples in the grouperClient documentation about testing that suggests perhaps that may be the way to go? Thanks, From: Chris Hyzer [mailto:]
He wants something to copy the loader settings which are attributes of groups… Thanks, Chris From: Julio Polo []
I am not familiar with loader groups, so maybe someone else can chime in. Maybe the Grouper loader feature can take care of creating the stems and groups you want. Instead of writing gsh scripts, you might
just need to promote new loader settings to the other Grouper environments. Again, I'm not familiar with the loader, so this is just speculation on my part. -julio On Wed, Dec 16, 2015 at 4:25 AM, Sean Mason <> wrote: I’ve replied to ‘all’, as some posts to the list haven’t gotten through over the past couple of days. Thank you for your feedback. It was not my intention to move memberships or subject references between
instances, only stems and loader groups. It makes sense that one would create processes that create and maintain those structures instead to prepare target environments. What is the most popular and practical way to develop those processes? GSH scripts?
(Can GSH be passed a script?) Use of the Grouper Client? Some other means? Thank you, Sean. From: Julio Polo [mailto:]
Thanks Chris, but it was indeed the permissions and attributes that were difficult to export/import. The other stuff was relatively easy to code. I think it would definitely be helpful to provide an option to import/export only the objects that fall under a parent folder, and to use group ID path and subject ID/Identifier instead
of UUIDs (maybe export them as wsSubjectLookup and wsGroupLookup?). Another useful option would be to assume that we do not want to create the subjects or groups that are members of the groups being imported/exported; assume they exist if they are not under
that parent folder. Going back to Sean's original question on how to perform this type of object management, I can only say that we do not move data across environments. We develop subsystems for each type
of group (e.g. registration groups, curriculum groups, faculty groups, etc.) and we promote the subsytem code rather than the data through dev, test and production. The groups/objects are then created by the code in each environment. If we were to move
objects (such as memberships), we'd need to make sure that data across dev, test and prod be in sync, and that's not usually true (for dev, at least) -julio On Tue, Dec 15, 2015 at 11:33 AM, Chris Hyzer <> wrote:
|
- [grouper-users] Grouper Import-Export and managing objects, Sean Mason, 12/14/2015
- Re: [grouper-users] Grouper Import-Export and managing objects, Julio Polo, 12/15/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Chris Hyzer, 12/15/2015
- Re: [grouper-users] Grouper Import-Export and managing objects, Julio Polo, 12/15/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Sean Mason, 12/16/2015
- Re: [grouper-users] Grouper Import-Export and managing objects, Julio Polo, 12/16/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Chris Hyzer, 12/16/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Sean Mason, 12/16/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Chris Hyzer, 12/16/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Sean Mason, 12/16/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Chris Hyzer, 12/16/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Chris Hyzer, 12/16/2015
- Re: [grouper-users] Grouper Import-Export and managing objects, Julio Polo, 12/16/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Sean Mason, 12/16/2015
- Re: [grouper-users] Grouper Import-Export and managing objects, Julio Polo, 12/15/2015
- RE: [grouper-users] Grouper Import-Export and managing objects, Chris Hyzer, 12/15/2015
- Re: [grouper-users] Grouper Import-Export and managing objects, Julio Polo, 12/15/2015
Archive powered by MHonArc 2.6.16.