39 lines
1.0 KiB
INI
39 lines
1.0 KiB
INI
# Use gnocchi+auth in the pipeline if you want to use keystone authentication
|
|
[pipeline:main]
|
|
pipeline = gnocchi+noauth
|
|
|
|
[composite:gnocchi+noauth]
|
|
use = egg:Paste#urlmap
|
|
/ = gnocchiversions_pipeline
|
|
/v1 = gnocchiv1+noauth
|
|
|
|
[composite:gnocchi+auth]
|
|
use = egg:Paste#urlmap
|
|
/ = gnocchiversions_pipeline
|
|
/v1 = gnocchiv1+auth
|
|
|
|
[pipeline:gnocchiv1+noauth]
|
|
pipeline = http_proxy_to_wsgi gnocchiv1
|
|
|
|
[pipeline:gnocchiv1+auth]
|
|
pipeline = http_proxy_to_wsgi keystone_authtoken gnocchiv1
|
|
|
|
[pipeline:gnocchiversions_pipeline]
|
|
pipeline = http_proxy_to_wsgi gnocchiversions
|
|
|
|
[app:gnocchiversions]
|
|
paste.app_factory = gnocchi.rest.app:app_factory
|
|
root = gnocchi.rest.VersionsController
|
|
|
|
[app:gnocchiv1]
|
|
paste.app_factory = gnocchi.rest.app:app_factory
|
|
root = gnocchi.rest.V1Controller
|
|
|
|
[filter:keystone_authtoken]
|
|
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
|
oslo_config_project = gnocchi
|
|
|
|
[filter:http_proxy_to_wsgi]
|
|
paste.filter_factory = oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory
|
|
oslo_config_project = gnocchi
|