Change in ovirt-engine[master]: restapi: Use matrix parameter instead of action to force rem...

Juan Hernandez has submitted this change and it was merged. Change subject: restapi: Use matrix parameter instead of action to force remove data center ...................................................................... restapi: Use matrix parameter instead of action to force remove data center The operation that removes a data center supports a "force" parameter. In order to use it the "DELETE" operation used to support an optional action parameter: DELETE /datacenters/{datacenter:id} <action> <force>true</force> </action> This patch removes the optional action parameter and replaces it with an optional matrix parameter: DELETE /datacenters/{datacenter:id};force=true Change-Id: I77873f2401f51f1c94b80ac6a05d8bb4c33e5d9e 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/java/org/ovirt/engine/api/resource/DataCenterResource.java M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDataCenterResource.java M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendDataCenterResourceTest.java 5 files changed, 60 insertions(+), 55 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests Objections: Jenkins CI: Failed CI tests -- To view, visit https://gerrit.ovirt.org/47873 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I77873f2401f51f1c94b80ac6a05d8bb4c33e5d9e 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
participants (1)
-
juan.hernandez@redhat.com