
Juan Hernandez has submitted this change and it was merged. Change subject: restapi: Remove the "snapshots.collapse_snapshots" element ...................................................................... restapi: Remove the "snapshots.collapse_snapshots" element This element isn't really part of the representation of snapshots, but a parameter of the operation that imports a virtual machine from an export storage domain: POST /storagedomains/{sd:id}/vms/{vm:id}/import <action> <vm> <snapshots> <collapse_snapshots>true</collapse_snapshots> </snapshots> </vm> </action> This patch removes this element, replacing it by a new "collapse_snapshots" matrix parameter: POST /storagedomains/{sd:id}/vms/{vm:id}/import;collapse_snapshots <action/> Change-Id: I3c0b5addf2be7b08b53699ac60fce2ae0256ee02 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M backend/manager/modules/restapi/README.md M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml M backend/manager/modules/restapi/interface/definition/src/main/schema/api.xsd M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainVmResource.java M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainVmResourceTest.java 5 files changed, 47 insertions(+), 19 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests -- To view, visit https://gerrit.ovirt.org/46767 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3c0b5addf2be7b08b53699ac60fce2ae0256ee02 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: automation@ovirt.org