From 496da345c914211fdc58a5d0ef15360456c1bd42 Mon Sep 17 00:00:00 2001 From: hetengjiao Date: Tue, 17 Nov 2020 17:33:14 +0800 Subject: fixed allotecate nssi Issue-ID: SO-2963 Signed-off-by: hetengjiao Change-Id: I4abfa9e2842e901bbfb1b7e38af08ff7a22794e8 --- common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java | 5 ++++- common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'common/src/main/java') 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 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; -- cgit 1.2.3-korg