blob: 583b70a82a832269b7b2e2b9dd175f1a44775245 [file] [log] [blame]
Jay Pipes8cafc802012-01-16 22:01:06 -05001[pipeline:glance-api]
2#pipeline = versionnegotiation context apiv1app
3# NOTE: use the following pipeline for keystone
4pipeline = versionnegotiation authtoken auth-context apiv1app
5
6# To enable Image Cache Management API replace pipeline with below:
7# pipeline = versionnegotiation context imagecache apiv1app
8# NOTE: use the following pipeline for keystone auth (with caching)
9# pipeline = versionnegotiation authtoken auth-context imagecache apiv1app
10
11[app:apiv1app]
12paste.app_factory = glance.common.wsgi:app_factory
13glance.app_factory = glance.api.v1.router:API
14
15[filter:versionnegotiation]
16paste.filter_factory = glance.common.wsgi:filter_factory
17glance.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter
18
19[filter:cache]
20paste.filter_factory = glance.common.wsgi:filter_factory
21glance.filter_factory = glance.api.middleware.cache:CacheFilter
22
23[filter:cachemanage]
24paste.filter_factory = glance.common.wsgi:filter_factory
25glance.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter
26
27[filter:context]
28paste.filter_factory = glance.common.wsgi:filter_factory
29glance.filter_factory = glance.common.context:ContextMiddleware
30
31[filter:authtoken]
32paste.filter_factory = keystone.middleware.auth_token:filter_factory
Dean Troyerb3288382012-02-28 16:41:10 -060033# FIXME(dtroyer): remove these service_* entries after auth_token is updated
Jay Pipes8cafc802012-01-16 22:01:06 -050034service_host = %KEYSTONE_SERVICE_HOST%
35service_port = %KEYSTONE_SERVICE_PORT%
36service_protocol = %KEYSTONE_SERVICE_PROTOCOL%
37auth_host = %KEYSTONE_AUTH_HOST%
38auth_port = %KEYSTONE_AUTH_PORT%
39auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
40auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
Dean Troyerb3288382012-02-28 16:41:10 -060041# FIXME(dtroyer): remove admin_token after auth_token is updated
Jay Pipes8cafc802012-01-16 22:01:06 -050042admin_token = %SERVICE_TOKEN%
Dean Troyerb3288382012-02-28 16:41:10 -060043admin_tenant_name = %SERVICE_TENANT_NAME%
44admin_user = %SERVICE_USERNAME%
45admin_password = %SERVICE_PASSWORD%
Jay Pipes8cafc802012-01-16 22:01:06 -050046
47[filter:auth-context]
48paste.filter_factory = glance.common.wsgi:filter_factory
49glance.filter_factory = keystone.middleware.glance_auth_token:KeystoneContextMiddleware