Removed db-based statistics feature
[policy/api.git] / main / src / main / resources / META-INF / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4    Copyright (C) 2019-2020 Nordix Foundation.
5    Modifications Copyright (C) 2021 AT&T Intellectual Property.
6    Modification Copyright 2022 Nordix Foundation.
7    Modifications Copyright (C) 2023 Bell Canada. All rights reserved.
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12
13        http://www.apache.org/licenses/LICENSE-2.0
14
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20
21   SPDX-License-Identifier: Apache-2.0
22   ============LICENSE_END=========================================================
23 -->
24
25 <persistence
26     xmlns="http://java.sun.com/xml/ns/persistence"
27     version="2.0">
28     <persistence-unit
29         name="PolicyDb"
30         transaction-type="RESOURCE_LOCAL">
31         <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
32
33         <class>org.onap.policy.models.base.PfConceptKey</class>
34         <class>org.onap.policy.models.dao.converters.CDataConditioner</class>
35         <class>org.onap.policy.models.dao.converters.Uuid2String</class>
36         <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdp</class>
37         <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpGroup</class>
38         <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpPolicyStatus</class>
39         <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpSubGroup</class>
40         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaCapabilityAssignment</class>
41         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaCapabilityAssignments</class>
42         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaCapabilityType</class>
43         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaCapabilityTypes</class>
44         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaDataType</class>
45         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaDataTypes</class>
46         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaNodeTemplate</class>
47         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaNodeTemplates</class>
48         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaNodeType</class>
49         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaNodeTypes</class>
50         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaParameter</class>
51         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicies</class>
52         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicy</class>
53         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicyType</class>
54         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicyTypes</class>
55         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaProperty</class>
56         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaRelationshipType</class>
57         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaRelationshipTypes</class>
58         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaRequirement</class>
59         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaRequirements</class>
60         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaServiceTemplate</class>
61         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaTopologyTemplate</class>
62         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaTrigger</class>
63
64         <properties>
65             <property name="javax.persistence.schema-generation.database.action" value="none" />
66             <property name="eclipselink.ddl-generation" value="none" />
67             <property name="eclipselink.logging.level" value="WARNING" />
68         </properties>
69     </persistence-unit>
70 </persistence>