Change in ovirt-engine[master]: restapi: Add support for JAXB annotations in JSON

mpastern at redhat.com mpastern at redhat.com
Tue Oct 22 09:55:19 UTC 2013


Michael Pasternak has submitted this change and it was merged.

Change subject: restapi: Add support for JAXB annotations in JSON
......................................................................


restapi: Add support for JAXB annotations in JSON

The default JSON provider included with RESTEasy 2.x doesn't take into
account the JAXB annotations, in particular it doesn't take into account
the annotations that specify the names of elements and this generates
inconsistencies in the names used in the XML representation and in the
JSON representation. In order to solve the problem this patch modifies
the JSON provider used by the application so that it takes into account
the JAXB annotations.

Change-Id: Ica39bbedd427dbf2f298b1292fe9a14f3825d6e5
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/pom.xml
D backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resteasy/json/CustomObjectMapper.java
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resteasy/json/JsonProvider.java
M backend/manager/modules/restapi/webapp/src/main/resources/META-INF/MANIFEST.MF
M backend/manager/modules/vdsbroker/pom.xml
M pom.xml
6 files changed, 49 insertions(+), 72 deletions(-)

Approvals:
  Michael Pasternak: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/20093
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ica39bbedd427dbf2f298b1292fe9a14f3825d6e5
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list