All extendable enums should be serializable 48/93248/1
authorBenjamin, Max (mb388a) <mb388a@att.com>
Fri, 9 Aug 2019 20:22:17 +0000 (16:22 -0400)
committerBenjamin, Max (mb388a) <mb388a@att.com>
Fri, 9 Aug 2019 20:22:17 +0000 (16:22 -0400)
marking items as transient causes them to be lost

Issue-ID: SO-2217
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: If66f9034b67f94c8122875ef915043525fb9bdb7

bpmn/MSOCoreBPMN/src/main/java/org/onap/so/bpmn/core/WorkflowException.java
common/src/main/java/org/onap/so/utils/TargetEntities.java
mso-api-handlers/mso-api-handler-common/src/main/java/org/onap/so/apihandlerinfra/Actions.java

index 21847e1..7d5bb0d 100644 (file)
@@ -33,7 +33,7 @@ public class WorkflowException implements Serializable {
     private final int errorCode;
     private final String errorMessage;
     private final String workStep;
-    private transient TargetEntities extSystemErrorSource;
+    private TargetEntities extSystemErrorSource;
 
     /**
      * Constructor
index 94385ec..67016a1 100644 (file)
@@ -20,6 +20,8 @@
 
 package org.onap.so.utils;
 
-public interface TargetEntities {
+import java.io.Serializable;
+
+public interface TargetEntities extends Serializable {
 
 }