summaryrefslogtreecommitdiffstats
path: root/feature-distributed-locking/src/main
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2021-08-09 19:54:55 -0500
committerjhh <jorge.hernandez-herrero@att.com>2021-08-10 12:23:13 -0500
commitc34da31922d20ae675a5de6bc5c251598ae71ff5 (patch)
treebbc155f6d07ee3609b0780f6c81e412194830f8e /feature-distributed-locking/src/main
parent2416b2db724a187001830d4573b888f8367b37a4 (diff)
Add SQL_PORT configuration
Issue-ID: POLICY-3533 Change-Id: I03fc41332d4739d5a4d6cee5f86ba823714336d6 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'feature-distributed-locking/src/main')
-rw-r--r--feature-distributed-locking/src/main/feature/config/feature-distributed-locking.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/feature-distributed-locking/src/main/feature/config/feature-distributed-locking.properties b/feature-distributed-locking/src/main/feature/config/feature-distributed-locking.properties
index 2b1e06f7..30a04219 100644
--- a/feature-distributed-locking/src/main/feature/config/feature-distributed-locking.properties
+++ b/feature-distributed-locking/src/main/feature/config/feature-distributed-locking.properties
@@ -21,9 +21,9 @@
#Database properties
eclipselink.target-database=MySQL
javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver
-javax.persistence.jdbc.url=jdbc:mariadb://${env:SQL_HOST}:3306/pooling
-javax.persistence.jdbc.user=${env:SQL_USER}
-javax.persistence.jdbc.password=${env:SQL_PASSWORD}
+javax.persistence.jdbc.url=jdbc:mariadb://${envd:SQL_HOST}:${envd:SQL_PORT:3306}/pooling
+javax.persistence.jdbc.user=${envd:SQL_USER}
+javax.persistence.jdbc.password=${envd:SQL_PASSWORD}
# default property values are commented out
#distributed.locking.expire.check.seconds=900