Yair Zaslavsky has submitted this change and it was merged. Change subject: core: Adding new query ......................................................................
core: Adding new query Adding the query GetVmConfigurationBySnapshot. The snapshot will be obtained based on the snapshotID from the DB, and its configuration will be parsed and returned to the user. As this is a user query, a new version of "get" method at SnapshotDAO was added, accepting also userID and the filter flag (The permission is checked on the VM containing the snapshot). SnapshotDaoTest was modified accordingly as well Change-Id: I3155134ff9ad89bb50ec4baa8fd393844f80bb32 Acked-By: Mike Kolesnik --- M backend/manager/dbscripts/snapshots_sp.sql A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetVmConfigurationBySnapshotQuery.java A backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmConfigurationBySnapshotQueryTest.java A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetVmConfigurationBySnapshotQueryParams.java M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/SnapshotDao.java M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/SnapshotDaoDbFacadeImpl.java M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/SnapshotDaoTest.java 8 files changed, 305 insertions(+), 2 deletions(-) Approvals: Yair Zaslavsky: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/2295 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3155134ff9ad89bb50ec4baa8fd393844f80bb32 Gerrit-PatchSet: 26 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <[email protected]> Gerrit-Reviewer: Maor Lipchuk <[email protected]> Gerrit-Reviewer: Mike Kolesnik <[email protected]> Gerrit-Reviewer: Yair Zaslavsky <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
