From f9f55b74950a2fb39f76209c5392676d3e4d0e77 Mon Sep 17 00:00:00 2001 From: jhh Date: Thu, 9 Apr 2020 13:31:38 -0500 Subject: rename jpa persistence file After inspecting the fat jar generated by brmsgw, noticed that the persistence.xml included from here it was overriden by another one, therefore the persistence unit was not available. This may solve the issue for the brmsgw, as with a far jar build, there are the risks of collisions such as this of files with the same name. Issue-ID: POLICY-2471 Signed-off-by: jhh Change-Id: I91cf2b6d3d2f5086d77795e08800ca96d984c214 --- .../src/main/resources/META-INF/persistence.xml | 49 ---------------------- .../src/main/resources/META-INF/persistenceIM.xml | 49 ++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 integrity-monitor/src/main/resources/META-INF/persistence.xml create mode 100644 integrity-monitor/src/main/resources/META-INF/persistenceIM.xml (limited to 'integrity-monitor/src/main/resources') diff --git a/integrity-monitor/src/main/resources/META-INF/persistence.xml b/integrity-monitor/src/main/resources/META-INF/persistence.xml deleted file mode 100644 index 7aff9219..00000000 --- a/integrity-monitor/src/main/resources/META-INF/persistence.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - org.eclipse.persistence.jpa.PersistenceProvider - org.onap.policy.common.im.jpa.ImTestEntity - org.onap.policy.common.im.jpa.StateManagementEntity - org.onap.policy.common.im.jpa.ForwardProgressEntity - org.onap.policy.common.im.jpa.ResourceRegistrationEntity - NONE - - - - - - - - org.eclipse.persistence.jpa.PersistenceProvider - org.onap.policy.common.im.jpa.ImTestEntity - org.onap.policy.common.im.jpa.StateManagementEntity - org.onap.policy.common.im.jpa.ForwardProgressEntity - org.onap.policy.common.im.jpa.ResourceRegistrationEntity - NONE - - - - - diff --git a/integrity-monitor/src/main/resources/META-INF/persistenceIM.xml b/integrity-monitor/src/main/resources/META-INF/persistenceIM.xml new file mode 100644 index 00000000..7aff9219 --- /dev/null +++ b/integrity-monitor/src/main/resources/META-INF/persistenceIM.xml @@ -0,0 +1,49 @@ + + + + + + + org.eclipse.persistence.jpa.PersistenceProvider + org.onap.policy.common.im.jpa.ImTestEntity + org.onap.policy.common.im.jpa.StateManagementEntity + org.onap.policy.common.im.jpa.ForwardProgressEntity + org.onap.policy.common.im.jpa.ResourceRegistrationEntity + NONE + + + + + + + + org.eclipse.persistence.jpa.PersistenceProvider + org.onap.policy.common.im.jpa.ImTestEntity + org.onap.policy.common.im.jpa.StateManagementEntity + org.onap.policy.common.im.jpa.ForwardProgressEntity + org.onap.policy.common.im.jpa.ResourceRegistrationEntity + NONE + + + + + -- cgit 1.2.3-korg