de1fdc24ef
Some piece of code is not needed anymore or already have implemented in oslo. So we can remove it from Glare codebase. Change-Id: I80cd87723b7c12a29f34bbbb62e5e2f437e5ab47
41 lines
1.4 KiB
INI
41 lines
1.4 KiB
INI
# Use this pipeline for no auth - DEFAULT
|
|
[pipeline:glare-api]
|
|
pipeline = cors faultwrapper healthcheck http_proxy_to_wsgi versionnegotiation osprofiler unauthenticated-context glarev1api
|
|
|
|
# Use this pipeline for keystone auth
|
|
[pipeline:glare-api-keystone]
|
|
pipeline = cors faultwrapper healthcheck http_proxy_to_wsgi versionnegotiation osprofiler authtoken context glarev1api
|
|
|
|
[app:glarev1api]
|
|
paste.app_factory = glare.api.v1.router:API.factory
|
|
|
|
[filter:healthcheck]
|
|
paste.filter_factory = oslo_middleware:Healthcheck.factory
|
|
backends = disable_by_file
|
|
disable_by_file_path = /etc/glare/healthcheck_disable
|
|
|
|
[filter:versionnegotiation]
|
|
paste.filter_factory = glare.api.middleware.version_negotiation:GlareVersionNegotiationFilter.factory
|
|
|
|
[filter:faultwrapper]
|
|
paste.filter_factory = glare.api.middleware.fault:GlareFaultWrapperFilter.factory
|
|
|
|
[filter:context]
|
|
paste.filter_factory = glare.api.middleware.context:ContextMiddleware.factory
|
|
|
|
[filter:unauthenticated-context]
|
|
paste.filter_factory = glare.api.middleware.context:UnauthenticatedContextMiddleware.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
|
delay_auth_decision = true
|
|
|
|
[filter:osprofiler]
|
|
paste.filter_factory = osprofiler.web:WsgiMiddleware.factory
|
|
|
|
[filter:cors]
|
|
use = egg:oslo.middleware#cors
|
|
oslo_config_project = glare
|
|
|
|
[filter:http_proxy_to_wsgi]
|
|
paste.filter_factory = oslo_middleware:HTTPProxyToWSGI.factory |