Move configuration between environments
Outcome. A version worked out and proven in one environment, usually a sandbox, arrives in another as a Draft, is reviewed there against that environment's own live values, and is taken live through the same route as any change. Who takes part: Configuration administrator in the source and the target, System administrator, Data management consultant. How often: each time configuration is promoted.
Versions travel, not live parameters. An import cannot approve a version and cannot change an approved one, so the target environment gets the same review as the source did.
1. Prove the version in the source (Configuration administrator)
Take the version through Make a configuration change in the source environment first. Its name is the key it is matched by in the target, so keep it stable.
Done when: the version is approved and published in the source, and you have confirmed it there.
2. Give the account access (System administrator)
Import, export and OData access come from data-entity privileges that are in no shipped role. They go in a role of your own, for the accounts that move configuration and nobody else.
- I want to grant the data entity privileges to the people who move configuration
- I want to get the access to move configuration
Done when: in both environments, the account that exports and imports holds the version entity and values entity privileges for each module it moves, and sees the Ballast entities in Data management.
3. Export the version (Data management consultant)
Each module has a version entity and a values entity for each table it covers. A module set up per company exports from the company the project runs in.
- I want to find the entities for one module
- I want to export a version
- I want to know which settings do not travel
Done when: the data package holds the module's version entity and every one of its values entities, filtered on the version's Name.
4. Import it (Data management consultant)
Import the version entity at a lower level than its values entities, so the version exists before its values arrive. In a module set up per company, import once into each company that should have the version.
- I want to import a version into another environment
- I want to import a version into several companies
- I want to check that an import landed
Done when: the import finished without errors and the version is in the target as a Draft. A configuration administrator in the target can confirm the Imported event in Configuration audit.
5. Review it against the target's live values (Configuration administrator)
The target's live values may not be the source's, and settings that do not travel keep the target's own value. Compare shows what this version would change here; set any setting that should differ on the draft.
Done when: Compare lists only what you meant to move.
6. Approve and publish in the target (Configuration administrator)
- I want to set the dates and approve a version
- I want to publish a change now
- I want to confirm a change landed
Done when: the run shows Success, and Configuration audit in the target shows the Imported, Approved and Published events for the version.
If something goes wrong
- The Ballast entities are not in Data management: I want to see the Ballast entities in Data management.
- A values row is refused: I want to fix a values row that was refused.
- A billing type default is refused with "Field 'Line property' must be filled in.": I want to add a billing type default that the import refused.
- The import tries to change a version that is already approved: I want to change a version that is already Approved.
- The import is refused because the module is turned off: I want to import into a module that is turned off.