Change in ovirt-engine[master]: restapi: Removed the "force" parameter from request to get host
juan.hernandez at redhat.com
juan.hernandez at redhat.com
Wed Sep 23 16:07:34 UTC 2015
Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Removed the "force" parameter from request to get host
......................................................................
restapi: Removed the "force" parameter from request to get host
The request to retrieve a host used to support a "force" matrix
parameter to indicate that the data of the host should be refreshed
(calling VDSM to reload host capabilities and devices) before retrieving
it from the database:
GET /hosts/{host:id};force
This "force" parameter has been superseded by the host "refresh" action,
but kept for backwards compatibility. It has been completely removed
now. Applications that require this functionality should perform two
requests, first one to refresh the host:
POST /hosts/{host:id}/refresh
<action/>
And then one to retrieve it, without the "force" parameter:
GET /hosts/{host:id}
Change-Id: Ia888d20d9db8297372e500dfcfba46aacdb67895
Signed-off-by: Juan Hernandez <juan.hernandez at 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/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
4 files changed, 24 insertions(+), 50 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit https://gerrit.ovirt.org/46512
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia888d20d9db8297372e500dfcfba46aacdb67895
Gerrit-PatchSet: 4
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: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
More information about the Engine-commits
mailing list