Change in ovirt-engine[master]: restapi: Add support for V3 SD delete with body
juan.hernandez at redhat.com
juan.hernandez at redhat.com
Mon May 30 15:19:28 UTC 2016
Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Add support for V3 SD delete with body
......................................................................
restapi: Add support for V3 SD delete with body
Version 3 of the API supported the use of a body in the operation that
deletes a storage domain. This has been removed from version 4 of the
API, as bodies are in general forbidden for delete operations. But we
still need to support it for version 3 of the API, as that is how the
"format", "destroy" and "host" parameters are handled. This patch
modifies the backwards compatibility layer so that it accepts a body in
this case, and transforms the parameters into query parameters.
Change-Id: I37746b316f284854aab19674c0f9ab4d74cfbf9f
Bug-Url: https://bugzilla.redhat.com/1340164
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/servers/V3StorageDomainServer.java
1 file changed, 31 insertions(+), 0 deletions(-)
Approvals:
Tal Nisan: Looks good to me, but someone else must approve
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/58270
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I37746b316f284854aab19674c0f9ab4d74cfbf9f
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list