9736d299a4
* Reduce comments in paste files to just what is necessary * Add a 'cachemanage' pipeline to complete our set of paste deploy flavors in glance-api-paste.ini * Add a sample [paste_deploy] section to both glance-api and glance-registry configs Related to bp glance-folsom-docs-cleanup. Change-Id: I0208b12f6861b48e52260b25802c47ebf6316b9a
20 lines
620 B
INI
20 lines
620 B
INI
# Use this pipeline for no auth - DEFAULT
|
|
[pipeline:glance-registry]
|
|
pipeline = unauthenticated-context registryapp
|
|
|
|
# Use this pipeline for keystone auth
|
|
[pipeline:glance-registry-keystone]
|
|
pipeline = authtoken context registryapp
|
|
|
|
[app:registryapp]
|
|
paste.app_factory = glance.registry.api.v1:API.factory
|
|
|
|
[filter:context]
|
|
paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
|
|
|
|
[filter:unauthenticated-context]
|
|
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|