summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/run.py
diff options
context:
space:
mode:
authordavsad <david.sadlier@est.tech>2021-09-01 07:57:45 +0100
committerMichael Morris <michael.morris@est.tech>2021-09-10 14:01:15 +0000
commita6fd5e3c0145b6d7fe3d9e77dd2a3d8ba98774b4 (patch)
treee4d8aa4b145f8ee580b7614bbdb2715213417dcd /catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/run.py
parent009d2b3cfe2d27abd79f47aa076849786327654a (diff)
ETSI SOL001 v2.5.1 model types not deployed in upgrade
Issue-ID: SDC-3707 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: If1bda517a9295ad380bf4e5e2fc35f15a1ff708e
Diffstat (limited to 'catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/run.py')
-rw-r--r--catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/run.py b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/run.py
index 41437707aa..39e802bf87 100644
--- a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/run.py
+++ b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/run.py
@@ -25,7 +25,7 @@ def main(sdc_be_proxy, update_version):
process_element_list(normativeElementsList.get_normative_element_with_metadata_list(base_file_location), sdc_be_proxy)
#Add model based normatives
model_import_manager = ModelImportManager(Path(base_file_location) / 'models', ModelClient(sdc_be_proxy))
- model_import_manager.create_models()
+ model_import_manager.deploy_models()
except Exception as ex:
logger.log("An error has occurred while uploading elements and types: ", str(ex))
raise ex