From f4f6b1407a836266ce7d98f33ee899d8a2377d83 Mon Sep 17 00:00:00 2001 From: talio Date: Sun, 2 Jun 2019 16:15:10 +0300 Subject: fix inputs declaration on complex type Change-Id: I86172caf032f4936f98525830ed8aac2ea30567f Issue-ID: SDC-2347 Signed-off-by: talio --- .../java/org/openecomp/sdc/be/components/impl/BaseBusinessLogic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-be/src') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/BaseBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/BaseBusinessLogic.java index 49dd3d6c01..643b9462bc 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/BaseBusinessLogic.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/BaseBusinessLogic.java @@ -764,7 +764,7 @@ public abstract class BaseBusinessLogic { for (PropertyDefinition propertyDefinition : propertyDefinitions) { if (propertyDefinition.getName().equals(anInputPathArr)) { if (ToscaType.isPrimitiveType(propertyDefinition.getType())) { - constraints.addAll(propertyDefinition.getConstraints()); + constraints.addAll(propertyDefinition.safeGetConstraints()); } else { type = propertyDefinition.getType(); } -- cgit 1.2.3-korg