Skip to content

Conversation

@mwestphall
Copy link
Contributor

Remove all COManage-facing code from the projectmap generation script. Instead, get user and group information from LDAP and OSPool project information from topology. Marked as do-not-merge until we resolve some data misalignments between topology and COManage:

https://opensciencegrid.atlassian.net/browse/INF-1060

williamnswanson and others added 12 commits November 27, 2023 16:05
Uses LDAP search to find active and provisioned groups then compares them to the list project groups in COmanage to determine which LDAP groups and users to build the map out of.
And clean up of no-longer-used methods

remove collections import
Writes the osggids to project name dict to a file containing the epoch time the cache was made. If the file is found to exist and was made in the past 0.5 hours (by default), the program will read from the cache instead of making COmanage API calls. Otherwise, the program will get the project data from the API and overwrite any existing cache.
Uses LDAP search to find active and provisioned groups then compares them to the list project groups in COmanage to determine which LDAP groups and users to build the map out of.
And clean up of no-longer-used methods

remove collections import
Writes the osggids to project name dict to a file containing the epoch time the cache was made. If the file is found to exist and was made in the past 0.5 hours (by default), the program will read from the cache instead of making COmanage API calls. Otherwise, the program will get the project data from the API and overwrite any existing cache.
@mwestphall mwestphall force-pushed the INF-1060-member-removals branch from 8f05ba7 to f5fc575 Compare November 20, 2025 00:08
@mwestphall mwestphall force-pushed the INF-1060-member-removals branch from f5fc575 to e3677da Compare November 20, 2025 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants