Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: New queries to get ISOs by StoragePoolIds
......................................................................


core: New queries to get ISOs by StoragePoolIds

Introduced two new queries to get ISO and Floppy RepoFileMetaDatas
according to the Storage POOL they are contained in.

This patch extracts the common functionallity from
AbstractGetAllImagesListQuery and allows overriding the
getStorageDoaminId() method.
For the new queries, this is done under the assumption there is but one
ISO domain per storage pool.

Change-Id: I86add10f226074792966d6d3efcc67499e459565
Signed-off-by: Allon Mureinik <amure...@redhat.com>
---
A 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AbstractGetAllImagesListByStoragePoolIdQuery.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AbstractGetAllImagesListQuery.java
A 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllFloppyImagesListByStoragePoolIdQuery.java
A 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllIsoImagesListByStoragePoolIdQuery.java
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AbstractQueryTest.java
A 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetAllImagesListByStoragePoolIdQueryTest.java
A 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetAllImagesListByStoragePoolIdParameters.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
8 files changed, 228 insertions(+), 5 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, but someone else must approve
  Yair Zaslavsky: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I86add10f226074792966d6d3efcc67499e459565
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to