summaryrefslogtreecommitdiffstats
path: root/installation/src
diff options
context:
space:
mode:
authorHector Anapan <ha076r@att.com>2017-08-10 03:25:53 -0500
committerPatrick Brady <pb071s@att.com>2017-08-11 19:25:36 +0000
commitd809474a8754d9fd9675427d3b8d93ecffd2070f (patch)
tree9fcb3cb8a0236d5e8c5b3abc8a5260e74a5bbace /installation/src
parentc183c5218b7fcd71976173e46c3dcde92be8e498 (diff)
Modifying code to point to AAIService Properties
Adding dblib.properties (mysql credential properties to the sdnctl db), modifying setenv.sh (used to define property values to mysql - such as authenticating against the MySQL DB's) and adding the APPC_CONFIG_DIR env variable as part of the Dockerfile. Patch: Reverted Unintentional changes to the docker-compose template. Patch: Changed some formatting as per Marcus's suggestions Change-Id: I7cf9d90405bb4d552779cd0cd8a4f01525bdd823 Signed-off-by: Hector Anapan <ha076r@att.com> Issue: [APPC-129]
Diffstat (limited to 'installation/src')
-rw-r--r--installation/src/main/properties/dblib.properties36
1 files changed, 36 insertions, 0 deletions
diff --git a/installation/src/main/properties/dblib.properties b/installation/src/main/properties/dblib.properties
new file mode 100644
index 0000000..1523a37
--- /dev/null
+++ b/installation/src/main/properties/dblib.properties
@@ -0,0 +1,36 @@
+###
+# ============LICENSE_START=======================================================
+# APPC
+# ================================================================================
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# ================================================================================
+# 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.
+# ============LICENSE_END=========================================================
+###
+
+# dblib.properties
+org.openecomp.sdnc.sli.dbtype=jdbc
+
+org.openecomp.sdnc.sli.jdbc.hosts=sdnctldb01
+org.openecomp.sdnc.sli.jdbc.url=jdbc:mysql://dbhost:3306/sdnctl
+org.openecomp.sdnc.sli.jdbc.database=sdnctl
+org.openecomp.sdnc.sli.jdbc.user=sdnctl
+org.openecomp.sdnc.sli.jdbc.password=gamma
+org.openecomp.sdnc.sli.jdbc.connection.name=sdnctldb01
+org.openecomp.sdnc.sli.jdbc.connection.timeout=50
+org.openecomp.sdnc.sli.jdbc.request.timeout=100
+org.openecomp.sdnc.sli.jdbc.limit.init=10
+org.openecomp.sdnc.sli.jdbc.limit.min=10
+org.openecomp.sdnc.sli.jdbc.limit.max=20
+org.openecomp.dblib.connection.recovery=false
+