From 59b90519eda3b95b0cfc49b6349a591c7d0c78e2 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Mon, 7 Feb 2022 17:56:44 +0000 Subject: Remove JAXB and XML, use GSON for JSON This review converst apex-pdp to use GSON for JSON handling. In order to preserve backward compatibility with the JAXB format of JSON, custom handling of maps was required. Therefore, the policy-common StandardCoder could not be used. There are a lot of small changes, removing annotations from concepts and tweaking of test data. However, this cleans up the code base so it is worth doing. Issue-ID: POLICY-1820 Change-Id: I213fa64f6d7f3f1df8d10f111d9fbedbe80f9fe0 Signed-off-by: liamfallon --- .../plugins-event-protocol-xml/pom.xml | 110 --------------------- 1 file changed, 110 deletions(-) delete mode 100644 plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/pom.xml (limited to 'plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/pom.xml') diff --git a/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/pom.xml b/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/pom.xml deleted file mode 100644 index 743167d14..000000000 --- a/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/pom.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - 4.0.0 - - org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol - plugins-event-protocol - 2.7.1-SNAPSHOT - - - plugins-event-protocol-xml - ${project.artifactId} - [${project.parent.artifactId}] Plugin for handling events that are being transported in XML format - - - ${project.basedir}/src - - - - - org.onap.policy.common - utils - - - org.eclipse.persistence - eclipselink - - - org.jvnet.jaxb2_commons - jaxb2-basics-runtime - 1.11.1 - - - - - - - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin - 0.14.0 - - src/main/resources/xml - apex-event.xsd - src/main/resources/xml - apex-event.xjb - org.onap.policy.apex.plugins.event.protocol.xml.jaxb - true - true - true - true - - - org.jvnet.jaxb2_commons - jaxb2-basics - 1.11.1 - - - org.jvnet.jaxb2_commons - jaxb2-basics-annotate - 1.0.2 - - - org.jvnet.jaxb2_commons - jaxb2-value-constructor - 3.0 - - - - -Xannotate - -XtoString - -Xmergeable - -Xcopyable - -Xequals - -XhashCode - -Xvalue-constructor - - - - - generate - - generate - - - - - - - -- cgit 1.2.3-korg