Bug 977091 - [RESTAPI] Template's timezone property should be accessible in API
[RESTAPI] Template's timezone property should be accessible in API
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi (Show other bugs)
3.2.0
Unspecified Unspecified
unspecified Severity medium
: ---
: 3.5.0
Assigned To: Juan Hernández
Pavel Novotny
virt
:
Depends On:
Blocks: rhev3.5beta 1156165
  Show dependency treegraph
 
Reported: 2013-06-23 09:07 EDT by Ido Begun
Modified: 2015-02-17 03:28 EST (History)
9 users (show)

See Also:
Fixed In Version: org.ovirt.engine-root-3.5.0-4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-02-17 03:28:34 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ido Begun 2013-06-23 09:07:32 EDT
Description of problem:
Currently there's no way to view/edit the timezone property of a template in API, while it's possible in UI.
Since everything that can be done in UI should be also be available in API, we should have access to this property in API.

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

How reproducible:
100%

Steps to Reproduce:
GET request on template

Actual results:
Template has no timezone property.

Expected results:
<template ...>
...
<timezone>...</timezone>
...
</template>


Additional info:
This property exists for VM's in both UI and API.
Comment 4 Juan Hernández 2014-07-11 06:13:50 EDT
I'm checking this with latest upstream 3.5 master, and it works for me. I'm moving to MODIFIED so that QE can check it works with the next downstream release.
Comment 5 Pavel Novotny 2014-08-12 07:19:21 EDT
Verified upstream in ovirt-engine-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch (rc1).

REST API now exposes the time zone attribute. Applies for templates of all OS types.

GET /ovirt-engine/api/templates/<uuid>/ returns:

<template href="/ovirt-engine/api/templates/<uuid>">
...
  <timezone>America/Anchorage</timezone>
...
</template>
Comment 6 Omer Frenkel 2015-02-17 03:28:34 EST
RHEV-M 3.5.0 has been released

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