summaryrefslogtreecommitdiffstats
path: root/api/etc/escalator-api-paste.ini
blob: d8b1940cc5be75141d1d7aec967db63f533ab104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Use this pipeline for no auth - DEFAULT
[pipeline:escalator-api]
pipeline = unauthenticated-context rootapp

[pipeline:escalator-api-keystone]
pipeline = authtoken context rootapp

[composite:rootapp]
paste.composite_factory = escalator.api:root_app_factory
/v1: apiv1app

[app:apiv1app]
paste.app_factory = escalator.api.v1.router:API.factory

[filter:unauthenticated-context]
paste.filter_factory = escalator.api.middleware.context:UnauthenticatedContextMiddleware.factory

[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
delay_auth_decision = true

[filter:context]
paste.filter_factory = escalator.api.middleware.context:ContextMiddleware.factory