Set API version 2.9 CURRENT
This change removes experimental status from Api versions >2.7 setting 2.8 (multi-store support) to SUPPORTED and 2.9 (caching) to CURRENT. NOTE: 2.8 will show up in list only if the glance-api service is configured with multi-store. The API versions list can be used to determine if the multi-store functionality is availabe in the endpoint. Change-Id: I37350fc46191074d42edc73c2451eae73261957d
This commit is contained in:
parent
feb8ebd75b
commit
515412b59f
@ -24,6 +24,12 @@ Image Service Versions
|
||||
Version History
|
||||
***************
|
||||
|
||||
**Train changes**
|
||||
|
||||
- version 2.9 is CURRENT
|
||||
- version 2.8 is SUPPORTED
|
||||
- version 2.7 is SUPPORTED
|
||||
|
||||
**Rocky changes**
|
||||
|
||||
- version 2.8 is EXPERIMENTAL
|
||||
|
@ -8,7 +8,7 @@
|
||||
"rel": "self"
|
||||
}
|
||||
],
|
||||
"status": "EXPERIMENTAL"
|
||||
"status": "CURRENT"
|
||||
},
|
||||
{
|
||||
"id": "v2.8",
|
||||
@ -18,7 +18,7 @@
|
||||
"rel": "self"
|
||||
}
|
||||
],
|
||||
"status": "EXPERIMENTAL"
|
||||
"status": "SUPPORTED"
|
||||
},
|
||||
{
|
||||
"id": "v2.7",
|
||||
@ -28,7 +28,7 @@
|
||||
"rel": "self"
|
||||
}
|
||||
],
|
||||
"status": "CURRENT"
|
||||
"status": "SUPPORTED"
|
||||
},
|
||||
{
|
||||
"id": "v2.6",
|
||||
|
@ -75,11 +75,11 @@ class Controller(object):
|
||||
if CONF.enable_v2_api:
|
||||
if CONF.enabled_backends:
|
||||
version_objs.extend([
|
||||
build_version_object(2.8, 'v2', 'EXPERIMENTAL')
|
||||
build_version_object(2.8, 'v2', 'SUPPORTED')
|
||||
])
|
||||
version_objs.extend([
|
||||
build_version_object(2.9, 'v2', 'EXPERIMENTAL'),
|
||||
build_version_object(2.7, 'v2', 'CURRENT'),
|
||||
build_version_object(2.9, 'v2', 'CURRENT'),
|
||||
build_version_object(2.7, 'v2', 'SUPPORTED'),
|
||||
build_version_object(2.6, 'v2', 'SUPPORTED'),
|
||||
build_version_object(2.5, 'v2', 'SUPPORTED'),
|
||||
build_version_object(2.4, 'v2', 'SUPPORTED'),
|
||||
|
@ -28,12 +28,12 @@ def _generate_v2_versions(url):
|
||||
version_list.extend([
|
||||
{
|
||||
'id': 'v2.9',
|
||||
'status': 'EXPERIMENTAL',
|
||||
'status': 'CURRENT',
|
||||
'links': [{'rel': 'self', 'href': url % '2'}],
|
||||
},
|
||||
{
|
||||
'id': 'v2.7',
|
||||
'status': 'CURRENT',
|
||||
'status': 'SUPPORTED',
|
||||
'links': [{'rel': 'self', 'href': url % '2'}],
|
||||
},
|
||||
{
|
||||
|
@ -31,13 +31,13 @@ class VersionsTest(base.IsolatedUnitTest):
|
||||
versions = [
|
||||
{
|
||||
'id': 'v2.9',
|
||||
'status': 'EXPERIMENTAL',
|
||||
'status': 'CURRENT',
|
||||
'links': [{'rel': 'self',
|
||||
'href': '%s/v2/' % url}],
|
||||
},
|
||||
{
|
||||
'id': 'v2.7',
|
||||
'status': 'CURRENT',
|
||||
'status': 'SUPPORTED',
|
||||
'links': [{'rel': 'self',
|
||||
'href': '%s/v2/' % url}],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user