nova server validator

fix validation of comma delimited list value

Issue - Id : SDC-670

Change-Id: Ic8b6f4b1358679ffacba4f8b832595f649b2fde5
Signed-off-by: talio <tali.orenbach@amdocs.com>
diff --git a/openecomp-be/lib/openecomp-heat-lib/src/main/java/org/openecomp/sdc/heat/datatypes/DefinedHeatParameterTypes.java b/openecomp-be/lib/openecomp-heat-lib/src/main/java/org/openecomp/sdc/heat/datatypes/DefinedHeatParameterTypes.java
index 54b071f..0367d09 100644
--- a/openecomp-be/lib/openecomp-heat-lib/src/main/java/org/openecomp/sdc/heat/datatypes/DefinedHeatParameterTypes.java
+++ b/openecomp-be/lib/openecomp-heat-lib/src/main/java/org/openecomp/sdc/heat/datatypes/DefinedHeatParameterTypes.java
@@ -93,7 +93,8 @@
   }
 
   private static boolean isValueCommaDelimitedList(Object value) {
-    return String.valueOf(value).contains(",")
+    return  value instanceof List
+            || String.valueOf(value).contains(",")
             || isValueIsFromGivenType(value, DefinedHeatParameterTypes.STRING.type);
   }