Dan Kenigsberg has submitted this change and it was merged. Change subject: BindingXmlRPC - do_PUT to return created task id in header ......................................................................
BindingXmlRPC - do_PUT to return created task id in header Currently the execution result of "download" to image is being returned as json written to the response message body, this patch changes it so that in case of failure the failure details (error code and message) would be returned as json in the message body while in case of succesful task creation the task id would be returned in a header. this is needed so that when the abillity to upload an image from vdsm would be added, both operations will return a similar result (as in the "upload" operation the response message body would contain the contain the image data so we'll need to return the task id within the header). Change-Id: I25b13f44a65cb2c794c458b03ba361bf0af92120 Signed-off-by: Liron Aravot <[email protected]> Reviewed-on: http://gerrit.ovirt.org/27997 Reviewed-by: Federico Simoncelli <[email protected]> Reviewed-by: Nir Soffer <[email protected]> --- M vdsm/BindingXMLRPC.py 1 file changed, 11 insertions(+), 8 deletions(-) Approvals: Nir Soffer: Looks good to me, but someone else must approve Federico Simoncelli: Looks good to me, approved Liron Ar: Verified -- To view, visit http://gerrit.ovirt.org/27997 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I25b13f44a65cb2c794c458b03ba361bf0af92120 Gerrit-PatchSet: 7 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Liron Ar <[email protected]> Gerrit-Reviewer: Allon Mureinik <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Federico Simoncelli <[email protected]> Gerrit-Reviewer: Liron Ar <[email protected]> Gerrit-Reviewer: Nir Soffer <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
