From b13e94fffca6e4feae95ea9523bed785b8057c93 Mon Sep 17 00:00:00 2001 From: sheetalm Date: Thu, 3 May 2018 14:02:04 +0530 Subject: ActivitySpec Updated error message Updated error message as per requirement change Change-Id: I50f8d80dcb13deaf5606d6b95c830fb1215e69fe Issue-ID: SDC-1048 Signed-off-by: sheetalm --- .../onap/sdc/activityspec/api/rest/types/ActivitySpecRequestDto.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit 1.2.3-korg