Update api-ref location

The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: Ie28caca2519b6e5940bb884876113b84d45c3048
This commit is contained in:
Andreas Jaeger 2019-07-22 18:29:25 +02:00
parent 5da4c6830f
commit c993775bd4
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
"rel": "self"
},
{
"href": "https://developer.openstack.org/api-ref/clustering",
"href": "https://docs.openstack.org/api-ref/clustering",
"rel": "help"
}
],

View File

@ -8,7 +8,7 @@
"rel": "self"
},
{
"href": "https://developer.openstack.org/api-ref/clustering",
"href": "https://docs.openstack.org/api-ref/clustering",
"rel": "help"
}
],

View File

@ -21,4 +21,4 @@ Follow the link below for the Senlin API V1 specification:
.. _`OpenStack API Complete Reference - Clustering`: https://developer.openstack.org/api-ref/clustering/
.. _`OpenStack API Complete Reference - Clustering`: https://docs.openstack.org/api-ref/clustering/

View File

@ -56,7 +56,7 @@ class VersionController(object):
"href": "/v1",
"rel": "self"}, {
"rel": "help",
"href": "https://developer.openstack.org/api-ref/clustering"
"href": "https://docs.openstack.org/api-ref/clustering"
}],
"min_version": cls._MIN_API_VERSION,
"max_version": cls._MAX_API_VERSION,

View File

@ -53,7 +53,7 @@ class VersionControllerTest(shared.ControllerTest, base.SenlinTestCase):
expected = [{
'href': '/v1',
'rel': 'self'}, {
'href': 'https://developer.openstack.org/api-ref/clustering',
'href': 'https://docs.openstack.org/api-ref/clustering',
'rel': 'help',
}]
self.assertEqual(expected, response['links'])