NASA-PDS / registry-sweepers

Scripts that run regularly on the registry database, to clean and consolidate information
Apache License 2.0
0 stars 1 forks source link

implement multitenancy support #122

Open alexdunnjpl opened 2 months ago

alexdunnjpl commented 2 months ago

🗒️ Summary

Wraps all instances of 'registry' and 'registry-refs' with a resolution function which returns an altered string iff env var MULTITENANCY_NODE_ID is set to a non-empty value

⚙️ Test Data and/or Report

Manually tested in the empty-value case. Tested in DEV MCP against registry-en-delta

♻️ Related Issues

fixes #120 related to #60

alexdunnjpl commented 2 months ago

Currently being tested on MCP - image has been pushed to ECR but need ECS settings to continue.

alexdunnjpl commented 1 month ago

tested in DEV MCP against registry-en-delta

alexdunnjpl commented 3 weeks ago

Converting to draft as there will be additional refactoring as a result of some of the lessons learned from the en->aoss migration