From a3241bec1cf1ae5fd514923ba5f923abc5427762 Mon Sep 17 00:00:00 2001 From: ktimoney Date: Tue, 13 Apr 2021 14:40:06 +0100 Subject: Add a new key class which uses @GeneratedValue to base classes This will provide an alternative unique key. It will be used in place of PfTimestampKey in the PdpStatistics table. We make use of the @GeneratedValue annotation to provide this feature. Added DummyGeneratedIdEntity and unit tests Added PfFilterFactory class Added new filter classes Issue-ID: POLICY-3189 Change-Id: I097eab318d2cb958e1157e35825fd6d35d429a25 Signed-off-by: ktimoney --- models-dao/src/test/resources/META-INF/persistence.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'models-dao/src/test/resources/META-INF') diff --git a/models-dao/src/test/resources/META-INF/persistence.xml b/models-dao/src/test/resources/META-INF/persistence.xml index 3d1f4ff27..fca31e2c6 100644 --- a/models-dao/src/test/resources/META-INF/persistence.xml +++ b/models-dao/src/test/resources/META-INF/persistence.xml @@ -29,6 +29,7 @@ org.onap.policy.models.dao.DummyConceptEntity org.onap.policy.models.dao.DummyReferenceEntity org.onap.policy.models.dao.DummyTimestampEntity + org.onap.policy.models.dao.DummyGeneratedIdEntity -- cgit 1.2.3-korg