From c1c10205423db25bc6b69e0e23b4f56aa2dfbd25 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 26 Apr 2014 18:59:33 +0200 Subject: [PATCH] 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 --- cinder/api/versions.py | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/cinder/api/versions.py b/cinder/api/versions.py index 9981ee9705a..885e731aebb 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": [