From c34da31922d20ae675a5de6bc5c251598ae71ff5 Mon Sep 17 00:00:00 2001 From: jhh Date: Mon, 9 Aug 2021 19:54:55 -0500 Subject: Add SQL_PORT configuration Issue-ID: POLICY-3533 Change-Id: I03fc41332d4739d5a4d6cee5f86ba823714336d6 Signed-off-by: jhh --- .../src/main/feature/config/feature-state-management.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'feature-state-management/src/main') diff --git a/feature-state-management/src/main/feature/config/feature-state-management.properties b/feature-state-management/src/main/feature/config/feature-state-management.properties index 84309e41..da1b5486 100644 --- a/feature-state-management/src/main/feature/config/feature-state-management.properties +++ b/feature-state-management/src/main/feature/config/feature-state-management.properties @@ -21,9 +21,9 @@ # DB properties eclipselink.target-database=MySQL javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver -javax.persistence.jdbc.url=jdbc:mariadb://${env:SQL_HOST}:3306/statemanagement -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}/statemanagement +javax.persistence.jdbc.user=${envd:SQL_USER} +javax.persistence.jdbc.password=${envd:SQL_PASSWORD} # DroolsPDPIntegrityMonitor Properties # Test interface host and port defaults may be overwritten here -- cgit 1.2.3-korg