2013-03-09 01:58:33 +01:00
|
|
|
# Keystone PasteDeploy configuration file.
|
|
|
|
|
|
|
|
[filter:debug]
|
|
|
|
paste.filter_factory = keystone.common.wsgi:Debug.factory
|
|
|
|
|
2013-11-13 23:17:56 -08:00
|
|
|
[filter:build_auth_context]
|
|
|
|
paste.filter_factory = keystone.middleware:AuthContextMiddleware.factory
|
|
|
|
|
2013-03-09 01:58:33 +01:00
|
|
|
[filter:token_auth]
|
|
|
|
paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory
|
|
|
|
|
|
|
|
[filter:admin_token_auth]
|
|
|
|
paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory
|
|
|
|
|
|
|
|
[filter:xml_body]
|
|
|
|
paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory
|
|
|
|
|
2013-12-26 11:53:40 +08:00
|
|
|
[filter:xml_body_v2]
|
|
|
|
paste.filter_factory = keystone.middleware:XmlBodyMiddlewareV2.factory
|
|
|
|
|
|
|
|
[filter:xml_body_v3]
|
|
|
|
paste.filter_factory = keystone.middleware:XmlBodyMiddlewareV3.factory
|
|
|
|
|
2013-03-09 01:58:33 +01:00
|
|
|
[filter:json_body]
|
|
|
|
paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory
|
|
|
|
|
|
|
|
[filter:user_crud_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.user_crud:CrudExtension.factory
|
|
|
|
|
|
|
|
[filter:crud_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.admin_crud:CrudExtension.factory
|
|
|
|
|
|
|
|
[filter:ec2_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.ec2:Ec2Extension.factory
|
|
|
|
|
2014-02-02 14:02:20 -08:00
|
|
|
[filter:ec2_extension_v3]
|
|
|
|
paste.filter_factory = keystone.contrib.ec2:Ec2ExtensionV3.factory
|
|
|
|
|
2014-01-06 15:26:25 +01:00
|
|
|
[filter:federation_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.federation.routers:FederationExtension.factory
|
|
|
|
|
2014-02-03 12:00:43 +01:00
|
|
|
[filter:oauth1_extension]
|
2013-03-20 20:02:18 -07:00
|
|
|
paste.filter_factory = keystone.contrib.oauth1.routers:OAuth1Extension.factory
|
|
|
|
|
2013-03-09 01:58:33 +01:00
|
|
|
[filter:s3_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.s3:S3Extension.factory
|
|
|
|
|
2013-07-24 16:43:51 -07:00
|
|
|
[filter:endpoint_filter_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.endpoint_filter.routers:EndpointFilterExtension.factory
|
|
|
|
|
2014-01-20 17:56:17 +10:00
|
|
|
[filter:simple_cert_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.simple_cert:SimpleCertExtension.factory
|
|
|
|
|
2014-01-21 15:06:48 -05:00
|
|
|
[filter:revoke_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.revoke.routers:RevokeExtension.factory
|
|
|
|
|
2013-03-09 01:58:33 +01:00
|
|
|
[filter:url_normalize]
|
|
|
|
paste.filter_factory = keystone.middleware:NormalizingFilter.factory
|
|
|
|
|
|
|
|
[filter:sizelimit]
|
|
|
|
paste.filter_factory = keystone.middleware:RequestBodySizeLimiter.factory
|
|
|
|
|
|
|
|
[filter:stats_monitoring]
|
|
|
|
paste.filter_factory = keystone.contrib.stats:StatsMiddleware.factory
|
|
|
|
|
|
|
|
[filter:stats_reporting]
|
|
|
|
paste.filter_factory = keystone.contrib.stats:StatsExtension.factory
|
|
|
|
|
|
|
|
[filter:access_log]
|
|
|
|
paste.filter_factory = keystone.contrib.access:AccessLogMiddleware.factory
|
|
|
|
|
|
|
|
[app:public_service]
|
|
|
|
paste.app_factory = keystone.service:public_app_factory
|
|
|
|
|
|
|
|
[app:service_v3]
|
|
|
|
paste.app_factory = keystone.service:v3_app_factory
|
|
|
|
|
|
|
|
[app:admin_service]
|
|
|
|
paste.app_factory = keystone.service:admin_app_factory
|
|
|
|
|
|
|
|
[pipeline:public_api]
|
2013-12-26 11:53:40 +08:00
|
|
|
pipeline = sizelimit url_normalize build_auth_context token_auth admin_token_auth xml_body_v2 json_body ec2_extension user_crud_extension public_service
|
2013-03-09 01:58:33 +01:00
|
|
|
|
|
|
|
[pipeline:admin_api]
|
2013-12-26 11:53:40 +08:00
|
|
|
pipeline = sizelimit url_normalize build_auth_context token_auth admin_token_auth xml_body_v2 json_body ec2_extension s3_extension crud_extension admin_service
|
2013-03-09 01:58:33 +01:00
|
|
|
|
|
|
|
[pipeline:api_v3]
|
2014-07-11 15:22:57 -04:00
|
|
|
pipeline = sizelimit url_normalize build_auth_context token_auth admin_token_auth xml_body_v3 json_body ec2_extension_v3 s3_extension simple_cert_extension revoke_extension service_v3
|
2013-03-09 01:58:33 +01:00
|
|
|
|
|
|
|
[app:public_version_service]
|
|
|
|
paste.app_factory = keystone.service:public_version_app_factory
|
|
|
|
|
|
|
|
[app:admin_version_service]
|
|
|
|
paste.app_factory = keystone.service:admin_version_app_factory
|
|
|
|
|
|
|
|
[pipeline:public_version_api]
|
2014-01-29 16:41:46 -06:00
|
|
|
pipeline = sizelimit url_normalize xml_body public_version_service
|
2013-03-09 01:58:33 +01:00
|
|
|
|
|
|
|
[pipeline:admin_version_api]
|
2014-01-29 16:41:46 -06:00
|
|
|
pipeline = sizelimit url_normalize xml_body admin_version_service
|
2013-03-09 01:58:33 +01:00
|
|
|
|
|
|
|
[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
|