Export/Import/Retire Models via Utility
- Navigate to
<MMG_PACK>OFS_MMG/binand execute in the following format:./model_pipeline_utility.sh IMPORT TARGET_WORKSPACE LOGIN_USER LOCALE FILE_NAME OBJECTIVE_ID OVERWRITE_FLAGTable 11-30 Fields and icons on the Sandbox Summary page
Field Description Import Command to import the Model into Workspace Workspace The name of the Workspace to which you are importing the Model Login_User The logged in user name. Locale The application language preferences For example: en_US
File_name The file name with the following format: Workspace name_Model ID_Model version.zip
For example:
CS_1638105398036_0.zipObjective_ID The ID of the objective. Note:
For the OVERWRITE_FLAG, you enter the input as Y, the utility imports the models in the approved status.If you enter as N, the models are imported but not in the approved status.
To export the models, perform the following steps:Prerequisite:Before you export, ensure the Models and Drafts are available in the UI / setup.- Navigate to <MMG_PACK>OFS_MMG/bin and execute in the
following format:
./model_pipeline_utility.sh MODEL EXPORT WORKSPACE_NAME LOGIN_USER LOCALE MODEL_ID MODEL_VERSION [v]Table 11-31 Fields and icons on the Sandbox Summary page
Field Description Export Command to export the Model from the Workspace Workspace The name of the Workspace from which the model is exported Login_User The logged in user name. Locale The application language preferences.
For example: en_US
Model ID The Model ID Model Version The version of the Model
Note:
Currently, if the user gives Production Workspace name during the import of model dump through the utility, the utility migrates the dump to the Production Workspace as well. This should be restricted, as the models in sandbox may or may not be promoted, and the invalid status will be shown in the Production Workspace.Before you retire, ensure the Models are in the published state.- Navigate to <MMG_PACK>OFS_MMG/bin and execute in the
following format:
./model_pipeline_utility.sh MODEL RETIRE WORKSPACE_NAME LOGIN_USER LOCALE MODEL_ID MODEL_VERSION [v]Table 11-32 Fields and icons on the Sandbox Summary page
Field Description Retire Command to retire the Model. Workspace The name of the Workspace from which the model is exported Login_User The logged in user name. Locale The application language preferences.
For example: en_US
Model ID The Model ID Model Version The version of the Model
Note:
Currently, if the user gives Production Workspace name during the import of model dump through the utility, the utility migrates the dump to the Production Workspace as well. This should be restricted, as the models in sandbox may or may not be promoted, and the invalid status will be shown in the Production Workspace. - Navigate to <MMG_PACK>OFS_MMG/bin and execute in the
following format: