summaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/test/resources/xacml.admin.properties
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-05-07 20:26:19 -0500
committerJorge Hernandez <jh1730@att.com>2018-05-07 20:26:19 -0500
commitf74bbc97aefb9c7e550b8e123581f1e4fa78f84d (patch)
treed48f9f012833048638e91126c3dde9263d4d6509 /POLICY-SDK-APP/src/test/resources/xacml.admin.properties
parent973929cfd6cd3e5ba3a837fa56d35b210307c9ac (diff)
fix PE DB lock timeout problems
see companion docker review. The failOverReadOnly .. flags should only be used when a DB high availability environment is used, such as a master/slave configuration. As they are the jdbc parameters have caused bad interactions with the underlying persistence libraries rendering the PAP useless. It is thought that this may perhaps solve POLICY-773, POLICY-775, POLICY-779, and perhaps POLICY-776. Change-Id: Icb69a3afc0a19969a34af40d960fa8e1b94aabc0 Issue-ID: POLICY-777 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'POLICY-SDK-APP/src/test/resources/xacml.admin.properties')
-rw-r--r--POLICY-SDK-APP/src/test/resources/xacml.admin.properties4
1 files changed, 2 insertions, 2 deletions
diff --git a/POLICY-SDK-APP/src/test/resources/xacml.admin.properties b/POLICY-SDK-APP/src/test/resources/xacml.admin.properties
index 333da49a5..363ab621f 100644
--- a/POLICY-SDK-APP/src/test/resources/xacml.admin.properties
+++ b/POLICY-SDK-APP/src/test/resources/xacml.admin.properties
@@ -81,7 +81,7 @@ xacml.testEnvironment.loginId =
#Log DB properties
xacml.log.db.driver=org.mariadb.jdbc.Driver
-xacml.log.db.url=jdbc:mariadb://localhost:3306/log?failOverReadOnly=false&autoReconnect=true
+xacml.log.db.url=jdbc:mariadb://localhost:3306/log?connectTimeout=30000&socketTimeout=60000&log=true&sessionVariables=max_statement_time=30
xacml.log.db.user=policy_user
xacml.log.db.password=policy_user
@@ -200,4 +200,4 @@ policyAdapter.impl.className = org.onap.policy.admin.PolicyAdapter
#Micro Service Model Properties
xacml.policy.msOnapName=http://org.onap
-xacml.policy.msPolicyName=http://org.onap.policy \ No newline at end of file
+xacml.policy.msPolicyName=http://org.onap.policy