When the mappings are updated on the Data Integration Service, run sanity tests to verify that mappings run successfully.
Set up continuous integration to perform the following integration operations:
1. Verify that deployed mappings run successfully.
To verify that deployed mappings run successfully, perform the following tasks:
To run deployed mappings, use the REST API
Run a deployed mapping
or the command
infacmd ms runMapping
.
Run sanity tests based on organizational requirements. For example, if you automate integration tasks using a script in a third-party tool, you can write test cases to read the data in the mapping target and verify that the mapping output is correct.
2. Assign tags to mark mappings that require additional changes.
To mark mappings that require additional changes, pass the tag
RequiresChanges
to the REST API
Assign tags to design-time objects
or to the command
infacmd dis tag
.
You can also remove the tag
DeploymentInProgress
from the mappings that require changes. Pass the tag
DeploymentInProgress
to the REST API
Remove tags from design-time objects
or to the command
infacmd dis untag
.
3. Assign tags to approve mappings that ran successfully.
To approve mappings that ran successfully, pass the tag
ReadyForDelivery
to the REST API
Replace repository object tags
or to the command
infacmd dis replaceAllTag
. The REST API request or the infacmd command replaces all tags that are assigned to the mapping with the tag