Bug 870095

Summary: Avoid passing VM.vmPayload field data to client
Product: Red Hat Enterprise Virtualization Manager Reporter: Vojtech Szocs <vszocs>
Component: ovirt-engine-webadmin-portalAssignee: Einav Cohen <ecohen>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: high    
Version: 3.1.0CC: dyasny, ecohen, iheim, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ux
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-22 20:06:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vojtech Szocs 2012-10-25 14:35:14 UTC
Since "vmPayload" field in VM class is not "final", and since there's no custom field (de)serializer for VM class on frontend, entire "vmPayload" data is serialized and passed to client for each VM-related query. In practice, this is very inefficient when doing data refresh queries each few seconds.

This should be solved by writing custom field (de)serializer for VM class, which removes unnecessary "vmPayload" data.