From 3bda1fa802e7310bfe771c3e3533510f77614ab0 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Wed, 11 Apr 2018 11:12:03 +0000 Subject: Fix url for the resource bpmn invocation Fix url for the resource bpmn invocation Change-Id: I70234406e6d30cf6ef7a408384b520db8506d11d Issue-ID: SO-422 Signed-off-by: subhash kumar singh --- .../mso/bpmn/infrastructure/scripts/DoCreateResources.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpmn/MSOInfrastructureBPMN') diff --git a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCreateResources.groovy b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCreateResources.groovy index ff9a825f99..8eea0f5b9c 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCreateResources.groovy +++ b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCreateResources.groovy @@ -201,10 +201,10 @@ public class DoCreateResources extends AbstractServiceTaskProcessor ResourceInput resourceInput = execution.getVariable("resourceInput") String requestAction = resourceInput.getOperationType() JSONObject resourceRecipe = cutils.getResourceRecipe(execution, resourceInput.getResourceModelInfo().getModelUuid(), requestAction) - String recipeUri = resourceRecipe.getString("orchestrationUri") + String recipeURL = BPMNProperties.getProperty("bpelURL", "http://mso:8080") + resourceRecipe.getString("orchestrationUri") int recipeTimeOut = resourceRecipe.getInt("recipeTimeout") String recipeParamXsd = resourceRecipe.get("paramXSD") - HttpResponse resp = BpmnRestClient.post(recipeUri, requestId, recipeTimeOut, requestAction, serviceInstanceId, serviceType, resourceInput.toString(), recipeParamXsd) + HttpResponse resp = BpmnRestClient.post(recipeURL, requestId, recipeTimeOut, requestAction, serviceInstanceId, serviceType, resourceInput.toString(), recipeParamXsd) utils.log("INFO", "======== end executeResourceRecipe Process ======== ", isDebugEnabled) } -- cgit 1.2.3-korg