From f4398a841ce8c4c185ab75abdf5e5a1c2d8ff784 Mon Sep 17 00:00:00 2001 From: talig Date: Mon, 23 Oct 2017 09:23:14 +0300 Subject: Fix onboarding undo checkout impl Fix reset in zusammen collaboration plugin, Throw explicit exception in case of zusammen db illegal state. Change-Id: Ic9463517b72c7a89a2de78b86da5679ac57371a6 Issue-ID: SDC-490 Signed-off-by: talig --- .../sdcrests/activitylog/types/ActivityType.java | 29 +++++++++++----------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/activity-log-rest/activity-log-rest-types/src/main/java/org/openecomp/sdcrests/activitylog/types') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/activity-log-rest/activity-log-rest-types/src/main/java/org/openecomp/sdcrests/activitylog/types/ActivityType.java b/openecomp-be/api/openecomp-sdc-rest-webapp/activity-log-rest/activity-log-rest-types/src/main/java/org/openecomp/sdcrests/activitylog/types/ActivityType.java index 6bfd50b401..80160bc202 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/activity-log-rest/activity-log-rest-types/src/main/java/org/openecomp/sdcrests/activitylog/types/ActivityType.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/activity-log-rest/activity-log-rest-types/src/main/java/org/openecomp/sdcrests/activitylog/types/ActivityType.java @@ -24,14 +24,15 @@ import java.io.Serializable; public enum ActivityType implements Serializable { - CREATE_NEW("Create New"), - CHECKOUT("Check Out"), - CHECKIN("Check In"), - UPLOAD_HEAT("Upload Heat"), + CREATE_NEW("Create New"), + CHECKOUT("Check Out"), + UNDO_CHECKOUT("Undo Check Out"), + CHECKIN("Check In"), + UPLOAD_HEAT("Upload Heat"), UPLOAD_MONITORING_FILE("Upload Monitoring File"), - SUBMIT("Submit"); + SUBMIT("Submit"); - // after collaboration will be added - this will be added: + // after collaboration will be added - this will be added: /* CREATE_NEW, COMMIT, @@ -39,14 +40,14 @@ public enum ActivityType implements Serializable { REMOVE_PERMISSION, */ - private String name; + private String name; - ActivityType(String name) { - this.name = name; - } + ActivityType(String name) { + this.name = name; + } - @Override - public String toString() { - return name; - } + @Override + public String toString() { + return name; + } } -- cgit 1.2.3-korg