Deprecate parameters of SSLMiddleware

... because its implementation was already removed during the Ussuri
cycle[1] and http-proxy_to_wsgi from oslo.middleware is used instead.

[1] f628acd526

Change-Id: I18f17aa83359077db2cd313eba608de649a4f271
This commit is contained in:
Takashi Kajinami 2021-11-15 13:54:04 +09:00
parent 77f2396342
commit 79c61e46f3
2 changed files with 16 additions and 0 deletions

View File

@ -84,10 +84,18 @@ API_MIDDLEWARE_OPTS = [
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."),

View File

@ -0,0 +1,8 @@
---
deprecations:
- |
The following parameters have been deprecated. These parameters have had
no effect since SSLMiddleware was removed during Ussuri cycle.
- ``[service:api] secure_proxy_ssl_header``
- ``[service:api] override_proto``