grouper-users - Re: [grouper-users] Renaming a group using web services
Subject: Grouper Users - Open Discussion List
List archive
- From: Julio Polo <>
- To: "Hyzer, Chris" <>
- Cc: "" <>
- Subject: Re: [grouper-users] Renaming a group using web services
- Date: Fri, 23 Mar 2018 11:15:27 -1000
- Ironport-phdr: 9a23:jG2uvBBlPMvkSXDbyN4VUyQJP3N1i/DPJgcQr6AfoPdwSPT5o8bcNUDSrc9gkEXOFd2Cra4c0KyO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUijexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoINTA5/mHZhMJzkaxVvg6uqgdlzILIeoyYLuZycr/fcN4cWGFPXtxRVytEAo6ka4UPEu4BPedfr4LgvVUOqh++BQ6xD+7oyD9Im3v23aw90+k6EQHJxgIhEMgPsHTVttn6KrodUf2swaTO0D7NYfRW2TLn54jJdBAsufCMXbRsccXP00kvER3KjkmOpYD/ITyay/kNv3Ca7+pmSeKglXQnqwdvrTiz2MsgkJPFiZwIxVDZ8yhy3YU7JcWgRUJlYNOoDJlduiSUN4Z1WcwuX2RltSkmxrEapJK2eTQFxIgmyhPabvGLbZaE7QzlWe2MOzl3nmhld6i6hxuq8Uiv1On8Vs6s3VZPtCVFk93MumkM1xzU9sSLU/R88lm/1TmRzQzT5eZEIUc7larfNZEt2KI/lp0WsUjbHy/2nlv5jLOOe0k6++Wk9+bqb7DoppKfLIB4lgTzP6sylsCjHOg1NxQBU3Sa9Om50bDv41P1T6tSgv0ziKbZsZTaJcoBpq6+Bg9YyoQj6wu7Dzen19QVhnkHI0hLeR2djojpOkvCL+7lAveim1isiitkx+jaPr39BZXANnfDkK3mfbZg805T1hAzwclC55JPFL4BOunzV1T1tNzZFR85Lxe0z/j9BNV80IMeRXyAArWfMKzMrV+E+PgjLPeRa48I637BLK1vx+/8gGV90XQdZ6iyl9NDbXu4D+ZrOW2YenGqn88MF2FMswYjGr/EklqHBBxOY3e1F5o74jZzXIC7CYbEboCkn7WA3WG2EoAANTMOMUyFDXq9L9bMYPwLci/HesI=
I spoke too soon. There's still a problem after the rename. No alternate is created, but only the displayExtension changed. The extension still has the original value.
I tried omitting <name> as shown below, but it still doesn't change the extension, only the displayExtension:
<WsGroupToSave>
<wsGroupLookup>
<groupName> a:b:c:oldName </groupName>
</wsGroupLookup>
<wsGroup>
<extension> newName </extension>
<displayExtension> newName </displayExtension>
</wsGroup>
I tried omitting <name> as shown below, but it still doesn't change the extension, only the displayExtension:
<WsGroupToSave>
<wsGroupLookup>
<groupName> a:b:c:oldName </groupName>
</wsGroupLookup>
<wsGroup>
<extension> newName </extension>
<displayExtension> newName </displayExtension>
</wsGroup>
</WsGroupToSave>
Is there a WS call to delete the alternate name?
-julio
On Fri, Mar 23, 2018 at 9:56 AM, Julio Polo <> wrote:
-julioThanks Chris!After (no alternate):It was creating an alternate name, but since you mentioned changing an extension, I figured it out and modified the way I called WsRestGroupSaveRequest:Before (created alternate; I was expecting the API to figure out that it was the same folder and rename instead of move):
<WsGroupToSave>
<wsGroupLookup>
<groupName> a:b:c:oldName </groupName>
</wsGroupLookup>
<wsGroup>
<name> a:b:c:newName </name>
</wsGroup>
</WsGroupToSave>
<WsGroupToSave>
<wsGroupLookup>
<groupName> a:b:c:oldName </groupName>
</wsGroupLookup>
<wsGroup>
<name> a:b:c:oldName </name>
<extension> newName </extension>
<displayExtension> newName </displayExtension>
</wsGroup>
</WsGroupToSave>On Wed, Mar 21, 2018 at 5:40 AM, Hyzer, Chris <> wrote:I think changing an extension is not considered a move. Does it create an alternate name by default?
We should add alternate name in the WS api for 2.4... I created a jira
https://bugs.internet2.edu/jir
a/browse/GRP-1717
Thanks
Chris
From: <> on behalf of Julio Polo <>
Sent: Thursday, March 15, 2018 11:06 PM
To:
Subject: [grouper-users] Renaming a group using web servicesI want to use web services to rename a group without creating the alternate group name. To do that, this page says that I have to pass the 9th parameter moveAssignAlternateName as false:Since I'm using XML, it sounds like I have to provide the preceding 8 parameters before I can provide the 9th parameter, but many of those 8 parameters only make sense if I'm copying or moving. Is renaming a group treated as moving a group?
https://spaces.internet2.edu/display/Grouper/Group+Save
If I'm renaming a group to a different name without changing folders (e.g. rename a:b:c:oldName to a:b:c:newName), what values should I provide for those first 8 parameters if I want to minimize unnecessary changes?
Alternately, is there a WS call to delete the alternate group name after renaming a group?
-julio
Julio Polo
Information Technology Services
University of Hawaii
- [grouper-users] Renaming a group using web services, Julio Polo, 03/16/2018
- Re: [grouper-users] Renaming a group using web services, Hyzer, Chris, 03/21/2018
- Re: [grouper-users] Renaming a group using web services, Julio Polo, 03/23/2018
- Re: [grouper-users] Renaming a group using web services, Julio Polo, 03/23/2018
- Re: [grouper-users] Renaming a group using web services, Shilen Patel, 03/26/2018
- Re: [grouper-users] Renaming a group using web services, Julio Polo, 03/27/2018
- Re: [grouper-users] Renaming a group using web services, Shilen Patel, 03/27/2018
- Re: [grouper-users] Renaming a group using web services, Julio Polo, 03/27/2018
- Re: [grouper-users] Renaming a group using web services, Shilen Patel, 03/26/2018
- Re: [grouper-users] Renaming a group using web services, Julio Polo, 03/23/2018
- Re: [grouper-users] Renaming a group using web services, Julio Polo, 03/23/2018
- Re: [grouper-users] Renaming a group using web services, Hyzer, Chris, 03/21/2018
Archive powered by MHonArc 2.6.19.