add nsi name info to an and cn 04/115504/1
authorhetengjiao <hetengjiao@chinamobile.com>
Mon, 30 Nov 2020 10:39:52 +0000 (18:39 +0800)
committerhetengjiao <hetengjiao@chinamobile.com>
Mon, 30 Nov 2020 10:40:06 +0000 (18:40 +0800)
Issue-ID: SO-2963

Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
Change-Id: I57cc2554c95a67d19e7e35e192a45ba74d0cdb59

bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSIandNSSI.groovy

index 1f3cf6e..be691bb 100644 (file)
@@ -330,6 +330,7 @@ class DoAllocateNSIandNSSI extends AbstractServiceTaskProcessor{
         allocateAnNssi.nssiName = sliceTaskInfo.NSSTInfo.name
         NsiInfo nsiInfo = new NsiInfo()
         nsiInfo.nsiId = sliceParams.suggestNsiId
+        nsiInfo.nsiName = sliceParams.suggestNsiName
         allocateAnNssi.nsiInfo = nsiInfo
         //endPoint
         EndPoint endPoint = new EndPoint()
@@ -450,6 +451,7 @@ class DoAllocateNSIandNSSI extends AbstractServiceTaskProcessor{
         allocateCnNssi.sliceProfile = sliceTaskInfo.sliceProfile.trans2CnProfile()
         NsiInfo nsiInfo = new NsiInfo()
         nsiInfo.nsiId = sliceParams.suggestNsiId
+        nsiInfo.nsiName = sliceParams.suggestNsiName
         allocateCnNssi.nsiInfo = nsiInfo
         // endPoint
         EndPoint endPoint = new EndPoint()