Merge "Flaskification cleanup"

This commit is contained in:
Zuul 2018-06-09 01:11:19 +00:00 committed by Gerrit Code Review
commit 3fd0204d37
2 changed files with 3 additions and 5 deletions

View File

@ -126,10 +126,9 @@ class KeystoneDispatcherMiddleware(werkzeug.wsgi.DispatcherMiddleware):
# legacy and only applies to the "apps" that make up each
# keystone subsystem.
#
# [OPINION] All subsystems should have been built
# as "separate" wsgi apps and dispatched this way. It would
# have eliminated a ton of "cross-talk" that has bitten us
# in the past.
# This middleware is only used in support of the transition
# process from webob and home-rolled WSGI framework to
# Flask
if script.rindex('/') > 0:
script, last_element = script.rsplit('/', 1)
last_element = '/%s' % last_element

View File

@ -184,7 +184,6 @@ oslo.policy.enforcer =
keystone = keystone.common.policy:get_enforcer
keystone.server_middleware =
healthcheck = oslo_middleware:Healthcheck
cors = oslo_middleware:CORS
sizelimit = oslo_middleware:RequestBodySizeLimiter
http_proxy_to_wsgi = oslo_middleware:HTTPProxyToWSGI