Set default base type when none is provided 55/125855/5
authorandre.schmid <andre.schmid@est.tech>
Tue, 23 Nov 2021 21:35:12 +0000 (21:35 +0000)
committerMichael Morris <michael.morris@est.tech>
Fri, 26 Nov 2021 14:49:11 +0000 (14:49 +0000)
commitf2eb0c84057d745b8cc7e77a027dcd47122a7a5b
tree9c0a10e55391637f1d5c3d5a6a945be1d536bd4e
parent5a92b1a1a74db13771947f3175682095bd91b7e3
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 <andre.schmid@est.tech>
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceBusinessLogic.java
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/generic/GenericTypeBusinessLogic.java
catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/generic/GenericTypeBusinessLogicTest.java
catalog-be/src/test/resources/config/catalog-be/configuration.yaml