
Juan Hernandez has submitted this change and it was merged. Change subject: codegen, sdk: Rename "export" to "export_" ...................................................................... codegen, sdk: Rename "export" to "export_" The classes generated by the generateDS.py tool contain an "export" method intended to convert the objects to the corresponding XML document. The broker classes generated by our own code generator also generate "export" methods for some resources that have an "export" action, for example virtual machines. These two methods clash, making it impossible to generate XML for some broker classes. To avoid this class this patch modifies our code generator so that it will modify the code generated with generateDS.py, renaming the "export" method to "export_". Change-Id: Iad8a031684ddaed11c1b11efc379e746888cd0a2 Bug-Url: https://bugzilla.redhat.com/1167851 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M Makefile M generator/src/main/java/org/ovirt/engine/sdk/generator/xsd/XsdCodegen.java M src/ovirtsdk/infrastructure/brokers.py M src/ovirtsdk/infrastructure/common.py M src/ovirtsdk/utils/parsehelper.py M src/ovirtsdk/xml/params.py 6 files changed, 831 insertions(+), 816 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/35562 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iad8a031684ddaed11c1b11efc379e746888cd0a2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ravi Nori <rnori@redhat.com> Gerrit-Reviewer: automation@ovirt.org