From 674ede70299865f257ab48fa7b264dc28793514f Mon Sep 17 00:00:00 2001 From: Rob Daugherty Date: Mon, 27 Aug 2018 09:22:29 -0400 Subject: [PATCH] Request DB endpont configuration 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 --- volumes/so/config/bpmn-infra/onapheat/override.yaml | 3 +++ volumes/so/config/request-db-adapter/onapheat/override.yaml | 4 ++++ volumes/so/config/sdc-controller/onapheat/override.yaml | 4 ++++ volumes/so/config/vfc-adapter/onapheat/override.yaml | 4 ++++ 4 files changed, 15 insertions(+) diff --git a/volumes/so/config/bpmn-infra/onapheat/override.yaml b/volumes/so/config/bpmn-infra/onapheat/override.yaml index 67f7ae0..9bc56cc 100644 --- a/volumes/so/config/bpmn-infra/onapheat/override.yaml +++ b/volumes/so/config/bpmn-infra/onapheat/override.yaml @@ -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== diff --git a/volumes/so/config/request-db-adapter/onapheat/override.yaml b/volumes/so/config/request-db-adapter/onapheat/override.yaml index 291cb4f..5eaabc2 100644 --- a/volumes/so/config/request-db-adapter/onapheat/override.yaml +++ b/volumes/so/config/request-db-adapter/onapheat/override.yaml @@ -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 diff --git a/volumes/so/config/sdc-controller/onapheat/override.yaml b/volumes/so/config/sdc-controller/onapheat/override.yaml index d3d5ca6..f8091d6 100644 --- a/volumes/so/config/sdc-controller/onapheat/override.yaml +++ b/volumes/so/config/sdc-controller/onapheat/override.yaml @@ -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: diff --git a/volumes/so/config/vfc-adapter/onapheat/override.yaml b/volumes/so/config/vfc-adapter/onapheat/override.yaml index af2a5ce..af88565 100644 --- a/volumes/so/config/vfc-adapter/onapheat/override.yaml +++ b/volumes/so/config/vfc-adapter/onapheat/override.yaml @@ -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: -- 2.16.6