Juan Hernandez has uploaded a new change for review. Change subject: codegen, sdk: Manually fix type of disk snapshots ......................................................................
codegen, sdk: Manually fix type of disk snapshots Currently the RSDL generator of the engine doesn't report correctly the type of disk snapshots collection, it reports "BaseResource" instead of "DiskSnapshot". The current version of the generator doesn't have a problem with this, because it doesn't use this information (it calculates it from the collection type, using plural to singular rules). But the new version of the generator will stick to the reported information, and will generate wrong code. To avoid this issue this patch fixes the type manually. The issue will be fixed in the engine by the following change: http://gerrit.ovirt.org/37755 Change-Id: I1e2d046c9f10f5bd7576671ec29b31e1a2799ce5 Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com> --- M generator/src/main/resources/rsdl.xml 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk refs/changes/64/37864/1 diff --git a/generator/src/main/resources/rsdl.xml b/generator/src/main/resources/rsdl.xml index eb4b691..855c047 100644 --- a/generator/src/main/resources/rsdl.xml +++ b/generator/src/main/resources/rsdl.xml @@ -10139,7 +10139,7 @@ <body/> </request> <response> - <type>BaseResource</type> + <type>DiskSnapshot</type> </response> </link> <link href="storagedomains/{storagedomain:id}/files" rel="get"> -- To view, visit http://gerrit.ovirt.org/37864 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1e2d046c9f10f5bd7576671ec29b31e1a2799ce5 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches