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(a)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(a)redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>