From: Andreas Jaeger Date: Sat, 26 Apr 2014 16:59:33 +0000 (+0200) Subject: Fix broken version responses X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c1c10205423db25bc6b69e0e23b4f56aa2dfbd25;p=openstack-build%2Fcinder-build.git Fix broken version responses The version responses link to non-existing PDF and WADL files. Remove the WADL link and replace the PDF link with a HTML link to docs.openstack.org. Change-Id: Id514caee32df430b616609144f52d1a58c93d9cd Closes-Bug: #1313118 Closes-Bug: #1313116 --- diff --git a/cinder/api/versions.py b/cinder/api/versions.py index 9981ee970..885e731ae 100644 --- a/cinder/api/versions.py +++ b/cinder/api/versions.py @@ -35,16 +35,8 @@ _KNOWN_VERSIONS = { "links": [ { "rel": "describedby", - "type": "application/pdf", - "href": "http://jorgew.github.com/block-storage-api/" - "content/os-block-storage-1.0.pdf", - }, - { - "rel": "describedby", - "type": "application/vnd.sun.wadl+xml", - #(anthony) FIXME - "href": "http://docs.rackspacecloud.com/" - "servers/api/v1.1/application.wadl", + "type": "text/html", + "href": "http://docs.openstack.org/", }, ], "media-types": [ @@ -65,16 +57,8 @@ _KNOWN_VERSIONS = { "links": [ { "rel": "describedby", - "type": "application/pdf", - "href": "http://jorgew.github.com/block-storage-api/" - "content/os-block-storage-1.0.pdf", - }, - { - "rel": "describedby", - "type": "application/vnd.sun.wadl+xml", - #(anthony) FIXME - "href": "http://docs.rackspacecloud.com/" - "servers/api/v1.1/application.wadl", + "type": "text/html", + "href": "http://docs.openstack.org/", }, ], "media-types": [