8bf335bb01
This patchset removes the lingering code that supported paste.deploy that is obsolted by the loader wrapped around keystone's use of Flask. * The keystone-paste.ini file has been removed. * All options have been removed (without deprecation) as they are no longer referenced. * The TokenAuthMiddleware code (with deprecation warning) has been removed as it was only provided to ensure compatibility with paste.ini files that were not updated (ensuring not breaking a deployer that did not update paste.ini file to remove it from the pipeline). * Paste deploy entrypoints have been removed. Change-Id: I35064a440ef718f50c7e644e8b2d56a99c3ec74f
95 lines
2.6 KiB
INI
95 lines
2.6 KiB
INI
# !!! WARNING: THIS FILE IS NO LONGER USED. KEYSTONE IS LOADED DIRECTLY AND
|
|
# !!! WILL IGNORE THIS FILE. THIS FILE WILL BE REMOVED IN THE STEIN
|
|
# !!! RELEASE. IT IS BEING MAINTAINED TO EASE THE TRANSITION OF THE
|
|
# !!! DEPLOYMENT TOOLING IN THE WILD.
|
|
|
|
# Keystone PasteDeploy configuration file.
|
|
|
|
[filter:debug]
|
|
use = egg:oslo.middleware#debug
|
|
|
|
[filter:request_id]
|
|
use = egg:oslo.middleware#request_id
|
|
|
|
[filter:build_auth_context]
|
|
use = egg:keystone#build_auth_context
|
|
|
|
[filter:json_body]
|
|
use = egg:keystone#json_body
|
|
|
|
[filter:cors]
|
|
use = egg:oslo.middleware#cors
|
|
oslo_config_project = keystone
|
|
|
|
[filter:http_proxy_to_wsgi]
|
|
use = egg:oslo.middleware#http_proxy_to_wsgi
|
|
|
|
[filter:healthcheck]
|
|
use = egg:oslo.middleware#healthcheck
|
|
|
|
[filter:ec2_extension]
|
|
use = egg:keystone#ec2_extension
|
|
|
|
[filter:ec2_extension_v3]
|
|
use = egg:keystone#ec2_extension_v3
|
|
|
|
[filter:s3_extension]
|
|
use = egg:keystone#s3_extension
|
|
|
|
[filter:url_normalize]
|
|
use = egg:keystone#url_normalize
|
|
|
|
[filter:sizelimit]
|
|
use = egg:oslo.middleware#sizelimit
|
|
|
|
[filter:osprofiler]
|
|
use = egg:osprofiler#osprofiler
|
|
|
|
[app:public_service]
|
|
use = egg:keystone#public_service
|
|
|
|
[app:service_v3]
|
|
use = egg:keystone#service_v3
|
|
|
|
[app:admin_service]
|
|
use = egg:keystone#admin_service
|
|
|
|
[pipeline:public_api]
|
|
# The last item in this pipeline must be public_service or an equivalent
|
|
# application. It cannot be a filter.
|
|
pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context json_body ec2_extension public_service
|
|
|
|
[pipeline:admin_api]
|
|
# The last item in this pipeline must be admin_service or an equivalent
|
|
# application. It cannot be a filter.
|
|
pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context json_body ec2_extension s3_extension admin_service
|
|
|
|
[pipeline:api_v3]
|
|
# The last item in this pipeline must be service_v3 or an equivalent
|
|
# application. It cannot be a filter.
|
|
pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context json_body ec2_extension_v3 s3_extension service_v3
|
|
|
|
[app:public_version_service]
|
|
use = egg:keystone#public_version_service
|
|
|
|
[app:admin_version_service]
|
|
use = egg:keystone#admin_version_service
|
|
|
|
[pipeline:public_version_api]
|
|
pipeline = healthcheck cors sizelimit osprofiler url_normalize public_version_service
|
|
|
|
[pipeline:admin_version_api]
|
|
pipeline = healthcheck cors sizelimit osprofiler url_normalize admin_version_service
|
|
|
|
[composite:main]
|
|
use = egg:Paste#urlmap
|
|
/v2.0 = public_api
|
|
/v3 = api_v3
|
|
/ = public_version_api
|
|
|
|
[composite:admin]
|
|
use = egg:Paste#urlmap
|
|
/v2.0 = admin_api
|
|
/v3 = api_v3
|
|
/ = admin_version_api
|