Change in ovirt-engine[ovirt-engine-3.6]: core: VdsDao - adding getAllForStoragePoolAndStatuses()

tnisan at redhat.com tnisan at redhat.com
Tue Nov 24 13:04:33 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: core: VdsDao - adding getAllForStoragePoolAndStatuses()
......................................................................


core: VdsDao - adding getAllForStoragePoolAndStatuses()

This patch adds getAllForStoragePoolAndStatuses() to VdsDAO to provide
abillity to get hosts in different statuses in one db call instead of
calling getAllForStoragePoolAndStatus() multiple times and/or perform
filtering on the calling side.

Change-Id: I5984d5e683b8ae18268248cedb22c1ea66987037
Bug-Url: https://bugzilla.redhat.com/1256841
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/IdentifiableUtils.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/VdsDaoImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VdsDaoTest.java
M packaging/dbscripts/create_functions.sql
M packaging/dbscripts/vds_sp.sql
6 files changed, 69 insertions(+), 11 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved; Passed CI tests
  Liron Aravot: Verified



-- 
To view, visit https://gerrit.ovirt.org/48922
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5984d5e683b8ae18268248cedb22c1ea66987037
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list