From e696cd9f5bafd0830017ad38355c2e8fe64f980b Mon Sep 17 00:00:00 2001 From: Chenfei Gao Date: Thu, 11 Apr 2019 18:47:26 -0400 Subject: Add junit tests for endpoints Add junit tests to improve code coverage to > 80%. Modify db setting and remove db authorization from persistence. Issue-ID: POLICY-1441 Change-Id: I6070ac9ba6adba836adeeb547610c27dccf577bd Signed-off-by: Chenfei Gao --- main/src/test/resources/META-INF/persistence.xml | 50 +++--------------------- 1 file changed, 5 insertions(+), 45 deletions(-) (limited to 'main/src/test/resources/META-INF') diff --git a/main/src/test/resources/META-INF/persistence.xml b/main/src/test/resources/META-INF/persistence.xml index 8812ebf6..cfd7d16d 100644 --- a/main/src/test/resources/META-INF/persistence.xml +++ b/main/src/test/resources/META-INF/persistence.xml @@ -2,20 +2,19 @@ @@ -34,49 +33,10 @@ org.onap.policy.models.pdp.persistence.concepts.JpaPdp - - - - - - - - - - - - org.eclipse.persistence.jpa.PersistenceProvider - - org.onap.policy.models.dao.converters.CDataConditioner - org.onap.policy.models.dao.converters.Uuid2String - org.onap.policy.models.base.PfConceptKey - org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicyType - org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicy - org.onap.policy.models.pdp.persistence.concepts.JpaPdpGroup - org.onap.policy.models.pdp.persistence.concepts.JpaPdpSubGroup - org.onap.policy.models.pdp.persistence.concepts.JpaPdp - - - - - - - - - - + - + \ No newline at end of file -- cgit 1.2.3-korg