Change in ovirt-engine[ovirt-engine-3.6]: engine: ObjectIdentityChecker: Exclude transient fields from...

tnisan at redhat.com tnisan at redhat.com
Thu Mar 3 09:23:25 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: engine: ObjectIdentityChecker: Exclude transient fields from comparison
......................................................................


engine: ObjectIdentityChecker: Exclude transient fields from comparison

Added new TransientField annotation to mark fields that are not stored
in the DB so their values should be ignored when comparing objects with
ObjectIdentityChecker.

Change-Id: I9ac3388bd2c89c57d69d1766f9fb1c79f635452b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1238742
Signed-off-by: Shmuel Melamud <smelamud at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmHandler.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/TransientField.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmBase.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ObjectIdentityChecker.java
4 files changed, 35 insertions(+), 3 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Shmuel Leib Melamud: Verified
  Arik Hadas: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9ac3388bd2c89c57d69d1766f9fb1c79f635452b
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud 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