summaryrefslogtreecommitdiffstats
path: root/feature-session-persistence/src/main/feature/config/feature-session-persistence.properties
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-02-14 12:52:31 -0500
committerJim Hahn <jrh3@att.com>2018-02-14 16:14:17 -0500
commitc83e35bab5aa44f01cb7a9089701ef963ee0c131 (patch)
treed76dfcdb85ecdde91202da22053876ab57f46204 /feature-session-persistence/src/main/feature/config/feature-session-persistence.properties
parentc5d5a9058d47eca9d4ac90308514ff8f1f9d0ca3 (diff)
Replace bitronix and eclipselink in persistence
Replaced bitronix transaction manager, which is not intended for production, with jboss transaction manager. Eliminated eclipselink so that only hibernate is used for persistence for both JPA and drools-persistence. Added more test cases to EntityMgrTrans to provide coverage for various exception types. Moved object store to features/session-persistence/jta. Wrapped RuntimeException in specific type. Modified test to throw specific exception type. Converted GenSchema from an @Test to a main(). Logged caught exceptions in junit tests. Change-Id: I4b02efc8da43d20b2dbb3c0b25adc382e80474ec Issue-ID: POLICY-191 Signed-off-by: Jim Hahn <jrh3@att.com>
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.properties5
1 files changed, 3 insertions, 2 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 6204b5ed..0f15e3aa 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
@@ -22,7 +22,8 @@ javax.persistence.jdbc.driver= org.mariadb.jdbc.Driver
javax.persistence.jdbc.url=jdbc:mariadb://${{SQL_HOST}}:3306/sessionpersistence
javax.persistence.jdbc.user=${{SQL_USER}}
javax.persistence.jdbc.password=${{SQL_PASSWORD}}
-hibernate.dataSource=org.mariadb.jdbc.MySQLDataSource
#Seconds timeout - 15 minutes
-persistence.sessioninfo.timeout=900 \ No newline at end of file
+persistence.sessioninfo.timeout=900
+
+persistence.objectstore.dir=features/session-persistence/jta