diff options
author | Jim Hahn <jrh3@att.com> | 2021-01-11 10:53:54 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-01-15 13:26:05 -0500 |
commit | 4e5bcfe2a7aeccebcea55c0146a38a931567ea75 (patch) | |
tree | 4da761b41ad14ac85424c4c5e660f36dde1c5f9d /main/src/test/resources/META-INF/persistence.xml | |
parent | 53cf24fc816b3b5702b403c3cd719cd3752936b5 (diff) |
Make PAP stateless
Removed old code that tracked the status using a cache. Modified the
code to use the status found in the DB instead.
Issue-ID: POLICY-2648
Change-Id: I4f1f5201eff7b3352631f50d67c40349ac7f2014
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'main/src/test/resources/META-INF/persistence.xml')
-rw-r--r-- | main/src/test/resources/META-INF/persistence.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/test/resources/META-INF/persistence.xml b/main/src/test/resources/META-INF/persistence.xml index 47ee9fd8..e49dafa4 100644 --- a/main/src/test/resources/META-INF/persistence.xml +++ b/main/src/test/resources/META-INF/persistence.xml @@ -2,6 +2,7 @@ <!-- ============LICENSE_START======================================================= Copyright (C) 2019-2020 Nordix Foundation. + Modifications Copyright (C) 2021 AT&T Intellectual Property. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -28,6 +29,7 @@ <class>org.onap.policy.models.dao.converters.Uuid2String</class> <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdp</class> <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpGroup</class> + <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpPolicyStatus</class> <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpStatistics</class> <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpSubGroup</class> <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaCapabilityAssignment</class> |