add escalator frame
[escalator.git] / api / etc / escalator-api-paste.ini
1 # Use this pipeline for no auth - DEFAULT
2 [pipeline:escalator-api]
3 pipeline = unauthenticated-context rootapp
4
5 [pipeline:escalator-api-keystone]
6 pipeline = authtoken context rootapp
7
8 [composite:rootapp]
9 paste.composite_factory = escalator.api:root_app_factory
10 /v1: apiv1app
11
12 [app:apiv1app]
13 paste.app_factory = escalator.api.v1.router:API.factory
14
15 [filter:unauthenticated-context]
16 paste.filter_factory = escalator.api.middleware.context:UnauthenticatedContextMiddleware.factory
17
18 [filter:authtoken]
19 paste.filter_factory = keystonemiddleware.auth_token:filter_factory
20 delay_auth_decision = true
21
22 [filter:context]
23 paste.filter_factory = escalator.api.middleware.context:ContextMiddleware.factory