Define paste entrypoints

Define filter factories so other projects can reference them by name
and can take advantage of the python egg instead of referencing
by the direct path.

Change-Id: I8f2b409e35b44323ef1a4488de5964a0f1bd7cdc
Closes-Bug: 1500509
This commit is contained in:
zhang.lei 2016-01-04 14:48:25 +08:00 committed by lei zhang
parent 3f1450d57e
commit 5fe12468cf
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# Keystone PasteDeploy configuration file.
[filter:debug]
use = egg:keystone#debug
use = egg:oslo.middleware#debug
[filter:request_id]
use = egg:keystone#request_id
use = egg:oslo.middleware#request_id
[filter:build_auth_context]
use = egg:keystone#build_auth_context
@ -40,7 +40,7 @@ use = egg:keystone#simple_cert_extension
use = egg:keystone#url_normalize
[filter:sizelimit]
use = egg:keystone#sizelimit
use = egg:oslo.middleware#sizelimit
[app:public_service]
use = egg:keystone#public_service

View File

@ -178,7 +178,7 @@ paste.filter_factory =
admin_token_auth = keystone.middleware:AdminTokenAuthMiddleware.factory
build_auth_context = keystone.middleware:AuthContextMiddleware.factory
crud_extension = keystone.contrib.admin_crud:CrudExtension.factory
debug = keystone.common.wsgi:Debug.factory
debug = oslo_middleware:Debug.factory
endpoint_filter_extension = keystone.contrib.endpoint_filter.routers:EndpointFilterExtension.factory
ec2_extension = keystone.contrib.ec2:Ec2Extension.factory
ec2_extension_v3 = keystone.contrib.ec2:Ec2ExtensionV3.factory