aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChuanyu Chen <chenchuanyu@huawei.com>2020-11-18 07:33:08 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-18 07:33:08 +0000
commitbb36de3ff5057a6ab30630c2b4f8a11650b7267b (patch)
tree3ecf1d0c6cd2406f5fb4174be4caf3abddf84b56 /common
parent16ba8b0d3e4729bc74ba61efd4fa29c6e69768c2 (diff)
parent496da345c914211fdc58a5d0ef15360456c1bd42 (diff)
Merge "fixed allotecate nssi"
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java5
-rw-r--r--common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java5
2 files changed, 8 insertions, 2 deletions
diff --git a/common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java b/common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java
index d68a374cf0..1fa84eee59 100644
--- a/common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java
+++ b/common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java
@@ -23,11 +23,14 @@ package org.onap.so.beans.nsmf;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
+import java.io.Serializable;
import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
-public class CnSliceProfile {
+public class CnSliceProfile implements Serializable {
+
+ private static final long serialVersionUID = 6627071735572539536L;
@JsonProperty(value = "sNSSAIList", required = true)
private List<String> snssaiList;
diff --git a/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java b/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java
index 1effb4e972..3f0da1bf21 100644
--- a/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java
+++ b/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java
@@ -23,11 +23,14 @@ package org.onap.so.beans.nsmf;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
+import java.io.Serializable;
import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
-public class TnSliceProfile {
+public class TnSliceProfile implements Serializable {
+
+ private static final long serialVersionUID = 3767943556195823439L;
private String sliceProfileId;