Merge "Subnet Type update for respective TN domain"
authorSeshu Kumar M <seshu.kumar.m@huawei.com>
Wed, 22 Sep 2021 13:28:56 +0000 (13:28 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 22 Sep 2021 13:28:56 +0000 (13:28 +0000)
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSIandNSSI.groovy
common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java

index 0d64d78..0088ed4 100644 (file)
@@ -691,6 +691,7 @@ class DoAllocateNSIandNSSI extends AbstractServiceTaskProcessor{
 
         allocateTnNssi.setNetworkSliceInfos()
         allocateTnNssi.setSliceProfile(sliceTaskInfo.sliceProfile.trans2TnProfile())
+        allocateTnNssi.getSliceProfile().setDomainType(sliceTaskInfo.subnetType.subnetType)
         NsiInfo nsiInfo = new NsiInfo()
         nsiInfo.setNsiId(sliceParams.suggestNsiId)
         nsiInfo.setNsiName(sliceParams.suggestNsiName)
index dca2493..ffce5e9 100644 (file)
@@ -49,6 +49,9 @@ public class TnSliceProfile implements Serializable {
     @JsonProperty(value = "jitter")
     private int jitter;
 
+    @JsonProperty(value = "domainType")
+    private String domainType;
+
     @JsonProperty(value = "resourceSharingLevel")
     private ResourceSharingLevel resourceSharingLevel;
 }