aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsheetalm <sheetal.mudholkar@amdocs.com>2018-05-03 14:02:04 +0530
committerOren Kleks <orenkle@amdocs.com>2018-05-03 14:24:54 +0000
commitb13e94fffca6e4feae95ea9523bed785b8057c93 (patch)
tree680c6a877a604bf65c6983ebe281d47c16339cfa
parent593e4cceced7aeac063a48f002ee9415ef82be63 (diff)
ActivitySpec Updated error message
Updated error message as per requirement change Change-Id: I50f8d80dcb13deaf5606d6b95c830fb1215e69fe Issue-ID: SDC-1048 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
-rw-r--r--services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/onap/sdc/activityspec/api/rest/types/ActivitySpecRequestDto.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/onap/sdc/activityspec/api/rest/types/ActivitySpecRequestDto.java b/services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/onap/sdc/activityspec/api/rest/types/ActivitySpecRequestDto.java
index 86148ac315..b728bf022a 100644
--- a/services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/onap/sdc/activityspec/api/rest/types/ActivitySpecRequestDto.java
+++ b/services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/onap/sdc/activityspec/api/rest/types/ActivitySpecRequestDto.java
@@ -26,7 +26,7 @@ import java.util.List;
@lombok.Data
public class ActivitySpecRequestDto {
- @NotBlank(message = "Mandatory %s field is missing/null")
+ @NotBlank(message = "Mandatory %s field is missing")
@Pattern(regexp = "^[a-zA-Z0-9-]*$", message = "%s should match with \"^[a-zA-Z0-9-]*$\" pattern")
private String name;
private String description;