Change in ovirt-engine[master]: restapi: GET vm nic/disk does not work

oliel at redhat.com oliel at redhat.com
Wed May 16 13:52:15 UTC 2012


Ori Liel has submitted this change and it was merged.

Change subject: restapi: GET vm nic/disk does not work
......................................................................


restapi: GET vm nic/disk does not work

In a recent change, an interface method with a generic return value
was overriden in an inheriting interface, and the generic return
value was replaced with the concrete return value. Rest-easy seems to
have difficulties with this.

This patch overrides the method in the implementing class and calls
super(), which seems to resolve the ambiguity for rest-easy.

Change-Id: Id1df3c20e593cd78b022d5b26582a1da8f4043f9
Signed-off-by: Ori Liel <oliel at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDiskResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResource.java
2 files changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Ori Liel: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id1df3c20e593cd78b022d5b26582a1da8f4043f9
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>



More information about the Engine-commits mailing list