Change in ovirt-engine[master]: restapi: Use JAX-RS 2.0 API artifacts

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Jan 21 11:46:51 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Use JAX-RS 2.0 API artifacts
......................................................................


restapi: Use JAX-RS 2.0 API artifacts

The engine has been recently updated to work with WildFly 10. This
version of WildFly implements JAX-RS 2.0, but we are still using 1.x
artifacts for the build. This doesn't generate a real problem, but it
may in the future. This patch changes the POM files so that they use
versions of the artifact matching those provided by the application
server.

In addition, we are currently explicitly using the JAX-RS API artifacts
provided by Resteasy, which introduces a bit of locking. To avoid that
this patch changes the POM files so that they use more implementation
independent artifacts where possible. The Resteasy artifacts still be
needed by the tests, as they need an actual implementation of the JAX-RS
API.

Change-Id: I97ae0d6c9762d7e2130f4a1780a85bf8c1de38ec
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/common/jaxrs/pom.xml
M backend/manager/modules/restapi/interface/definition/pom.xml
M backend/manager/modules/restapi/jaxrs/pom.xml
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/AbstractBackendBaseTest.java
M backend/manager/modules/restapi/pom.xml
5 files changed, 69 insertions(+), 17 deletions(-)

Approvals:
  Martin Peřina: Looks good to me, approved
  Juan Hernandez: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/52549
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I97ae0d6c9762d7e2130f4a1780a85bf8c1de38ec
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list