From: subhash kumar singh Date: Wed, 11 Apr 2018 13:02:15 +0000 (+0000) Subject: Fix missing var name for request input X-Git-Tag: v1.2.1~174 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=bba071a527d396624e52f2a41575dc66dc33890b;p=so.git Fix missing var name for request input Fix missing var name for request input Change-Id: I6bd1f6ce4e7f134a23b0b6eb217fd9d0fae8c466 Issue-ID: SO-422 Signed-off-by: subhash kumar singh --- diff --git a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy index a0df8e208b..a4f95254dd 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy +++ b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy @@ -69,10 +69,10 @@ public class CreateSDNCNetworkResource extends AbstractServiceTaskProcessor { utils.log("INFO","The requestAction is: " + requestAction, isDebugEnabled) String recipeParamsFromRequest = execution.getVariable("recipeParams") utils.log("INFO","The recipeParams is: " + recipeParamsFromRequest, isDebugEnabled) - String resourceInput = execution.getVariable("requestInput") + String resourceInput = execution.getVariable("resourceInput") utils.log("INFO","The resourceInput is: " + resourceInput, isDebugEnabled) //Get ResourceInput Object - ResourceInput resourceInputObj = ResourceRequestBuilder.getJsonObject(resourceInput, resourceInputObj) + ResourceInput resourceInputObj = ResourceRequestBuilder.getJsonObject(resourceInput, ResourceInput.class) execution.setVariable(Prefix + "resourceInput", resourceInputObj) //Deal with recipeParams