Allon Mureinik has uploaded a new change for review.

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
accorxd 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 <[email protected]>
---
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, 255 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/48/4148/1
--
To view, visit http://gerrit.ovirt.org/4148
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86add10f226074792966d6d3efcc67499e459565
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to