Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | feature-state-management |
| 5 | ================================================================================ |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 6 | Copyright (C) 2017-2018, 2020 AT&T Intellectual Property. All rights reserved. |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 11 | |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 12 | http://www.apache.org/licenses/LICENSE-2.0 |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 13 | |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ============LICENSE_END========================================================= |
| 20 | --> |
| 21 | |
| 22 | <persistence version="2.1" |
Pamela Dragosh | ad83319 | 2018-09-13 20:37:15 -0400 | [diff] [blame] | 23 | xmlns="http://xmlns.jcp.org/xml/ns/persistence" |
| 24 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 25 | xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 26 | |
Pamela Dragosh | ad83319 | 2018-09-13 20:37:15 -0400 | [diff] [blame] | 27 | <persistence-unit name="junitPU" |
| 28 | transaction-type="RESOURCE_LOCAL"> |
| 29 | <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> |
| 30 | <class>org.onap.policy.common.im.jpa.StateManagementEntity</class> |
| 31 | <class>org.onap.policy.common.im.jpa.ForwardProgressEntity</class> |
| 32 | <class>org.onap.policy.common.im.jpa.ResourceRegistrationEntity</class> |
| 33 | <class>org.onap.policy.drools.statemanagement.test.Audit</class> |
| 34 | <properties> |
| 35 | <property |
| 36 | name="javax.persistence.schema-generation.database.action" |
| 37 | value="drop-and-create" /> |
| 38 | <property |
| 39 | name="javax.persistence.schema-generation.scripts.action" |
| 40 | value="drop-and-create" /> |
| 41 | <property |
| 42 | name="javax.persistence.schema-generation.scripts.create-target" |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 43 | value="target/classes/META-INF/generatedCreateStateManagement.ddl" /> |
Pamela Dragosh | ad83319 | 2018-09-13 20:37:15 -0400 | [diff] [blame] | 44 | <property |
| 45 | name="javax.persistence.schema-generation.scripts.drop-target" |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 46 | value="target/classes/META-INF/generatedDropStateManagement.ddl" /> |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 47 | </properties> |
Pamela Dragosh | ad83319 | 2018-09-13 20:37:15 -0400 | [diff] [blame] | 48 | </persistence-unit> |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 49 | |
| 50 | </persistence> |