Looking for some quick advice on orchestration.
If I have the following set of spaces for each environment where consumer points to packages in the models and dimensions, models point to packages in dimensions and sources, and dimensions points to packages in sources…
- TEST-Consumer
- TEST-Model X
- TEST-Model N
- TEST-Dimensions
- TEST-Sources
- ~~~~~~~~~~~~~~~
- PROD-Consumer
- PROD-Model X
- PROD-Model N
- PROD-Dimensions
- PROD-Sources
…and I want to do a promotion of content from TEST to PROD in that all spaces model/data/reporting contents get swapped and everything is repointed correctly to the packages in its own environment.
What is the ideal minimal set of steps with swapspacecontents, swapspaceforpackages, repointpackages, etc. to accomplish this?
I'm just trying to avoid too much playing around since the docs are a bit unclear to me.
The initial thought is to do swapspaceforpackages on each space and then repoint each space - is there a better way?
Thanks!