Fix request body for SDNC req 17/88517/2
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Mon, 27 May 2019 06:17:50 +0000 (11:47 +0530)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Tue, 28 May 2019 18:05:45 +0000 (18:05 +0000)
Fix request body for SDNC req.

Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Change-Id: Ia8112b81fa29f886e282445b3c0dc068d487cadd

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

index 5ed815b..0338647 100644 (file)
@@ -317,6 +317,7 @@ public class ActivateSDNCNetworkResource extends AbstractServiceTaskProcessor {
                                      </vnf-information>
                                      <vf-module-information>
                                         <from-preload>false</from-preload>
+                                        <vf-module-id>${msoUtils.xmlEscape(resourceInstanceId)}</vf-module-id>
                                         <onap-model-information>
                                             <model-invariant-uuid>${msoUtils.xmlEscape(modelInvariantUuid)}</model-invariant-uuid>
                                              <model-customization-uuid>${msoUtils.xmlEscape(modelCustomizationUuid)}</model-customization-uuid>
index 421fd06..23c11ca 100644 (file)
@@ -397,7 +397,6 @@ public class CreateSDNCNetworkResource extends AbstractServiceTaskProcessor {
                                         <subscriber-name>${msoUtils.xmlEscape(globalCustomerId)}</subscriber-name>
                                      </service-information>
                                      <vnf-information>
-                                        <vnf-id>${msoUtils.xmlEscape(vnfid)}</vnf-id>
                                         <vnf-type></vnf-type>
                                         <onap-model-information>
                                              <model-invariant-uuid>${msoUtils.xmlEscape(modelInvariantUuid)}</model-invariant-uuid>