Fix default value for interface operation input 48/127848/2
authorandre.schmid <andre.schmid@est.tech>
Wed, 16 Mar 2022 12:26:32 +0000 (12:26 +0000)
committerMichael Morris <michael.morris@est.tech>
Mon, 21 Mar 2022 12:28:43 +0000 (12:28 +0000)
commitfe5660d653c8f2fa39e5946d2c9e30aac6acdb19
treec4ee5fd2df464251a9beb7a8be9719f748de6e9f
parentc32663621faf571ce855a1dc84ec4fd013718359
Fix default value for interface operation input

Fixes default value in interface operation input definitions. The value
is now correctly JSON stringfied.
Fixes required value that was always being set to false.
Fixes UI reporting that false values are empty.

Change-Id: I6ce8eba03d659a091e49180f1d2cc057f4a805f2
Issue-ID: SDC-3920
Signed-off-by: andre.schmid <andre.schmid@est.tech>
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/InterfaceDefinitionHandler.java
catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/InterfaceDefinitionHandlerTest.java
catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml
catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml
catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html