Deploy a model edition
This page explains how to deploy a new model edition or update an existing one in a data location.
Once the initial model edition is deployed, subsequent model editions can be deployed using the same mechanism. This mechanism allows for:
-
Updating the deployed model edition with the latest changes performed in an open model edition.
-
Deploying a new closed model version to either a production or test environment.
-
Reverting a deployed model edition to a previous edition.
Deploying open model editions is only possible in a development data location. |
Deploy a model edition
To deploy a model edition:
-
In the Management view, expand the Data Locations node.
-
Right-click the data location node, and select Deploy Model Edition.
-
Save any unsaved editors if prompted.
-
In the Deploy Model Edition wizard, select the model edition you want to deploy.
-
Ensure the Generate Jobs Definition option is selected to generate new integration jobs.
-
Select the Clear API Enricher Caches option to force the deletion of the enricher caches.
-
Click Next.
xDM computes changes required for the data location to support the new model edition. A second page displays the SQL script to execute on the schema for deploying this model edition. -
Click Finish to run the script and close the wizard.
The deployment process initiates jobs before executing the SQL script to create or modify database objects. You can monitor the progress in the Console view at the bottom of Application Builder.
Once the new model edition is deployed, the previous deployment will be visible under the Deployment History node within the data location.
Deploying a model edition does not alter existing data within the data location. |
While it is typically advised to update both jobs and schemas simultaneously, there are scenarios where you might prefer to update the data structure first and delay job updates. |
Deploying a model edition in a data location that requires an upgrade is not possible. |
When deploying a model edition, Semarchy scans the database objects in the data location schema and identifies any that require creation or modification. If you intend to create database objects like indexes in the data location schema, ensure their names are prefixed with USR_ to prevent them from being removed or overwritten during model deployment.
|
Deployment history
After several deployments, you might want to manage your deployment history by cleaning it up.
To delete deployment history records:
-
In the Management view, expand the Deployment History node under the data location.
-
Select one or multiple deployments (hold down Shift to select multiple options).
-
Right-click and select Delete.
The selected deployment history records are deleted.
The deployment history can also be purged via a REST API call. For more information, see Manage data hubs with the REST API. |