diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-10-10 12:06:17 +0530 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-10-10 12:06:17 +0530 |
commit | 98dd6825e2caa5ac513c52efd901d90fcc6e65d4 (patch) | |
tree | 89c1e53a6275b2e932777a95048af1393cc7900a /bpmn/so-bpmn-infrastructure-common | |
parent | efd19029dc31adfbc154483e6a5179ef21e61af6 (diff) |
Fix reading sdncurl property
Fix reading sdncurl property.
Change-Id: I785bd969db6e1ad7d08ccc7e37d8153f34751e86
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-common')
-rw-r--r-- | bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy index 4b848024d6..653c1f90b9 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy @@ -47,7 +47,8 @@ import org.onap.so.client.aai.entities.uri.AAIUriFactory import org.onap.so.logger.MessageEnum import org.onap.so.logger.MsoLogger import org.onap.so.rest.APIResponse -import org.springframework.web.util.UriUtils; +import org.springframework.web.util.UriUtils +import org.onap.so.bpmn.core.UrnPropertiesReader import groovy.json.* @@ -119,7 +120,7 @@ public class DoCreateE2EServiceInstance extends AbstractServiceTaskProcessor { execution.setVariable("productFamilyId", "") } - String sdncCallbackUrl = execution.getVariable('URN_mso_workflow_sdncadapter_callback') + String sdncCallbackUrl = UrnPropertiesReader.getVariable("mso.workflow.sdncadapter.callback", execution) if (isBlank(sdncCallbackUrl)) { msg = "URN_mso_workflow_sdncadapter_callback is null" msoLogger.info(msg) |