Change in ovirt-engine[master]: restapi: Tranform correctly arrays of bytes

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Mar 7 11:11:13 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Tranform correctly arrays of bytes
......................................................................


restapi: Tranform correctly arrays of bytes

Some of the methods of the system resource return arrays of bytes
instead of objects. For example, the "?schema" requests returns the XML
schema as an array of bytes. Currently this produces an exception
because the V3 output adapter doesn't know how to handle arrays of
bytes. This patch fixes that issue.

Change-Id: Id9476bd0ac0da315af27d9f63fa41bbb9fe1b7dd
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3OutAdapters.java
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id9476bd0ac0da315af27d9f63fa41bbb9fe1b7dd
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list