Change in ovirt-engine[master]: restapi: Adapt "Link" header for V3

Juan Hernandez has submitted this change and it was merged. Change subject: restapi: Adapt "Link" header for V3 ...................................................................... restapi: Adapt "Link" header for V3 Version 4 of the API doesn't return the "capabilities" link because it doesn't exist. Version 3 of the API adds it explicitly, but only to the response body, it doesn't add it to the "Link" header. This patch modifies the V3 compatibility layer so that the "Link" header generated by version 4 of the API is removed and replaced by a value calculated from the request body, this way it will the body and the header will always be in sync. Change-Id: Ieb2ad00a84e671629d8303898c7b08cd300cded2 Bug-Url: https://bugzilla.redhat.com/1342226 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/servers/V3SystemServer.java 1 file changed, 47 insertions(+), 2 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/58992 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ieb2ad00a84e671629d8303898c7b08cd300cded2 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ori Liel <oliel@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
juan.hernandez@redhat.com