Update and replace http with https for doc links in aodh

1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: Ica85a0410e7f7d104d9d8cbe4ea9992233b1dd18
This commit is contained in:
shangxiaobj 2017-07-27 23:28:49 -07:00
parent 45b479aafa
commit 284e6c60af
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ def version_descriptor(base_url, version, released_on):
'id': version,
'links': [
{'href': url, 'rel': 'self', },
{'href': 'http://docs.openstack.org/',
{'href': 'https://docs.openstack.org/',
'rel': 'describedby', 'type': 'text/html', }],
'media-types': [
{'base': 'application/json', 'type': MEDIA_TYPE_JSON % version, },

View File

@ -26,7 +26,7 @@ V2_MEDIA_TYPES = [
]
V2_HTML_DESCRIPTION = {
'href': 'http://docs.openstack.org/',
'href': 'https://docs.openstack.org/',
'rel': 'describedby',
'type': 'text/html',
}

View File

@ -24,7 +24,7 @@ Sample response::
"rel": "self"
},
{
"href": "http://docs.openstack.org/",
"href": "https://docs.openstack.org/",
"rel": "describedby",
"type": "text/html"
}