aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2020-07-07 17:36:11 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-07-15 08:06:59 +0000
commitedd8714f7559816283d18683ea2b9552b874d06e (patch)
treec4e6bdf7c87c99b9991a5bb404579f41291906b4
parentf4165e2af8ae596d574aecae2fcf174420396b2e (diff)
Fix missing referenced node_types
Issue-ID: SDC-3153 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I0b17ac92a49e1f006f5708b20af82a62ee769a9e
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/OntPnf/OntPnf.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/OntPnf/OntPnf.yml7
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/accessConnectivity/accessConnectivity.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/accessConnectivity/accessConnectivity.yml7
-rw-r--r--catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py2
5 files changed, 46 insertions, 0 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/OntPnf/OntPnf.json b/catalog-be/src/main/resources/import/tosca/nfv-types/OntPnf/OntPnf.json
new file mode 100644
index 0000000000..6a13ee057a
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/OntPnf/OntPnf.json
@@ -0,0 +1,15 @@
+{
+ "payloadName": "OntPnf.yml",
+ "contactId": "jh0003",
+ "name": "OntPnf",
+ "description": "OntPnf",
+ "resourceIconPath": "defaulticon",
+ "resourceType": "VFC",
+ "categories": [{
+ "name": "Generic",
+ "subcategories": [{
+ "name": "Infrastructure"
+ }]
+ }],
+ "tags": ["OntPnf"]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/OntPnf/OntPnf.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/OntPnf/OntPnf.yml
new file mode 100644
index 0000000000..49ea4d1f06
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/OntPnf/OntPnf.yml
@@ -0,0 +1,7 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ org.openecomp.resource.vfc.OntPnf:
+ derived_from: tosca.nodes.Root
+ capabilities:
+ virtual_binding:
+ type: tosca.capabilities.nfv.VirtualBindable
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/accessConnectivity/accessConnectivity.json b/catalog-be/src/main/resources/import/tosca/nfv-types/accessConnectivity/accessConnectivity.json
new file mode 100644
index 0000000000..1a00d3c07e
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/accessConnectivity/accessConnectivity.json
@@ -0,0 +1,15 @@
+{
+ "payloadName": "accessConnectivity.yml",
+ "contactId": "jh0003",
+ "name": "Access Connectivity",
+ "description": "Access Connectivity",
+ "resourceIconPath": "defaulticon",
+ "resourceType": "VFC",
+ "categories": [{
+ "name": "Generic",
+ "subcategories": [{
+ "name": "Infrastructure"
+ }]
+ }],
+ "tags": ["Access Connectivity"]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/accessConnectivity/accessConnectivity.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/accessConnectivity/accessConnectivity.yml
new file mode 100644
index 0000000000..afe698c0e1
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/accessConnectivity/accessConnectivity.yml
@@ -0,0 +1,7 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ org.openecomp.resource.vfc.accessConnectivity:
+ derived_from: tosca.nodes.Root
+ capabilities:
+ virtual_binding:
+ type: tosca.capabilities.nfv.VirtualBindable
diff --git a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py
index eea25436b3..1ec08c97bf 100644
--- a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py
+++ b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py
@@ -103,6 +103,8 @@ def get_nfv(base_file_location="/"):
"vnfExtCp",
"vduCp",
"VNF",
+ "accessConnectivity",
+ "OntPnf",
"PonUni",
"OltNni",
"OntNni"])