Request DB endpont configuration 77/63077/1
authorRob Daugherty <rd472p@att.com>
Mon, 27 Aug 2018 13:22:29 +0000 (09:22 -0400)
committerRob Daugherty <rd472p@att.com>
Mon, 27 Aug 2018 13:22:29 +0000 (09:22 -0400)
A recent change to SO now requires us to configure the request DB
adapter endpoint in any application that includes the mso-requests-db
artifact in its pom.  Without this configuration, the application will
fail to start.

The related change:
https://gerrit.onap.org/r/62341

Change-Id: If41f0586e5ecf566068f8e179527ed5f8d92db01
Issue-ID: SO-903
Signed-off-by: Rob Daugherty <rd472p@att.com>
volumes/so/config/bpmn-infra/onapheat/override.yaml
volumes/so/config/request-db-adapter/onapheat/override.yaml
volumes/so/config/sdc-controller/onapheat/override.yaml
volumes/so/config/vfc-adapter/onapheat/override.yaml

index 67f7ae0..9bc56cc 100644 (file)
@@ -27,6 +27,9 @@ mso:
   adapters:
     completemsoprocess:
       endpoint:  http://c1.vm1.mso.simpledemo.onap.org:8081/CompleteMsoProcess
+    requestDb:
+      endpoint: http://request-db-adapter:8083
+      auth: Basic YnBlbDpwYXNzd29yZDEk
     db:
       auth: 33293332AEC4930F655D8E2E8BB08937
       password: wLg4sjrAFUS8rfVfdvTXeQ==
index 291cb4f..5eaabc2 100644 (file)
@@ -8,6 +8,10 @@ ssl-enable: false
 mso:
   logPath: logs
   site-name: localSite
+  adapters:
+    requestDb:
+      endpoint: http://request-db-adapter:8083
+      auth: Basic YnBlbDpwYXNzd29yZDEk
 spring:
   datasource:
     url: jdbc:mariadb://mariadb:3306/requestdb
index d3d5ca6..f8091d6 100644 (file)
@@ -49,6 +49,10 @@ mso:
   db:
     auth: Basic YnBlbDpwYXNzd29yZDEk
   site-name: onapheat
+  adapters:
+    requestDb:
+      endpoint: http://request-db-adapter:8083
+      auth: Basic YnBlbDpwYXNzd29yZDEk
   aai:
     endpoint: https://aai.api.simpledemo.onap.org:8443
   asdc-connections:
index af2a5ce..af88565 100644 (file)
@@ -19,6 +19,10 @@ server:
         max-threads: 50
 mso:
   site-name: localSite
+  adapters:
+    requestDb:
+      endpoint: http://request-db-adapter:8083
+      auth: Basic YnBlbDpwYXNzd29yZDEk
 
 #Actuator
 management: