Change in ovirt-engine[ovirt-engine-4.0]: core: fix the serialization of vm statistics for gwt

Code Review gerrit at ovirt.org
Tue Dec 27 12:56:41 UTC 2016


>From Tal Nisan <tnisan at redhat.com>:

Tal Nisan has submitted this change and it was merged.

Change subject: core: fix the serialization of vm statistics for gwt
......................................................................


core: fix the serialization of vm statistics for gwt

VmStatistics class used to use collections that gwt cannot deserialize to
store the history of different statistics (cpu, memory, network). It was not
a problem before because the UI got VmStatistics that were retrieved from
the database and during the construction of the entities, collections that
can be deserialized by gwt were used instead. But now that were going to
send VmStatistics that are managed in-memory we must use collections that
can be deserialized by gwt.

Change-Id: I51b337e9d42a471bfd0cc11ad0fe9c2ca4ff9207
Bug-Url: https://bugzilla.redhat.com/1408725
Signed-off-by: Tomas Jelinek <tjelinek at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmStatistics.java
1 file changed, 7 insertions(+), 7 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Arik Hadas: Verified
  Oved Ourfali: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I51b337e9d42a471bfd0cc11ad0fe9c2ca4ff9207
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali 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