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 --- model/basic-model/pom.xml | 39 ++++++++------------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) (limited to 'model/basic-model/pom.xml') diff --git a/model/basic-model/pom.xml b/model/basic-model/pom.xml index 4d7930298..45d9978cf 100644 --- a/model/basic-model/pom.xml +++ b/model/basic-model/pom.xml @@ -18,10 +18,7 @@ ============LICENSE_END========================================================= --> - + 4.0.0 @@ -45,6 +42,12 @@ org.onap.policy.common utils + + + javax.xml.bind + jaxb-api + + org.onap.policy.apex-pdp.model @@ -77,30 +80,4 @@ test - - - - - org.codehaus.mojo - exec-maven-plugin - - - generate-xml-schema - process-classes - - java - - - org.onap.policy.apex.model.basicmodel.handling.ApexSchemaGenerator - compile - - org.onap.policy.apex.model.basicmodel.concepts.AxModel - ${project.build.directory}/model/xml/apex-basic-model.xsd - - - - - - - - + \ No newline at end of file -- cgit 1.2.3-korg