Tal Nisan has submitted this change and it was merged.
Change subject: restapi: JAXB provider
......................................................................
restapi: JAXB provider
Currently we use a custom message body reader to parse XML input
documents, and we use the default message body writer to generate XML
documents. This patch converts the custom message body reader into a
provider that acts as both reader and writer. This reduces the number of
JAXB contexts created and will simplify removing some dependencies on
Resteasy.
Change-Id: I5208c9d41ab892f55c85ef095f25648f1a95d8df
Bug-Url:
https://bugzilla.redhat.com/1250140
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit 8c488a8195e797f55fad7bce9fb8bcbd7818ab12)
---
R
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/xml/JAXBProvider.java
M
backend/manager/modules/restapi/interface/definition/src/main/modules/org/ovirt/engine/api/restapi-definition/main/module.xml
M
backend/manager/modules/restapi/interface/definition/src/main/resources/META-INF/services/javax.ws.rs.ext.Providers
3 files changed, 79 insertions(+), 8 deletions(-)
Approvals:
Ori Liel: Looks good to me, approved
Juan Hernandez: Verified
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/44932
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5208c9d41ab892f55c85ef095f25648f1a95d8df
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org