Change in ovirt-engine[master]: restapi: Fix system errata server

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri May 13 16:30:51 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Fix system errata server
......................................................................


restapi: Fix system errata server

In version 3 of the engine the system errata resource was implemented
using an empty interface as a placeholder for the required JAX-RS
annotations. But in version 4 of the engine the classes that implement
the V3 compatibility layer don't use inheritance, and as a result this
resource is actually empty. This patch fixes that, removing the empty
class and replacing it with the generic errata implementation.

Change-Id: I1ef667d5e9a0e698a7f4bafb7a7843e61ced019d
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
D backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/servers/V3EngineKatelloErrataServer.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/servers/V3SystemServer.java
2 files changed, 2 insertions(+), 31 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1ef667d5e9a0e698a7f4bafb7a7843e61ced019d
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: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list