aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/congress/templates/api-paste.ini
blob: 39be570b5e972b4949dcfda01023fc56d93f5e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[composite:congress]
use = egg:Paste#urlmap
/: congressversions
/v1: congress_api_v1

[pipeline:congressversions]
pipeline = cors catch_errors congressversionapp

[app:congressversionapp]
paste.app_factory = congress.api.versions:Versions.factory

[composite:congress_api_v1]
use = call:congress.auth:pipeline_factory
keystone = cors request_id catch_errors authtoken keystonecontext congress_api
noauth = cors request_id catch_errors congress_api

[app:congress_api]
paste.app_factory = congress.service:congress_app_factory

[filter:request_id]
paste.filter_factory = oslo_middleware:RequestId.factory

[filter:catch_errors]
paste.filter_factory = oslo_middleware:CatchErrors.factory

[filter:keystonecontext]
paste.filter_factory = congress.auth:CongressKeystoneContext.factory

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

[filter:cors]
paste.filter_factory =  oslo_middleware.cors:filter_factory
oslo_config_project = congress