add python compatibility module
[optf/has.git] / api_paste.ini
1 # Conductor API WSGI Pipeline
2 # Define the filters that make up the pipeline for processing WSGI requests
3 # Note: This pipeline is PasteDeploy's term rather than Conductor's pipeline
4 # used for processing samples
5
6 # Remove authtoken from the pipeline if you don't want to use keystone authentication
7 [pipeline:main]
8 pipeline = cors http_proxy_to_wsgi api-server
9 #pipeline = cors http_proxy_to_wsgi request_id authtoken api-server
10
11 [app:api-server]
12 paste.app_factory = conductor.api.app:app_factory
13
14 #[filter:authtoken]
15 #paste.filter_factory = keystonemiddleware.auth_token:filter_factory
16
17 #[filter:request_id]
18 #paste.filter_factory = oslo_middleware:RequestId.factory
19
20 [filter:cors]
21 paste.filter_factory = oslo_middleware.cors:filter_factory
22 oslo_config_project = conductor
23
24 [filter:http_proxy_to_wsgi]
25 paste.filter_factory = oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory
26 oslo_config_project = conductor