Fix the uri for BPMN invocation 51/72651/1
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Wed, 14 Nov 2018 14:15:59 +0000 (19:45 +0530)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Wed, 14 Nov 2018 14:15:59 +0000 (19:45 +0530)
Fix the uri for BPMN invocation.

Change-Id: I42da40501a99c35aab5411f1f08586e7f40ee03a
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateResources.groovy

index 2167025..afdc570 100644 (file)
@@ -261,7 +261,7 @@ public class DoCreateResources extends AbstractServiceTaskProcessor{
             JSONObject resourceRecipe = cutils.getResourceRecipe(execution, resourceInput.getResourceModelInfo().getModelUuid(), requestAction)
 
             if (resourceRecipe != null) {
-                String recipeURL = BPMNProperties.getProperty("bpelURL", "http://mso:8080") + resourceRecipe.getString("orchestrationUri")
+                String recipeURL = BPMNProperties.getProperty("bpelURL", "http://bpmn-infra:8081") + resourceRecipe.getString("orchestrationUri")
                 int recipeTimeOut = resourceRecipe.getInt("recipeTimeout")
                 String recipeParamXsd = resourceRecipe.get("paramXSD")
                 HttpResponse resp = BpmnRestClient.post(recipeURL, requestId, recipeTimeOut, requestAction, serviceInstanceId, serviceType, resourceInput.toString(), recipeParamXsd)