Juan Hernandez has posted comments on this change.

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


Patch Set 2:

(3 comments)

....................................................
File backend/manager/modules/restapi/jaxrs/pom.xml
Line 55:       <groupId>org.codehaus.jackson</groupId>
Line 56:       <artifactId>jackson-jaxrs</artifactId>
Line 57:       <version>${jackson-jaxrs.version}</version>
Line 58:     </dependency>
Line 59: 
Done
Line 60:     <dependency>
Line 61:       <groupId>org.yaml</groupId>
Line 62:       <artifactId>snakeyaml</artifactId>
Line 63:       <version>1.8</version>


....................................................
File 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/json/JsonJAXBAnnotationAwareProvider.java
Line 22:  */
Line 23: @Provider
Line 24: @Consumes(MediaType.APPLICATION_JSON)
Line 25: @Produces(MediaType.APPLICATION_JSON)
Line 26: public class JsonJAXBAnnotationAwareProvider extends 
JacksonJsonProvider {
Done
Line 27:     public JsonJAXBAnnotationAwareProvider() {
Line 28:         // We want a mapper that only takes into account the JAXB 
annotations:
Line 29:         super(Annotations.JAXB);
Line 30: 


....................................................
File pom.xml
Line 80:     <javax.mail.version>1.4.4</javax.mail.version>
Line 81:     <hibernate-validator.version>4.0.2.GA</hibernate-validator.version>
Line 82:     <jackson-core-asl.version>1.9.4</jackson-core-asl.version>
Line 83:     <jackson-mapper-asl.version>1.9.4</jackson-mapper-asl.version>
Line 84:     <jackson-jaxrs.version>1.9.4</jackson-jaxrs.version>
It is available upstream, I did package it for Fedora some time ago. Anyhow 
Jackson is included in JBoss AS 7, so we don't have to worry directly about 
this.
Line 85:     <commons-configuration.version>1.6</commons-configuration.version>
Line 86:     <commons-jxpath.version>1.3</commons-jxpath.version>
Line 87:     <jaxb-impl.version>2.2</jaxb-impl.version>
Line 88:     <jbosssx-bare.version>2.0.4</jbosssx-bare.version>


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ica39bbedd427dbf2f298b1292fe9a14f3825d6e5
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to