aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main
diff options
context:
space:
mode:
authortalio <tali.orenbach@amdocs.com>2019-06-02 16:15:10 +0300
committerOren Kleks <orenkle@amdocs.com>2019-06-03 05:55:00 +0000
commitf4f6b1407a836266ce7d98f33ee899d8a2377d83 (patch)
tree189f7bd4b92badcbc690d7342538243db8ebe3f0 /catalog-be/src/main
parent4f514b1c3f1c688345c750281097925ac22417ca (diff)
fix inputs declaration on complex type
Change-Id: I86172caf032f4936f98525830ed8aac2ea30567f Issue-ID: SDC-2347 Signed-off-by: talio <tali.orenbach@amdocs.com>
Diffstat (limited to 'catalog-be/src/main')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/BaseBusinessLogic.java2
1 files changed, 1 insertions, 1 deletions
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();
}