From f2eb0c84057d745b8cc7e77a027dcd47122a7a5b Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Tue, 23 Nov 2021 21:35:12 +0000 Subject: Set default base type when none is provided Sets a default base type (substitution type) when no base type is provided during the creation of a service with a category that requires a base type. Previous to the introduction of the optional base type, the system would always add a base type to a Service. Change-Id: I32e892fc23719fd569062ee806eb0be7b5af4ac6 Issue-ID: SDC-3791 Signed-off-by: andre.schmid --- .../src/test/resources/config/catalog-be/configuration.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'catalog-be/src/test/resources') diff --git a/catalog-be/src/test/resources/config/catalog-be/configuration.yaml b/catalog-be/src/test/resources/config/catalog-be/configuration.yaml index 4692342722..f33259903b 100644 --- a/catalog-be/src/test/resources/config/catalog-be/configuration.yaml +++ b/catalog-be/src/test/resources/config/catalog-be/configuration.yaml @@ -417,6 +417,15 @@ genericAssetNodeTypes: PNF: org.openecomp.resource.abstract.nodes.PNF Service: org.openecomp.resource.abstract.nodes.service +# Defines the base types for Services +# : +# required: //if the base type is mandatory or not +# baseTypes: //the base types. Required if the base type is required. +# If not provided, the category will have no base type. +serviceBaseNodeTypes: + cat_name: + required: false + workloadContext: Production environmentContext: -- cgit 1.2.3-korg