From c83e35bab5aa44f01cb7a9089701ef963ee0c131 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 14 Feb 2018 12:52:31 -0500 Subject: 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 --- feature-session-persistence/pom.xml | 39 ++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) (limited to 'feature-session-persistence/pom.xml') diff --git a/feature-session-persistence/pom.xml b/feature-session-persistence/pom.xml index a8b01f8a..70d37f23 100644 --- a/feature-session-persistence/pom.xml +++ b/feature-session-persistence/pom.xml @@ -106,6 +106,11 @@ ${project.version} provided + + org.onap.policy.common + utils + ${project.version} + org.powermock powermock-api-mockito @@ -142,11 +147,17 @@ 3.21.0-GA test - - org.codehaus.btm - btm - 2.1.4 - + + org.jboss.jbossts + jbossjta + 4.16.6.Final + + + jboss-servlet-api_3.0_spec + org.jboss.spec.javax.servlet + + + com.h2database h2 @@ -164,14 +175,20 @@ provided - junit - junit - provided + org.apache.commons + commons-dbcp2 + 2.1.1 - org.eclipse.persistence - eclipselink - provided + org.apache.commons + commons-pool2 + 2.4.2 + + + + junit + junit + test -- cgit 1.2.3-korg