Change in ovirt-engine[master]: dal: Refactor VmDaoDbFacadeImpl row mapping

ofrenkel at redhat.com ofrenkel at redhat.com
Wed Jul 23 15:26:08 UTC 2014


Omer Frenkel has submitted this change and it was merged.

Change subject: dal: Refactor VmDaoDbFacadeImpl row mapping
......................................................................


dal: Refactor VmDaoDbFacadeImpl row mapping

Make VmRowMapper delegate to Vm{Static,Dynamic,Statistics}RowMapper
for suitable fields and remove duplication.

It was necessary to rename some of the columns in the vms and
vms_with_tags views to match those used in vm_static to make the
delegation possible.

Change-Id: Ifa158b5d7a37661cf4c1cc1f01ea4db062a8e11f
Signed-off-by: Martin Betak <mbetak at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmBaseDaoDbFacade.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmDAODbFacadeImpl.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmDynamicDAODbFacadeImpl.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmStaticDAODbFacadeImpl.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmStatisticsDaoDbFacadeImpl.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmTemplateDAODbFacadeImpl.java
M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/VmConditionFieldAutoCompleter.java
M backend/manager/modules/searchbackend/src/test/java/org/ovirt/engine/core/searchbackend/SyntaxCheckerTest.java
M packaging/dbscripts/create_views.sql
9 files changed, 105 insertions(+), 231 deletions(-)

Approvals:
  Martin Peřina: Looks good to me, but someone else must approve
  Martin Betak: Verified
  Omer Frenkel: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa158b5d7a37661cf4c1cc1f01ea4db062a8e11f
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Yaniv Dary <ydary at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list