Bug 1194216 - [REGENERATE PYTHON SDK] Document All-Content header in RSDL and add it to SDKs
Summary: [REGENERATE PYTHON SDK] Document All-Content header in RSDL and add it to SDKs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-sdk
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.5.2
Assignee: Juan Hernández
QA Contact: Antonin Pagac
URL:
Whiteboard: infra
Depends On: 1194185
Blocks: 1193058
TreeView+ depends on / blocked
 
Reported: 2015-02-19 10:55 UTC by Juan Hernández
Modified: 2016-02-10 19:32 UTC (History)
8 users (show)

Fixed In Version: ovirt-engine-sdk-python-3.5.2.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 1194185
Environment:
Last Closed: 2015-04-29 06:20:28 UTC
oVirt Team: Infra
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 37953 0 None None None Never

Description Juan Hernández 2015-02-19 10:55:35 UTC
+++ This bug was initially created as a clone of Bug #1194185 +++

Description of problem:

Some information is hidden from REST unless All-Content is set, but the header is not documented and the SDK does not support it.

One example is HA score (hosted engine) of a Host. It is set in org.ovirt.engine.api.restapi.resource.BackendHostResource#doPopulate and not present in HostMapper.

There is no way to get this data using Java SDK.

Version-Release number of selected component (if applicable):

oVirt 3.4, oVirt 3.5 components (engine, Java SDK)

How reproducible:

Always.

Additional info:

I consider HA score to be important value and I would prefer if it was always present. But that is another issue. Also the All-Content header is not properly documented anywhere and if it is then our documentation is a mess...

Comment 1 Antonin Pagac 2015-03-26 13:02:42 UTC
ovirt-engine-sdk-python-3.5.2.0-1.el6.noarch

All-Content header now can be used with api.hosts.list() as well as api.hosts.get() method.

Comment 2 Eyal Edri 2015-04-29 06:20:28 UTC
ovirt 3.5.2 was GA'd. closing current release.


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