Change in ovirt-engine[master]: restapi : list files with --max issue

yzaslavs at redhat.com yzaslavs at redhat.com
Tue Jan 8 15:11:11 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: restapi : list files with --max issue
......................................................................


restapi : list files with --max issue

List files wth --max parameter retrieves extra results
if the ISO domain has both .iso and .vfd files.

This patch comines the two into 1 query so that the
max number of results is the same as specfied by
--max

Change-Id: I7cf453d430f44dff8725ea11ecc0fa91d99844bc
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=886794
Signed-off-by: Ravi Nori <rnori at redhat.com>
---
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllImagesListQuery.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/FileTypeExtension.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendFilesResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendFilesResourceTest.java
5 files changed, 42 insertions(+), 16 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10029
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7cf453d430f44dff8725ea11ecc0fa91d99844bc
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list