Cleanup deprecated and ineffective api options
Remove the deprecated [service:api] options because these were deprecated several cycles ago[1][2] and have had no effect for long time. [1] 1a4ace8a9adf1a938c7f465e8f5666fc8cd21c16 [2] 79c61e46f367a9e6606490a716bce97534a0173f Change-Id: Ibdea583c6e96731158ee412f11c08c6ac1962c60
This commit is contained in:
parent
097ffc6df1
commit
c61f8c27a6
@ -45,15 +45,6 @@ API_OPTS = [
|
||||
help='Enable the Designate V2 API'),
|
||||
cfg.BoolOpt('enable_api_admin', default=False,
|
||||
help='enable-api-admin'),
|
||||
cfg.IntOpt('max_header_line', default=16384,
|
||||
deprecated_for_removal=True,
|
||||
deprecated_reason='This parameter has had no effect since '
|
||||
'Train. Use [DEFAULT] max_header_line '
|
||||
'instead.',
|
||||
help="Maximum line size of message headers to be accepted. "
|
||||
"max_header_line may need to be increased when using "
|
||||
"large tokens (typically those generated by the "
|
||||
"Keystone v3 API with big service catalogs)."),
|
||||
cfg.BoolOpt('pecan_debug', default=False,
|
||||
help='Pecan HTML Debug Interface'),
|
||||
]
|
||||
@ -86,23 +77,6 @@ API_MIDDLEWARE_OPTS = [
|
||||
help='Enable API Maintenance Mode'),
|
||||
cfg.StrOpt('maintenance_mode_role', default='admin',
|
||||
help='Role allowed to bypass maintaince mode'),
|
||||
cfg.StrOpt('secure_proxy_ssl_header',
|
||||
default='X-Forwarded-Proto',
|
||||
deprecated_for_removal=True,
|
||||
deprecated_reason='This parameter has had no effect since '
|
||||
'SSLMiddleware was replaced by '
|
||||
'http_proxy_to_wsgi',
|
||||
help="The HTTP Header that will be used to determine which "
|
||||
"the original request protocol scheme was, even if it was "
|
||||
"removed by an SSL terminating proxy."),
|
||||
cfg.StrOpt('override_proto',
|
||||
deprecated_for_removal=True,
|
||||
deprecated_reason='This parameter has had no effect since '
|
||||
'SSLMiddleware was replaced by '
|
||||
'http_proxy_to_wsgi',
|
||||
help="A scheme that will be used to override "
|
||||
"the request protocol scheme, even if it was "
|
||||
"set by an SSL terminating proxy."),
|
||||
]
|
||||
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The following deprecated options have been removed.
|
||||
|
||||
- ``[service:api] max_header_line``
|
||||
- ``[service:api] secure_proxy_ssl_header``
|
||||
- ``[service:api] override_proto``
|
Loading…
x
Reference in New Issue
Block a user