Flaskification cleanup
Cleaning up 2 minor changes that were missed in the initial flaskification change. Change-Id: I27e7a506a9fd03fd1fb9efd8666d187cba965769
This commit is contained in:
parent
0211cdd05f
commit
a11d6ca0eb
|
@ -126,10 +126,9 @@ class KeystoneDispatcherMiddleware(werkzeug.wsgi.DispatcherMiddleware):
|
||||||
# legacy and only applies to the "apps" that make up each
|
# legacy and only applies to the "apps" that make up each
|
||||||
# keystone subsystem.
|
# keystone subsystem.
|
||||||
#
|
#
|
||||||
# [OPINION] All subsystems should have been built
|
# This middleware is only used in support of the transition
|
||||||
# as "separate" wsgi apps and dispatched this way. It would
|
# process from webob and home-rolled WSGI framework to
|
||||||
# have eliminated a ton of "cross-talk" that has bitten us
|
# Flask
|
||||||
# in the past.
|
|
||||||
if script.rindex('/') > 0:
|
if script.rindex('/') > 0:
|
||||||
script, last_element = script.rsplit('/', 1)
|
script, last_element = script.rsplit('/', 1)
|
||||||
last_element = '/%s' % last_element
|
last_element = '/%s' % last_element
|
||||||
|
|
|
@ -184,7 +184,6 @@ oslo.policy.enforcer =
|
||||||
keystone = keystone.common.policy:get_enforcer
|
keystone = keystone.common.policy:get_enforcer
|
||||||
|
|
||||||
keystone.server_middleware =
|
keystone.server_middleware =
|
||||||
healthcheck = oslo_middleware:Healthcheck
|
|
||||||
cors = oslo_middleware:CORS
|
cors = oslo_middleware:CORS
|
||||||
sizelimit = oslo_middleware:RequestBodySizeLimiter
|
sizelimit = oslo_middleware:RequestBodySizeLimiter
|
||||||
http_proxy_to_wsgi = oslo_middleware:HTTPProxyToWSGI
|
http_proxy_to_wsgi = oslo_middleware:HTTPProxyToWSGI
|
||||||
|
|
Loading…
Reference in New Issue