diff options
author | Dinh Danh Le <dinh.danh.le@ericsson.com> | 2018-07-15 02:52:33 +0100 |
---|---|---|
committer | Dinh Danh Le <dinh.danh.le@ericsson.com> | 2018-07-16 14:07:50 +0100 |
commit | 2df5543498c0fa0a2ba120eec744aa4cde929199 (patch) | |
tree | 2db4f026911e3a60d06ab468c2c041e1d7ff4672 /plugins/plugins-persistence/plugins-persistence-jpa/pom.xml | |
parent | 08b595c863b45e759e57ef419c83dad2b209df9c (diff) |
Refactor persistence JPA testing
Adding tests for EclipseLink and refactoring Hibernate testcases.
As both tests use the same test entities, the two existing test entity
classes from org.onap.policy.apex.plugins.persistence.jpa.hibernate
are moved to a newly created package
org.onap.policy.apex.context.test.entities under context-test-utils.
Relevent POM files are changed w.r.t this change. In particular,
1) add version infos as properties in apex-pdp/pom.xml
2) common dependencies related to Junit testing for EclipseLink and
Hibernate are moved to their parent plugins-persistence-jpa's POM.
Change-Id: I9d9387154cbfdfc69be49960b80e040b6fd35b5a
Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com>
Issue-ID: POLICY-862
Diffstat (limited to 'plugins/plugins-persistence/plugins-persistence-jpa/pom.xml')
-rw-r--r-- | plugins/plugins-persistence/plugins-persistence-jpa/pom.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/plugins-persistence/plugins-persistence-jpa/pom.xml b/plugins/plugins-persistence/plugins-persistence-jpa/pom.xml index 9a262fc55..ddf80b5c6 100644 --- a/plugins/plugins-persistence/plugins-persistence-jpa/pom.xml +++ b/plugins/plugins-persistence/plugins-persistence-jpa/pom.xml @@ -39,6 +39,21 @@ <artifactId>basic-model</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.onap.policy.apex-pdp.context</groupId> + <artifactId>context-test-utils</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>dom4j</groupId> + <artifactId>dom4j</artifactId> + <version>${version.dom4j}</version> + </dependency> </dependencies> <modules> |