aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-be
diff options
context:
space:
mode:
authoravigaffa <avi.gaffa@amdocs.com>2018-08-13 08:30:27 +0300
committeravigaffa <avi.gaffa@amdocs.com>2018-08-13 08:30:27 +0300
commit587052ca6c68dea8687cc0f6cee96ebca546ee87 (patch)
tree268d98d85fa5a7aca265cd6684e5d2923d13e4d1 /workflow-designer-be
parentc6428d2caf43f6a6563e754bf15cde256a70d100 (diff)
Fixing Input\Output bugs
1. I\O name must contain at least 1 character 2. name contains alphanumeric characters, underscores snd spaces) Change-Id: If2c7cd4d9383621832debf0b5cc913c0f1ea27d8 Issue-ID: SDC-1518 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
Diffstat (limited to 'workflow-designer-be')
-rw-r--r--workflow-designer-be/src/main/java/org/onap/sdc/workflow/persistence/types/ParameterEntity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/persistence/types/ParameterEntity.java b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/persistence/types/ParameterEntity.java
index 1eb92fba..c7f7d17e 100644
--- a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/persistence/types/ParameterEntity.java
+++ b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/persistence/types/ParameterEntity.java
@@ -25,7 +25,7 @@ public class ParameterEntity {
private String id;
@NotNull(message = "Parameter name may not be null")
- @Pattern(regexp = "[A-Za-z0-9_]+", message = "Parameter name must contain only letters, digits and underscores")
+ @Pattern(regexp = "[A-Za-z0-9_ ]+", message = "Parameter name must contain only letters, digits and underscores")
private String name;
@NotNull
private ParameterType type;