Change in ovirt-engine[master]: core: filter the vds by query

lhornyak at redhat.com lhornyak at redhat.com
Wed Jul 4 15:21:58 UTC 2012


Laszlo Hornyak has submitted this change and it was merged.

Change subject: core: filter the vds by query
......................................................................


core: filter the vds by query

Moves some filtering logic to the DB query. These filters are:
- type
- vds group id
- status
- minimum number of cpu's

Change-Id: Ia899a81c46f7c0b3fc1e6addecaeb874d356df00
Signed-off-by: Laszlo Hornyak <lhornyak at redhat.com>
---
M backend/manager/dbscripts/vds_sp.sql
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsSelector.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDAO.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDAODbFacadeImpl.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDAOWrapperImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VdsDAOTest.java
6 files changed, 93 insertions(+), 136 deletions(-)

Approvals:
  Laszlo Hornyak: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia899a81c46f7c0b3fc1e6addecaeb874d356df00
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>



More information about the Engine-commits mailing list