aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/components/dgbuilder/resources/config/svclogic.properties
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-04-10 10:45:53 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2024-04-10 11:01:08 +0200
commit4b149053969ca20ac0d1cf14fe69bf0eeb042859 (patch)
treefa446f4598edb8f9746bc944c72043d15dbd4643 /kubernetes/sdnc/components/dgbuilder/resources/config/svclogic.properties
parent5230ed9ba9769c93487ad66d0d1f68eec5134a90 (diff)
[SDNC] Move dgbuilder and network-name-gen to SDNC
Move the charts from /common to sdnc/components and simplify the DB creation. Issue-ID: OOM-3286 Change-Id: Ib0c53e51b96ad2e1573859b9d938e700c0bea4ac Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/sdnc/components/dgbuilder/resources/config/svclogic.properties')
-rw-r--r--kubernetes/sdnc/components/dgbuilder/resources/config/svclogic.properties21
1 files changed, 21 insertions, 0 deletions
diff --git a/kubernetes/sdnc/components/dgbuilder/resources/config/svclogic.properties b/kubernetes/sdnc/components/dgbuilder/resources/config/svclogic.properties
new file mode 100644
index 0000000000..01edb4d411
--- /dev/null
+++ b/kubernetes/sdnc/components/dgbuilder/resources/config/svclogic.properties
@@ -0,0 +1,21 @@
+{{/*
+# Copyright © 2018 AT&T, Amdocs, Bell Canada
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*/}}
+
+org.onap.ccsdk.sli.dbtype=jdbc
+org.onap.ccsdk.sli.jdbc.url=jdbc:mysql://{{.Values.config.dbServiceName}}.{{ include "common.namespace" . }}:3306/{{.Values.config.db.dbName}}
+org.onap.ccsdk.sli.jdbc.database={{.Values.config.db.dbName}}
+org.onap.ccsdk.sli.jdbc.user=${DB_USER}
+org.onap.ccsdk.sli.jdbc.password=${DB_PASSWORD}