Arik Hadas 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(a)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, 38 insertions(+), 5 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/54180
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9ac3388bd2c89c57d69d1766f9fb1c79f635452b
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shmuel Leib Melamud <smelamud(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>