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 <subhash.kumar.singh@huawei.com>
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 a0df8e2..a4f9525 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 @@
             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