Asaf Shakarchi has submitted this change and it was merged.
Change subject: restapi: non admin user api - Filtering vms/vm pools (#783087)
......................................................................
restapi: non admin user api - Filtering vms/vm pools (#783087)
https://bugzilla.redhat.com/783087
- Support for filtering VM(s) when 'filter' header set to true
when accessing /api/vms & /api/vms/{id} urls.
- Support for filtering VM pool(s) when 'filter' header set to true
when accessing /api/vmpools & /api/vmpools/{id} urls.
- Added the 'filter' header to the rsdl metadata file in the appropriate names.
Change-Id: I8c7d3be5a61efa3c225dcab96e89c87e8e35839b
Signed-off-by: Asaf Shakarchi <asaf(a)redhat.com>
---
M
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata_v-3.1.yaml
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolsResource.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmsResource.java
3 files changed, 20 insertions(+), 9 deletions(-)
Approvals:
Asaf Shakarchi: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5039
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8c7d3be5a61efa3c225dcab96e89c87e8e35839b
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Asaf Shakarchi <asaf(a)redhat.com>
Gerrit-Reviewer: Asaf Shakarchi <asaf(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>