Merge "Officially deprecate API v1.1"
This commit is contained in:
commit
73ddab3cd6
@ -84,7 +84,7 @@ function configure_zaqar {
|
||||
iniset $ZAQAR_CONF DEFAULT debug True
|
||||
iniset $ZAQAR_CONF DEFAULT unreliable True
|
||||
iniset $ZAQAR_CONF DEFAULT admin_mode True
|
||||
iniset $ZAQAR_CONF DEFAULT enable_deprecated_api_versions 1
|
||||
iniset $ZAQAR_CONF DEFAULT enable_deprecated_api_versions 1,1.1
|
||||
iniset $ZAQAR_CONF signed_url secret_key notreallysecret
|
||||
|
||||
if is_service_enabled key; then
|
||||
|
6
releasenotes/notes/deprecate-v11-976cccc1b56a28e7.yaml
Normal file
6
releasenotes/notes/deprecate-v11-976cccc1b56a28e7.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
deprecations:
|
||||
- Zaqar API v2 has been released for several cycles and it is integrated
|
||||
as the default API version by most of the OpenStack services. So it is time
|
||||
to deprecated v1.1 in favor of v2. Now in Newton cycle, Zaqar API v1.1 is
|
||||
officially deprecated.
|
@ -2,7 +2,7 @@
|
||||
debug = False
|
||||
verbose = False
|
||||
admin_mode = False
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
debug = False
|
||||
verbose = False
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = invalid
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
# run_tests = True
|
||||
unreliable = True
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[zaqar]
|
||||
# url = http://0.0.0.0:8888
|
||||
|
@ -5,7 +5,7 @@ verbose = True
|
||||
# Show debugging output in logs (sets DEBUG log level output)
|
||||
debug = True
|
||||
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
# Log to this file!
|
||||
; log_file = /var/log/zaqar/server.log
|
||||
|
@ -3,7 +3,7 @@ auth_strategy = keystone
|
||||
|
||||
debug = False
|
||||
verbose = False
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -1,6 +1,6 @@
|
||||
[DEFAULT]
|
||||
unreliable = True
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[DEFAULT]
|
||||
auth_strategy = keystone
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[DEFAULT]
|
||||
unreliable = True
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
debug = False
|
||||
verbose = False
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -2,7 +2,7 @@
|
||||
debug = False
|
||||
verbose = False
|
||||
unreliable = True
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -2,7 +2,7 @@
|
||||
debug = False
|
||||
verbose = False
|
||||
unreliable = True
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -1,5 +1,5 @@
|
||||
[DEFAULT]
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -2,7 +2,7 @@
|
||||
pooling = True
|
||||
admin_mode = True
|
||||
unreliable = True
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -1,5 +1,5 @@
|
||||
[DEFAULT]
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
debug = False
|
||||
verbose = False
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -1,6 +1,6 @@
|
||||
[DEFAULT]
|
||||
pooling = True
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -2,7 +2,7 @@
|
||||
debug = False
|
||||
verbose = False
|
||||
admin_mode = False
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
pooling = True
|
||||
admin_mode = True
|
||||
enable_deprecated_api_versions = 1
|
||||
enable_deprecated_api_versions = 1,1.1
|
||||
|
||||
[drivers]
|
||||
transport = wsgi
|
||||
|
@ -38,8 +38,8 @@ EXPECTED_VERSIONS = [
|
||||
},
|
||||
{
|
||||
'id': '1.1',
|
||||
'status': 'SUPPORTED',
|
||||
'updated': '2014-9-24T04:06:47Z',
|
||||
'status': 'DEPRECATED',
|
||||
'updated': '2016-7-29T02:22:47Z',
|
||||
'media-types': [
|
||||
{
|
||||
'base': 'application/json',
|
||||
|
@ -31,8 +31,8 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
VERSION = {
|
||||
'id': '1.1',
|
||||
'status': 'SUPPORTED',
|
||||
'updated': '2014-9-24T04:06:47Z',
|
||||
'status': 'DEPRECATED',
|
||||
'updated': '2016-7-29T02:22:47Z',
|
||||
'media-types': [
|
||||
{
|
||||
'base': 'application/json',
|
||||
|
Loading…
Reference in New Issue
Block a user