Dan Kenigsberg has submitted this change and it was merged.
Change subject: jsonrpc cli: allow client to return compatible results to xmlrpc ......................................................................
jsonrpc cli: allow client to return compatible results to xmlrpc
Bridge transforms the return value for different verbs results returning from vdsm API. Some code expects the old return results of API compatible with xmlrpc.
The compat parameter allows us to return a value that is compatible with the way xmlrpc is parsed and we'll be able to remove this once we stop supporting xmlrpc API.
Until then using this intermediate step is the most straight-forward way and saves us the unnecessary hassle of re-translating the bridge work once its done parsing the result from API.
Change-Id: Id0bbbb46f622e60824cf5d25670fd16889f4fc51 Signed-off-by: Yeela Kaplan ykaplan@redhat.com Reviewed-on: https://gerrit.ovirt.org/47923 Reviewed-by: Yaniv Bronhaim ybronhei@redhat.com Reviewed-by: Dan Kenigsberg danken@redhat.com Continuous-Integration: Jenkins CI Reviewed-by: Piotr Kliczewski piotr.kliczewski@gmail.com --- M lib/vdsm/jsonrpcvdscli.py M lib/vdsm/response.py 2 files changed, 22 insertions(+), 3 deletions(-)
Approvals: Piotr Kliczewski: Looks good to me, but someone else must approve Yeela Kaplan: Verified Yaniv Bronhaim: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests Dan Kenigsberg: Looks good to me, approved