summaryrefslogtreecommitdiffstats
path: root/feature-distributed-locking/src/main/feature/config
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2021-08-12 15:33:32 +0000
committerGerrit Code Review <gerrit@onap.org>2021-08-12 15:33:32 +0000
commit85b21b7f23ba8b4930a5f221ba1b35310afdbea8 (patch)
tree40bfb6294b59c0e8c2fd7c5a9a7fa4b0d7de8e2e /feature-distributed-locking/src/main/feature/config
parent1c200701f248240aac226208d048c420fedd9c35 (diff)
parentc34da31922d20ae675a5de6bc5c251598ae71ff5 (diff)
Merge "Add SQL_PORT configuration"
Diffstat (limited to 'feature-distributed-locking/src/main/feature/config')
-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