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 host ...................................................................... restapi: Use matrix parameter instead of action to force remove host The operation that removes a host supports a "force" parameter. In order to use it the "DELETE" operation used to support an optional action parameter: DELETE /hosts/{host:id} <action> <force>true</force> </action> This patch removes the optional action parameter and replaces it with an optional matrix parameter: DELETE /hosts/{host:id};force=true Change-Id: I758d7d9a45b8c3f8bfedb212da0bd90e6b1f01cf 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/HostResource.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/BackendHostResource.java M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendHostResourceTest.java 5 files changed, 51 insertions(+), 47 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/47877 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I758d7d9a45b8c3f8bfedb212da0bd90e6b1f01cf Gerrit-PatchSet: 2 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