aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/scripts/import/tosca/importNormativeAll.py
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-09-22 23:47:09 +0300
committerMichael Lando <ml636r@att.com>2017-09-23 16:03:16 +0300
commit3ef175b5f6e74a685cfa998153b4d635f9883dfe (patch)
tree00bfc6a8b0e5f327f553ca6ff71f44834ef70e76 /catalog-be/src/main/resources/scripts/import/tosca/importNormativeAll.py
parent0819f24218af38d1875defe46d233141648c1705 (diff)
add new global types
add global types needed for volte use case Change-Id: I26f2de45d46628c95fd708b7e61b007c214e2c94 Issue-ID: SDC-192 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-be/src/main/resources/scripts/import/tosca/importNormativeAll.py')
-rw-r--r--catalog-be/src/main/resources/scripts/import/tosca/importNormativeAll.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/catalog-be/src/main/resources/scripts/import/tosca/importNormativeAll.py b/catalog-be/src/main/resources/scripts/import/tosca/importNormativeAll.py
index ec9e93e6e4..3d7d9a9bbf 100644
--- a/catalog-be/src/main/resources/scripts/import/tosca/importNormativeAll.py
+++ b/catalog-be/src/main/resources/scripts/import/tosca/importNormativeAll.py
@@ -8,6 +8,7 @@ import time
from importNormativeElements import *
from importNormativeTypes import importNormativeTypes
from importHeatTypes import importHeatTypes
+from importOnapTypes import importOnapTypes
from importNormativeCapabilities import importNormativeCapabilities
from importCategoryTypes import importCategories
from importNormativeInterfaceLifecycleTypes import importNormativeInterfaceLifecycleType
@@ -121,6 +122,10 @@ def main(argv):
fileLocation = baseFileLocation + "heat-types/"
resultsHeat = importHeatTypes(beHost, bePort, adminUser, fileLocation, updateversion)
handleResults(resultsHeat, updateversion)
+
+ fileLocation = baseFileLocation + "onap-types/"
+ resultsHeat = importOnapTypes(beHost, bePort, adminUser, fileLocation, updateversion)
+ handleResults(resultsHeat, updateversion)
fileLocation = baseFileLocation + "group-types/"
importGroupTypes(beHost, bePort, adminUser, False, fileLocation)