blob: 5cfd22f0a50f0dc8887a91552abe3ee4936d5616 [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
Brian Waldon6aef7572012-03-19 07:54:16 -07004pipeline = versionnegotiation authtoken context apiv1app
Jay Pipes8cafc802012-01-16 22:01:06 -05005
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
Jay Pipes8cafc802012-01-16 22:01:06 -050033auth_host = %KEYSTONE_AUTH_HOST%
34auth_port = %KEYSTONE_AUTH_PORT%
35auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
36auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
Dean Troyerb3288382012-02-28 16:41:10 -060037admin_tenant_name = %SERVICE_TENANT_NAME%
38admin_user = %SERVICE_USERNAME%
39admin_password = %SERVICE_PASSWORD%