From f5fe86701da01ee616c8c03c3914cdc4ece21c43 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Fri, 17 Apr 2020 09:58:27 +0800 Subject: Fix sliceProfile init problem Issue-ID: SO-2368 Change-Id: If61f933ee067ea9702ddfa165dd70d554e24a7b9 Signed-off-by: Harry Huang --- common/src/main/java/org/onap/so/beans/nsmf/SliceTaskParams.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/src/main/java') diff --git a/common/src/main/java/org/onap/so/beans/nsmf/SliceTaskParams.java b/common/src/main/java/org/onap/so/beans/nsmf/SliceTaskParams.java index bf881c0f19..f0857fc458 100644 --- a/common/src/main/java/org/onap/so/beans/nsmf/SliceTaskParams.java +++ b/common/src/main/java/org/onap/so/beans/nsmf/SliceTaskParams.java @@ -87,6 +87,13 @@ public class SliceTaskParams implements Serializable { private String anStatusDescription; + public SliceTaskParams() { + this.serviceProfile = new HashMap<>(); + this.sliceProfileAn = new HashMap<>(); + this.sliceProfileCn = new HashMap<>(); + this.sliceProfileTn = new HashMap<>(); + } + public String getNstId() { return nstId; } -- cgit 1.2.3-korg