Change in ovirt-engine[master]: core: VdsNetworkInterface to support empty properties map

lvernia at redhat.com lvernia at redhat.com
Wed Apr 30 06:47:27 UTC 2014


Lior Vernia has submitted this change and it was merged.

Change subject: core: VdsNetworkInterface to support empty properties map
......................................................................


core: VdsNetworkInterface to support empty properties map

Instead of implicitly assuming that custom properties are either null
or a meaningful collection, a method is added to check whether
meaningful properties exist, and the DAO is updated as well to not
trash the DB with empty collections.

Change-Id: Ie1cad7133800b4b8c2b7eb7e8be0be80a1e5cb9b
Signed-off-by: Lior Vernia <lvernia at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/network/VdsNetworkInterface.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/network/InterfaceDaoDbFacadeImpl.java
2 files changed, 6 insertions(+), 2 deletions(-)

Approvals:
  Lior Vernia: Verified
  Moti Asayag: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie1cad7133800b4b8c2b7eb7e8be0be80a1e5cb9b
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list