Juan Hernandez has uploaded a new change for review. Change subject: sdk: Manually fix type of disk snapshots ......................................................................
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 Signed-off-by: Juan Hernandez <[email protected]> Change-Id: I54a5a99f325f3fd31b834b88d25353bb40242f43 --- M generator/src/main/resources/rsdl.xml 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk-java refs/changes/93/38193/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 https://gerrit.ovirt.org/38193 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I54a5a99f325f3fd31b834b88d25353bb40242f43 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk-java Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
