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:
parent
45b479aafa
commit
284e6c60af
@ -37,7 +37,7 @@ def version_descriptor(base_url, version, released_on):
|
|||||||
'id': version,
|
'id': version,
|
||||||
'links': [
|
'links': [
|
||||||
{'href': url, 'rel': 'self', },
|
{'href': url, 'rel': 'self', },
|
||||||
{'href': 'http://docs.openstack.org/',
|
{'href': 'https://docs.openstack.org/',
|
||||||
'rel': 'describedby', 'type': 'text/html', }],
|
'rel': 'describedby', 'type': 'text/html', }],
|
||||||
'media-types': [
|
'media-types': [
|
||||||
{'base': 'application/json', 'type': MEDIA_TYPE_JSON % version, },
|
{'base': 'application/json', 'type': MEDIA_TYPE_JSON % version, },
|
||||||
|
@ -26,7 +26,7 @@ V2_MEDIA_TYPES = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
V2_HTML_DESCRIPTION = {
|
V2_HTML_DESCRIPTION = {
|
||||||
'href': 'http://docs.openstack.org/',
|
'href': 'https://docs.openstack.org/',
|
||||||
'rel': 'describedby',
|
'rel': 'describedby',
|
||||||
'type': 'text/html',
|
'type': 'text/html',
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ Sample response::
|
|||||||
"rel": "self"
|
"rel": "self"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"href": "http://docs.openstack.org/",
|
"href": "https://docs.openstack.org/",
|
||||||
"rel": "describedby",
|
"rel": "describedby",
|
||||||
"type": "text/html"
|
"type": "text/html"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user