From 55eef418214449ce11bf2247019389ddfd01af2e Mon Sep 17 00:00:00 2001 From: "marios.iakovidis" Date: Tue, 28 May 2019 13:01:41 +0300 Subject: Corrected instance names Issue-ID: SO-1931 Signed-off-by: MariosIakovidis Change-Id: I4c3700cdc1cc058f3a37a77d087d38b2aadad29d --- .../bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bpmn') diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy index 3e059e53bf..3f9d10eaa4 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy @@ -152,12 +152,12 @@ public class CreateSDNCNetworkResource extends AbstractServiceTaskProcessor { execution.setVariable("isActivateRequired", "true") break - case ~/[\w\s\W]*OLT[\w\s\W]*/ : + case ~/[\w\s\W]*AccessConnectivity[\w\s\W]*/ : operationType = "AccessConnectivity" execution.setVariable("isActivateRequired", "false") break - case ~/[\w\s\W]*EdgeInternetProfile[\w\s\W]*/ : + case ~/[\w\s\W]*InternetProfile[\w\s\W]*/ : operationType = "InternetProfile" execution.setVariable("isActivateRequired", "false") break @@ -225,7 +225,7 @@ public class CreateSDNCNetworkResource extends AbstractServiceTaskProcessor { String serInput = jsonUtil.getJsonValue(resourceInputTmp, "requestsInputs") switch (modelName) { - case ~/[\w\s\W]*OLT[\w\s\W]*/ : + case ~/[\w\s\W]*AccessConnectivity[\w\s\W]*/ : // get the required properties and update in resource input def resourceInput = resourceInputObj.getResourceParameters() @@ -252,7 +252,7 @@ public class CreateSDNCNetworkResource extends AbstractServiceTaskProcessor { msoLogger.debug("new resource Input :" + resourceInputObj.toString()) break - case ~/[\w\s\W]*EdgeInternetProfile[\w\s\W]*/ : + case ~/[\w\s\W]*InternetProfile[\w\s\W]*/ : // get the required properties and update in resource input def resourceInput = resourceInputObj.getResourceParameters() String incomingRequest = resourceInputObj.getRequestsInputs() -- cgit 1.2.3-korg