Commit Graph

2 Commits

Author SHA1 Message Date
jichenjc e516de74c1 Remove project id in ViewBuilder alternate link
Clearly nobody really uses the "application/vnd.openstack.image"
links in the returned results from GET /v2/{tenant}/images
REST API call, since the link URI returned in it is wrong.

Glance URIs do *not* contain a project or tenant in the URI
structure like Nova's REST API URIs do, but _get_alternate_link()
method of the image ViewBuilder tacks it on improperly:

Change-Id: I4ccb5628569c60026a1772df0794ac0271c48db3
Closes-Bug: #1343080
2014-10-22 14:23:18 +08:00
Tiago Mello 15a395f4b5 Adds API Sample tests for DiskConfig extension.
Partially implements blueprint nova-api-samples
Fixes bug 1070158

Change-Id: Ied2efc3ae17599b61133247273a7a4bec9020927
2012-12-12 13:01:40 -02:00