5bd453b14e
* The use of this middleware is no longer necessary * Fixes bug 957501 Change-Id: I2536babe6b34aa0cb6aca2b3e768ac85800f93e7
34 lines
956 B
INI
34 lines
956 B
INI
# Default minimal pipeline
|
|
[pipeline:glance-registry]
|
|
pipeline = context registryapp
|
|
|
|
# Use the following pipeline for keystone auth
|
|
# i.e. in glance-registry.conf:
|
|
# [paste_deploy]
|
|
# flavor = keystone
|
|
#
|
|
[pipeline:glance-registry-keystone]
|
|
pipeline = authtoken context registryapp
|
|
|
|
[app:registryapp]
|
|
paste.app_factory = glance.common.wsgi:app_factory
|
|
glance.app_factory = glance.registry.api.v1:API
|
|
|
|
[filter:context]
|
|
context_class = glance.registry.context.RequestContext
|
|
paste.filter_factory = glance.common.wsgi:filter_factory
|
|
glance.filter_factory = glance.common.context:ContextMiddleware
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
|
service_protocol = http
|
|
service_host = 127.0.0.1
|
|
service_port = 5000
|
|
auth_host = 127.0.0.1
|
|
auth_port = 35357
|
|
auth_protocol = http
|
|
auth_uri = http://127.0.0.1:5000/
|
|
admin_tenant_name = %SERVICE_TENANT_NAME%
|
|
admin_user = %SERVICE_USER%
|
|
admin_password = %SERVICE_PASSWORD%
|