Roy Golan has submitted this change and it was merged.
Change subject: core: Ignoring specParams when serialization
......................................................................
core: Ignoring specParams when serialization
SpecParams isn't needed in serialization and fails the desialization due
to abstract type usage (java.util.Map)
JsonIgnore on a getter method simply doesn't work at current Jackson impl
unless used in a MixIn.
Added a new Mixin for VmPayload
Removed @JsonIgnore from VMPayload class
Bug-Url:
https://bugzilla.redhat.com/985008
Change-Id: I33a6e38a83a715aa359497e0089c16b610d1234a
Signed-off-by: Roy Golan <rgolan(a)redhat.com>
---
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmPayload.java
M
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/serialization/json/JsonObjectSerializer.java
A
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/serialization/json/JsonVmPayloadMixIn.java
3 files changed, 18 insertions(+), 7 deletions(-)
Approvals:
Roy Golan: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/18805
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I33a6e38a83a715aa359497e0089c16b610d1234a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server