summaryrefslogtreecommitdiffstats
path: root/common/src/main
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2020-04-17 09:58:27 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2020-04-17 09:58:27 +0800
commitf5fe86701da01ee616c8c03c3914cdc4ece21c43 (patch)
tree2cd39f16a4d32f0575b2427cab7e692f402897b2 /common/src/main
parentd3933044ab1e19f2918a25258d984f7ad10ca87c (diff)
Fix sliceProfile init problem
Issue-ID: SO-2368 Change-Id: If61f933ee067ea9702ddfa165dd70d554e24a7b9 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'common/src/main')
-rw-r--r--common/src/main/java/org/onap/so/beans/nsmf/SliceTaskParams.java7
1 files changed, 7 insertions, 0 deletions
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;
}