Fix variable to retrieve sdnc endpoint 70/70170/6
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Wed, 10 Oct 2018 14:17:41 +0000 (19:47 +0530)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Tue, 16 Oct 2018 14:00:22 +0000 (19:30 +0530)
Fix variable to retrieve sdnc endpoint

Change-Id: Ib27049f90d545bceb34a73394f5b430c549c5e08
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/DoCreateE2EServiceInstance.groovy

index 856ff6c..ebd622c 100644 (file)
@@ -422,7 +422,7 @@ public class DoCreateE2EServiceInstance extends AbstractServiceTaskProcessor {
                     resourceTemplateUUIDs  = resourceTemplateUUIDs + resource.getModelInfo().getModelCustomizationUuid() + ":"
             }
 
-            def dbAdapterEndpoint = "http://mso.mso.testlab.openecomp.org:8080/dbadapters/RequestsDbAdapter"
+            def dbAdapterEndpoint = UrnPropertiesReader.getVariable("mso.adapters.db.endpoint")
             execution.setVariable("CVFMI_dbAdapterEndpoint", dbAdapterEndpoint)
             msoLogger.info("DB Adapter Endpoint is: " + dbAdapterEndpoint)