From 17094389c0e29c08efa4bfabc175773ef6f22fe3 Mon Sep 17 00:00:00 2001
From: subhash kumar singh <subhash.kumar.singh@huawei.com>
Date: Mon, 9 Apr 2018 14:48:14 +0000
Subject: Fix variable to fetch request id

Fix variable to fetch request id.

Change-Id: I936dae6004083816956ecb8bff5e76327ce81766
Issue-ID: SO-422
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
---
 .../mso/bpmn/infrastructure/scripts/CreateVFCNSResource.groovy        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp')

diff --git a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVFCNSResource.groovy b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVFCNSResource.groovy
index 794152deca..b520ca543e 100644
--- a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVFCNSResource.groovy
+++ b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVFCNSResource.groovy
@@ -87,10 +87,10 @@ public class CreateVFCNSResource extends AbstractServiceTaskProcessor {
            String serviceId = execution.getVariable("serviceInstanceId")
            utils.log("INFO", "serviceId:" + serviceId, isDebugEnabled)
 
-           String operationId = execution.getVariable("mso-request-id")
+           String operationId = execution.getVariable("requestId")
            utils.log("INFO", "serviceType:" + serviceType, isDebugEnabled)
 
-           String nodeTemplateUUID = jsonUtil.getJsonValue(resourceInput, "resourceModelInfo.modelUuid")
+           String nodeTemplateUUID = jsonUtil.getJsonValue(resourceInput, "resourceModelInfo.modelCustomizationUuid")
            utils.log("INFO", "nodeTemplateUUID:" + nodeTemplateUUID, isDebugEnabled)
            /*
             * segmentInformation needed as a object of segment
-- 
cgit 1.2.3-korg