Parent group mapping
Summary
Expand upon existing .com group migration to allow additional subgroups to be mapped between the uppermost group name (the organization or company) and the existing groups.
Migrate groups from:
/Group/Subgroup/Project
to
/Organization/Business_unit/Group/Subgroup/Project
Design
An additional file will need to be generated, or provided, so when groups are being migrated, we can append the existing groups to the new parent groups. Here is where we're currently appending the top-most parent group ID. Additional functionality will need to be added to first traverse the mapping file and generate the new intermediary groups. Once the groups are generated, the IDs per group need to be stored as well. It might be easier to store this in a nested dictionary (or if we can get some form of database integrated before we need to roll this feature out, that would also be cool) but I'm not sure since the total size of the expected mapping file is not known