yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54198
[Bug 1589264] Re: developer-api-ref for v2 shows incorrect response style for a GET on images/image_id
Reviewed: https://review.openstack.org/332950
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=c028c2d23e3f32703f502e8919654df83f94e179
Submitter: Jenkins
Branch: master
commit c028c2d23e3f32703f502e8919654df83f94e179
Author: bria4010 <brian.rosmaita@xxxxxxxxxxxxx>
Date: Wed Jun 22 14:04:32 2016 -0400
WADL to RST migration (part 2 - images)
This brings the Images API Reference to the glance tree as part of the
effort described here:
https://wiki.openstack.org/wiki/Documentation/Migrate#API_Reference_Plan
This patch contains the content of the Images v2 API reference converted
to RST. The content has been corrected where I noticed divergences with
reality (which actually happened a lot, so this patch contains a lot of
revisions).
Tasks and metadefs are submitted as separate patches.
Change-Id: If69c469da7f28f090a2286ec0b115d9bcaac4fbf
Closes-Bug: #1550457
Closes-Bug: #1589264
Closes-Bug: #1592715
** Changed in: glance
Status: In Progress => Fix Released
--
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:
Fix Released
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
References