aboutsummaryrefslogtreecommitdiffstats
path: root/feature-session-persistence/src/main/feature/config/feature-session-persistence.properties
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-session-persistence/src/main/feature/config/feature-session-persistence.properties
parent1c200701f248240aac226208d048c420fedd9c35 (diff)
parentc34da31922d20ae675a5de6bc5c251598ae71ff5 (diff)
Merge "Add SQL_PORT configuration"
Diffstat (limited to 'feature-session-persistence/src/main/feature/config/feature-session-persistence.properties')
-rw-r--r--feature-session-persistence/src/main/feature/config/feature-session-persistence.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/feature-session-persistence/src/main/feature/config/feature-session-persistence.properties b/feature-session-persistence/src/main/feature/config/feature-session-persistence.properties
index ae9ce453..50e0618b 100644
--- a/feature-session-persistence/src/main/feature/config/feature-session-persistence.properties
+++ b/feature-session-persistence/src/main/feature/config/feature-session-persistence.properties
@@ -20,9 +20,9 @@
eclipselink.target-database=MySQL
javax.persistence.jdbc.driver= org.mariadb.jdbc.Driver
-javax.persistence.jdbc.url=jdbc:mariadb://${env:SQL_HOST}:3306/sessionpersistence
-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}/sessionpersistence
+javax.persistence.jdbc.user=${envd:SQL_USER}
+javax.persistence.jdbc.password=${envd:SQL_PASSWORD}
#Seconds timeout - 15 minutes
persistence.sessioninfo.timeout=900