yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51957
[Bug 1589264] [NEW] developer-api-ref for v2 shows incorrect response style for a GET on images/image_id
Public bug reported:
Matt Riedmann reported on IRC that the developer api reference for a
show call on an image http://developer.openstack.org/api-ref-
image-v2.html#showImage-v2 shows incorrect response.
Specifically, the expected outcome has a flat structure to the response
and the non-base-properties are indicated to be returned as a part of a
nested 'properties' dictionary. That's not correct as those properties
will be returned in the json response in the flat namespace like the
test indicates here
https://github.com/openstack/glance/blob/8dd23d0b9c7ca9bb521f56407f6f601db84771f9/glance/tests/functional/v2/test_images.py#L146
This is a bug specifically only to the api-ref and the work of WADL
transition makes it applicable to Glance and not documentation project.
We should fix this while the docs are being ported glance's tree.
** Affects: glance
Importance: High
Assignee: Brian Rosmaita (brian-rosmaita)
Status: Triaged
** Changed in: glance
Importance: Undecided => High
** Changed in: glance
Status: New => Triaged
** Changed in: glance
Assignee: (unassigned) => Brian Rosmaita (brian-rosmaita)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1589264
Title:
developer-api-ref for v2 shows incorrect response style for a GET on
images/image_id
Status in Glance:
Triaged
Bug description:
Matt Riedmann reported on IRC that the developer api reference for a
show call on an image http://developer.openstack.org/api-ref-
image-v2.html#showImage-v2 shows incorrect response.
Specifically, the expected outcome has a flat structure to the
response and the non-base-properties are indicated to be returned as a
part of a nested 'properties' dictionary. That's not correct as those
properties will be returned in the json response in the flat namespace
like the test indicates here
https://github.com/openstack/glance/blob/8dd23d0b9c7ca9bb521f56407f6f601db84771f9/glance/tests/functional/v2/test_images.py#L146
This is a bug specifically only to the api-ref and the work of WADL
transition makes it applicable to Glance and not documentation
project. We should fix this while the docs are being ported glance's
tree.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1589264/+subscriptions
Follow ups