summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanyu Chen <chenchuanyu@huawei.com>2020-05-13 09:55:28 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-13 09:55:28 +0000
commita58cb1deb134eecb1f6e605bb74e453a57479773 (patch)
treed9051202eca534a148a805553f372009cf4c9639
parent51a8deab009bd66f73a597d46a435ad3d323c992 (diff)
parentf5fe86701da01ee616c8c03c3914cdc4ece21c43 (diff)
Merge "Fix sliceProfile init problem" into frankfurt
-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;
}