bd305fa07b
Pull the extra methods defined in glance.registry.context:RequestContext into glance.common.context:RequestContext. This is necessary as the new v2 API implementation talks directly to the database. * Partially implements bp api-2 Change-Id: Ia8c1fde511bdca69be0dcf61ce12976ace5f7dc3
33 lines
901 B
INI
33 lines
901 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]
|
|
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%
|