Fix variable to fetch request id 43/41743/2
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Mon, 9 Apr 2018 14:48:14 +0000 (14:48 +0000)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Tue, 10 Apr 2018 04:41:01 +0000 (04:41 +0000)
Fix variable to fetch request id.

Change-Id: I936dae6004083816956ecb8bff5e76327ce81766
Issue-ID: SO-422
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVFCNSResource.groovy

index 794152d..b520ca5 100644 (file)
@@ -87,10 +87,10 @@ public class CreateVFCNSResource extends AbstractServiceTaskProcessor {
            String serviceId = execution.getVariable("serviceInstanceId")\r
            utils.log("INFO", "serviceId:" + serviceId, isDebugEnabled)\r
 \r
-           String operationId = execution.getVariable("mso-request-id")\r
+           String operationId = execution.getVariable("requestId")\r
            utils.log("INFO", "serviceType:" + serviceType, isDebugEnabled)\r
 \r
-           String nodeTemplateUUID = jsonUtil.getJsonValue(resourceInput, "resourceModelInfo.modelUuid")\r
+           String nodeTemplateUUID = jsonUtil.getJsonValue(resourceInput, "resourceModelInfo.modelCustomizationUuid")\r
            utils.log("INFO", "nodeTemplateUUID:" + nodeTemplateUUID, isDebugEnabled)\r
            /*\r
             * segmentInformation needed as a object of segment\r