Michael Kublin has submitted this change and it was merged.
Change subject: core : Changing GetVmsByImageGuidQuery to GetVmsByDiskGuidQuery
......................................................................
core : Changing GetVmsByImageGuidQuery to GetVmsByDiskGuidQuery
From now there are no need for retrieve a vms by imageGuid, the vms
should be retrieved
by diskId.
The following patch is providing a needed change and some clean up
Change-Id: Iaa020e682cd4545249dd87ad825f8b39e8be2d8d
Signed-off-by: Michael Kublin <mkublin(a)redhat.com>
---
M backend/manager/dbscripts/create_views.sql
M backend/manager/dbscripts/vms_sp.sql
A
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetVmsByDiskGuidQuery.java
D
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetVmsByImageGuidQuery.java
M
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmsByImageGuidQueryTest.java
A
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetVmsByDiskGuidParameters.java
D
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetVmsByImageGuidParameters.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
M
backend/manager/modules/common/src/test/java/org/ovirt/engine/core/common/queries/GetVmsByImageGuidParametersTest.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmDAO.java
M
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmDAODbFacadeImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VmDAOTest.java
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/disks/DiskVmListModel.java
13 files changed, 71 insertions(+), 121 deletions(-)
Approvals:
Michael Kublin: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/4621
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa020e682cd4545249dd87ad825f8b39e8be2d8d
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>