Bug 861083 - missing value of storage_manager in JSON format
Summary: missing value of storage_manager in JSON format
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.1.0
Assignee: Michael Pasternak
QA Contact: Oded Ramraz
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 13:23 UTC by Gal Leibovici
Modified: 2016-02-10 20:24 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-12 07:13:45 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
JSON response (2.54 KB, application/json)
2012-09-27 13:42 UTC, Gal Leibovici
no flags Details
XML response (2.48 KB, text/xml)
2012-09-27 13:43 UTC, Gal Leibovici
no flags Details

Description Gal Leibovici 2012-09-27 13:23:44 UTC
In Host object, in xml we have an a value for storage_manager (true|false) but no so in JSON.

for ex. XML response: http://pastebin.test.redhat.com/108461
JSON response: http://pastebin.test.redhat.com/108459

You can reproduce by making a get request to /api/hosts, one time normally and one time with HTTP header "Accept" with value "application/json".

Comment 2 Gal Leibovici 2012-09-27 13:42:45 UTC
Created attachment 618071 [details]
JSON response

Comment 3 Gal Leibovici 2012-09-27 13:43:22 UTC
Created attachment 618072 [details]
XML response

Comment 6 Michael Pasternak 2012-10-03 06:47:48 UTC
i think its a bug in resteasy json-provider

Comment 11 Itamar Heim 2013-05-12 07:13:45 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.