Fix sliceProfile init problem 73/106173/1
authorHarry Huang <huangxiangyu5@huawei.com>
Fri, 17 Apr 2020 01:58:27 +0000 (09:58 +0800)
committerHarry Huang <huangxiangyu5@huawei.com>
Fri, 17 Apr 2020 01:58:27 +0000 (09:58 +0800)
Issue-ID: SO-2368

Change-Id: If61f933ee067ea9702ddfa165dd70d554e24a7b9
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
common/src/main/java/org/onap/so/beans/nsmf/SliceTaskParams.java

index bf881c0..f0857fc 100644 (file)
@@ -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;
     }