Make Service base type optional
[sdc.git] / catalog-be / src / main / docker / backend / chef-repo / cookbooks / sdc-catalog-be / templates / default / BE-configuration.yaml.erb
index 69fd11d..3b9d437 100644 (file)
@@ -1017,9 +1017,16 @@ genericAssetNodeTypes:
   Service: org.openecomp.resource.abstract.nodes.service
   ETSI NFV Network Service: tosca.nodes.nfv.NS
 
-serviceNodeTypes:
+# Defines the base types for Services
+# <category name>:
+#   required: <boolean> //if the base type is mandatory or not
+#   baseTypes: <list of TOSCA types> //the base types. Required if the base type is required.
+#                                      If not provided, the category will have no base type.
+serviceBaseNodeTypes:
   ETSI NFV Network Service:
-    - tosca.nodes.nfv.NS
+    required: true
+    baseTypes:
+      - tosca.nodes.nfv.NS
 
 workloadContext: Production