Change in ovirt-engine[master]: restapi: non admin user api - Filtering vms/vm pools (#78308...

asaf at redhat.com asaf at redhat.com
Tue Jun 5 10:24:28 UTC 2012


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 at 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 at redhat.com>
Gerrit-Reviewer: Asaf Shakarchi <asaf at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>



More information about the Engine-commits mailing list