(INF-2987) Create script to mass import users into CO Manage Registry from files#29
Open
williamnswanson wants to merge 13 commits intomasterfrom
Open
(INF-2987) Create script to mass import users into CO Manage Registry from files#29williamnswanson wants to merge 13 commits intomasterfrom
williamnswanson wants to merge 13 commits intomasterfrom
Conversation
Also remove old commented out version
…d COmanage schema add EOF newline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Takes a file with a list of maps of key:value pairs and creates a CO Person record in the COmanage Registry (along with CO Roles, CO Group Memberships, SSH Keys, Unix cluster accounts and groups, ect)
The script doesn't currently have a way to know what parts of the mapping file should be used for what attributes of what type of record, so the
build_co_person_record()function will need to be modified to suit the specific import you're trying to do, what data you have for the users, ect.