Change in ovirt-engine[ovirt-engine-4.0]: restapi: Add links to disk storage domains

From Tal Nisan <tnisan@redhat.com>:
Tal Nisan has submitted this change and it was merged. Change subject: restapi: Add links to disk storage domains ...................................................................... restapi: Add links to disk storage domains Currently the server doesn't add links to the elements of the 'disk.storage_domains' list. This happens because the 'LinkHelper' doesn't take into account that elements of lists may also need links. To avoid that issue this patch changes the disks resource so that it adds those links explicitly. Change-Id: I1243ff5e164c807d06868de812a291cf2034c074 Bug-Url: https://bugzilla.redhat.com/1406064 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> (cherry picked from commit b639543c04ecf1d4a49a67d40c70a519e07c3adc) (cherry picked from commit 79c5d6c855bc517781a731afcd1478a8afc92b67) --- 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/BackendDisksResource.java 2 files changed, 29 insertions(+), 1 deletion(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/68905 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1243ff5e164c807d06868de812a291cf2034c074 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-4.0 Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review