Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Add action to refresh host capabilities
......................................................................
restapi: Add action to refresh host capabilities
Currently the only way to refresh the host capabilities is to add the
"force" matrix parameter to the GET request of the host. This is mixing
resource retrevial and actions, which isn't good, and isn't supported by
the Python SDK. This patch adds a new "refreshcapabilities" action. The
existing "force" parameter is preserved for backwards compatibility, but
will be likely removed in the future.
Change-Id: I4ce36ac7f615b3c1b8a5b460ee1c1a482d6240fa
Bug-Url:
https://bugzilla.redhat.com/1197788
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
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
3 files changed, 31 insertions(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Michal Skrivanek: Looks good to me, but someone else must approve
--
To view, visit
https://gerrit.ovirt.org/38287
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4ce36ac7f615b3c1b8a5b460ee1c1a482d6240fa
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server