openstack-ansible-os_zun/templates/api-paste.ini.j2
Kevin Carter daf9f9d60a
first commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-06-05 15:36:33 -05:00

20 lines
523 B
Django/Jinja

[pipeline:main]
pipeline = cors request_id osprofiler authtoken api_v1
[app:api_v1]
paste.app_factory = zun.api.app:app_factory
[filter:authtoken]
acl_public_routes = /, /v1
paste.filter_factory = zun.api.middleware.auth_token:AuthTokenMiddleware.factory
[filter:osprofiler]
paste.filter_factory = zun.common.profiler:WsgiMiddleware.factory
[filter:request_id]
paste.filter_factory = oslo_middleware:RequestId.factory
[filter:cors]
paste.filter_factory = oslo_middleware.cors:filter_factory
oslo_config_project = zun