summaryrefslogtreecommitdiffstats
path: root/examples/examples-aadm/src/test/resources
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-04-16 13:32:48 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-16 13:32:48 +0000
commitad9e9c590b5aadbd5f95fb6f93718f7922762cf1 (patch)
tree514aa3ccc88c6b4fea236e57450ff2d2f8d56b8c /examples/examples-aadm/src/test/resources
parent00ee73f723560c825818eab41a4d3db9785627d4 (diff)
parent3cb682fa71a1749fb99a47d7c8ede2b8984e2c07 (diff)
Merge "Fix Security and Unit Test DB issues"
Diffstat (limited to 'examples/examples-aadm/src/test/resources')
-rw-r--r--examples/examples-aadm/src/test/resources/META-INF/persistence.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/examples-aadm/src/test/resources/META-INF/persistence.xml b/examples/examples-aadm/src/test/resources/META-INF/persistence.xml
index eb28ad809..10a720dd7 100644
--- a/examples/examples-aadm/src/test/resources/META-INF/persistence.xml
+++ b/examples/examples-aadm/src/test/resources/META-INF/persistence.xml
@@ -57,10 +57,8 @@
<class>org.onap.policy.apex.model.policymodel.concepts.AxPolicyModel</class>
<properties>
- <property name="javax.persistence.jdbc.url" value="jdbc:derby:memory:apex_test" />
- <property name="javax.persistence.target-database" value="Derby" />
- <property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.EmbeddedDriver" />
-
+ <property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:testdb" />
+ <property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />
<property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
<property name="eclipselink.ddl-generation.output-mode" value="database" />
<property name="eclipselink.logging.level" value="INFO" />