aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2020-08-21 11:34:22 +0100
committerSébastien Determe <sebastien.determe@intl.att.com>2020-09-07 09:15:29 +0000
commit0f33ed2e6ee82dc2359c9cb7caaea5f24ae6b61f (patch)
treea4f48231bf7ce719f1709663bad926c56ad27d30
parent4188b20055dac1974f6c6f1a6a8320099b154ca5 (diff)
Create Service category ETSI Network Service
Creates a new Service category ETSI Network Service, having the service base type as ETSI NS type tosca.nodes.nfv.NS. Change-Id: I2615a1e1f88330064b97516ed3865a408e1b51b2 Issue-ID: SDC-3250 Signed-off-by: andre.schmid <andre.schmid@est.tech>
-rw-r--r--catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb4
-rw-r--r--catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml3
2 files changed, 7 insertions, 0 deletions
diff --git a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
index 830ba40e66..d07a1949a3 100644
--- a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
+++ b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
@@ -1008,6 +1008,10 @@ genericAssetNodeTypes:
CR : org.openecomp.resource.abstract.nodes.CR
PNF: org.openecomp.resource.abstract.nodes.PNF
Service: org.openecomp.resource.abstract.nodes.service
+ ETSI Network Service: tosca.nodes.nfv.NS
+
+serviceNodeTypes:
+ ETSI Network Service: tosca.nodes.nfv.NS
workloadContext: Production
diff --git a/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml b/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml
index f0aeb128cf..91fed025e7 100644
--- a/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml
@@ -20,6 +20,9 @@ services:
Partner_Domain_Service:
name: "Partner Domain Service"
icons: ['partner_domain_service']
+ ETSI_Network_Service:
+ name: "ETSI Network Service"
+ icons: ['etsi_network_service']
resources:
NetworkLayer23:
name: "Network L2-3"