summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeToUpdateList.py
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeToUpdateList.py')
-rw-r--r--catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeToUpdateList.py24
1 files changed, 21 insertions, 3 deletions
diff --git a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeToUpdateList.py b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeToUpdateList.py
index a2830185d5..2d243d80ab 100644
--- a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeToUpdateList.py
+++ b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeToUpdateList.py
@@ -27,13 +27,20 @@ def get_heat_and_normative_to_update_list(types, base_file_location):
]
-def get_nfv_onap_sol_to_update_list(types, base_file_location):
+def get_onap_sol_to_update_list(types, base_file_location):
return [
- get_nfv(types, base_file_location),
get_onap(types, base_file_location),
get_sol(types, base_file_location)
]
+def get_nfv_to_update_list(types, base_file_location):
+ return [
+ get_nfv(types, base_file_location),
+ get_nfv_2_7_1(types, base_file_location),
+ get_nfv_3_3_1(types, base_file_location),
+ get_nfv_4_1_1(types, base_file_location),
+ ]
+
def get_heat(types, base_location="/"):
return NormativeTypeCandidate(base_location + "heat-types/",
@@ -48,7 +55,18 @@ def get_normative(types, base_location="/"):
def get_nfv(types, base_location="/"):
return NormativeTypeCandidate(base_location + "nfv-types/",
types.get_type("nfv"))
-
+
+def get_nfv_2_7_1(types, base_location="/"):
+ return NormativeTypeCandidate(base_location + "nfv-types/2.7.1/",
+ types.get_type("nfv_2_7_1"))
+
+def get_nfv_3_3_1(types, base_location="/"):
+ return NormativeTypeCandidate(base_location + "nfv-types/3.3.1/",
+ types.get_type("nfv_3_3_1"))
+
+def get_nfv_4_1_1(types, base_location="/"):
+ return NormativeTypeCandidate(base_location + "nfv-types/4.1.1/",
+ types.get_type("nfv_4_1_1"))
def get_onap(types, base_location="/"):
return NormativeTypeCandidate(base_location + "onap-types/",