Change in ovirt-engine-sdk[sdk_4.1]: Merge link with element if it has same name

From Ondra Machacek <omachace@redhat.com>:
Ondra Machacek has submitted this change and it was merged. Change subject: Merge link with element if it has same name ...................................................................... Merge link with element if it has same name This patch merges the link and element if it has same name. For example when API returns following XML: <root> <link href='/link' rel'attrs'/> <attrs> <attr id='123'/> </attrs> </root> We must ensure that both the link and element are read and merged into single attribute of Python SDK, so user can later access the 'href' of the link as well as content of the 'attr' element. Change-Id: Ied8cdd24632083967cbc5c4d5528c8c1cf02ab63 Signed-off-by: Ondra Machacek <omachace@redhat.com> (cherry picked from commit eb50d0cb724a14e43981846ad10c37bc6325d50a) --- M generator/src/main/java/org/ovirt/sdk/python/ReadersGenerator.java A sdk/tests/test_affinity_group_reader.py 2 files changed, 101 insertions(+), 7 deletions(-) Approvals: Ondra Machacek: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/72035 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ied8cdd24632083967cbc5c4d5528c8c1cf02ab63 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: sdk_4.1 Gerrit-Owner: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review