summaryrefslogtreecommitdiffstats
path: root/kubernetes/cds/charts/cds-blueprints-processor/resources/config/application.properties
diff options
context:
space:
mode:
authorKonrad Bańka <k.banka@samsung.com>2020-05-14 16:56:39 +0200
committerKonrad Bańka <k.banka@samsung.com>2020-05-14 17:05:06 +0200
commit031bdb7e4d16288782797ff97333842e6a3f9623 (patch)
treee3c3abfdaab12f6b460a29baaccb2eaedd18bf7f /kubernetes/cds/charts/cds-blueprints-processor/resources/config/application.properties
parentc32ee22a8436a184d710db9d06da85c4ca385efc (diff)
Update processor-db config with correct configuration
Processor-db configuration allows CDS to access data in sdnctl DB without enforcing users to provide such data in CBA. This entry is now corrected allowing proper work for this feature. Currently access to sdnctl DB is provided via root DB access, but this should be further corrected in future. Also removed unnecessary secret metaconfig - 'cds-db-root-pass'. Issue-ID: CCSDK-2373 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Idf452fe5d42862e507b2d981af58b96931ee287c
Diffstat (limited to 'kubernetes/cds/charts/cds-blueprints-processor/resources/config/application.properties')
-rwxr-xr-xkubernetes/cds/charts/cds-blueprints-processor/resources/config/application.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/cds/charts/cds-blueprints-processor/resources/config/application.properties b/kubernetes/cds/charts/cds-blueprints-processor/resources/config/application.properties
index 94f3466d9d..05ac61cf57 100755
--- a/kubernetes/cds/charts/cds-blueprints-processor/resources/config/application.properties
+++ b/kubernetes/cds/charts/cds-blueprints-processor/resources/config/application.properties
@@ -53,9 +53,9 @@ blueprintsprocessor.db.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialec
# processor-db endpoint
blueprintsprocessor.db.processor-db.type=maria-db
-blueprintsprocessor.db.processor-db.url=jdbc:mysql://{{.Values.config.cdsDB.dbServer}}:{{.Values.config.cdsDB.dbPort}}/{{.Values.config.cdsDB.dbName}}
-blueprintsprocessor.db.processor-db.username=root
-blueprintsprocessor.db.processor-db.password=${CDS_DB_ROOT_PASSWORD}
+blueprintsprocessor.db.processor-db.url=jdbc:mysql://{{ .Values.config.sdncDB.dbService }}:{{ .Values.config.sdncDB.dbPort }}/{{.Values.config.sdncDB.dbName}}
+blueprintsprocessor.db.processor-db.username=${SDNC_DB_USERNAME}
+blueprintsprocessor.db.processor-db.password=${SDNC_DB_PASSWORD}
# Python executor
blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints