Update href for keystone extensions

Since the API docs have been moved to api-ref, and the docs maintained
in keystone-specs repo have been moved to attic. The href attribute
that points to old `specs.openstack.org` will not be a valid link, this
patch update them to point to the new site.

Change-Id: Idc4995509d262c74ce6d49c6c18b6452fae186d6
This commit is contained in:
Dave Chen 2016-08-22 11:09:43 +08:00
parent 4d5bcb1ee8
commit dd63146cf1
3 changed files with 5 additions and 6 deletions

View File

@ -38,8 +38,7 @@ EXTENSION_DATA = {
'links': [{
'rel': 'describedby',
'type': 'text/html',
'href': 'http://specs.openstack.org/openstack/keystone-specs/api/v3/'
'identity-api-v3-os-federation-ext.html',
'href': 'http://developer.openstack.org/api-ref-identity-v3-ext.html',
}]}
extension.register_admin_extension(EXTENSION_DATA['alias'], EXTENSION_DATA)
extension.register_public_extension(EXTENSION_DATA['alias'], EXTENSION_DATA)

View File

@ -72,8 +72,8 @@ EXTENSION_DATA = {
{
'rel': 'describedby',
'type': 'text/html',
'href': 'http://specs.openstack.org/openstack/keystone-specs/api/'
'v3/identity-api-v3-os-oauth1-ext.html',
'href': 'http://developer.openstack.org/'
'api-ref-identity-v3-ext.html',
}
]}
extension.register_admin_extension(EXTENSION_DATA['alias'], EXTENSION_DATA)

View File

@ -41,8 +41,8 @@ EXTENSION_DATA = {
{
'rel': 'describedby',
'type': 'text/html',
'href': 'http://specs.openstack.org/openstack/keystone-specs/api/'
'v3/identity-api-v3-os-revoke-ext.html',
'href': 'http://developer.openstack.org/'
'api-ref-identity-v3-ext.html',
}
]}
extension.register_admin_extension(EXTENSION_DATA['alias'], EXTENSION_DATA)