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 debug True
|
||||||
iniset $ZAQAR_CONF DEFAULT unreliable True
|
iniset $ZAQAR_CONF DEFAULT unreliable True
|
||||||
iniset $ZAQAR_CONF DEFAULT admin_mode 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
|
iniset $ZAQAR_CONF signed_url secret_key notreallysecret
|
||||||
|
|
||||||
if is_service_enabled key; then
|
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
|
debug = False
|
||||||
verbose = False
|
verbose = False
|
||||||
admin_mode = False
|
admin_mode = False
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
debug = False
|
debug = False
|
||||||
verbose = False
|
verbose = False
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = invalid
|
transport = invalid
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
# run_tests = True
|
# run_tests = True
|
||||||
unreliable = True
|
unreliable = True
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[zaqar]
|
[zaqar]
|
||||||
# url = http://0.0.0.0:8888
|
# url = http://0.0.0.0:8888
|
||||||
|
@ -5,7 +5,7 @@ verbose = True
|
|||||||
# Show debugging output in logs (sets DEBUG log level output)
|
# Show debugging output in logs (sets DEBUG log level output)
|
||||||
debug = True
|
debug = True
|
||||||
|
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
# Log to this file!
|
# Log to this file!
|
||||||
; log_file = /var/log/zaqar/server.log
|
; log_file = /var/log/zaqar/server.log
|
||||||
|
@ -3,7 +3,7 @@ auth_strategy = keystone
|
|||||||
|
|
||||||
debug = False
|
debug = False
|
||||||
verbose = False
|
verbose = False
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
unreliable = True
|
unreliable = True
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
auth_strategy = keystone
|
auth_strategy = keystone
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
unreliable = True
|
unreliable = True
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
debug = False
|
debug = False
|
||||||
verbose = False
|
verbose = False
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
debug = False
|
debug = False
|
||||||
verbose = False
|
verbose = False
|
||||||
unreliable = True
|
unreliable = True
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
debug = False
|
debug = False
|
||||||
verbose = False
|
verbose = False
|
||||||
unreliable = True
|
unreliable = True
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
pooling = True
|
pooling = True
|
||||||
admin_mode = True
|
admin_mode = True
|
||||||
unreliable = True
|
unreliable = True
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
debug = False
|
debug = False
|
||||||
verbose = False
|
verbose = False
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
pooling = True
|
pooling = True
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
debug = False
|
debug = False
|
||||||
verbose = False
|
verbose = False
|
||||||
admin_mode = False
|
admin_mode = False
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
pooling = True
|
pooling = True
|
||||||
admin_mode = True
|
admin_mode = True
|
||||||
enable_deprecated_api_versions = 1
|
enable_deprecated_api_versions = 1,1.1
|
||||||
|
|
||||||
[drivers]
|
[drivers]
|
||||||
transport = wsgi
|
transport = wsgi
|
||||||
|
@ -38,8 +38,8 @@ EXPECTED_VERSIONS = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'id': '1.1',
|
'id': '1.1',
|
||||||
'status': 'SUPPORTED',
|
'status': 'DEPRECATED',
|
||||||
'updated': '2014-9-24T04:06:47Z',
|
'updated': '2016-7-29T02:22:47Z',
|
||||||
'media-types': [
|
'media-types': [
|
||||||
{
|
{
|
||||||
'base': 'application/json',
|
'base': 'application/json',
|
||||||
|
@ -31,8 +31,8 @@ LOG = logging.getLogger(__name__)
|
|||||||
|
|
||||||
VERSION = {
|
VERSION = {
|
||||||
'id': '1.1',
|
'id': '1.1',
|
||||||
'status': 'SUPPORTED',
|
'status': 'DEPRECATED',
|
||||||
'updated': '2014-9-24T04:06:47Z',
|
'updated': '2016-7-29T02:22:47Z',
|
||||||
'media-types': [
|
'media-types': [
|
||||||
{
|
{
|
||||||
'base': 'application/json',
|
'base': 'application/json',
|
||||||
|
Loading…
Reference in New Issue
Block a user