diff options
Diffstat (limited to 'deploy/adapters/ansible/openstack_osp9/roles/aodh/templates/api_paste.ini.j2')
-rwxr-xr-x | deploy/adapters/ansible/openstack_osp9/roles/aodh/templates/api_paste.ini.j2 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_osp9/roles/aodh/templates/api_paste.ini.j2 b/deploy/adapters/ansible/openstack_osp9/roles/aodh/templates/api_paste.ini.j2 new file mode 100755 index 00000000..151789c4 --- /dev/null +++ b/deploy/adapters/ansible/openstack_osp9/roles/aodh/templates/api_paste.ini.j2 @@ -0,0 +1,22 @@ +# aodh API WSGI Pipeline +# Define the filters that make up the pipeline for processing WSGI requests +# Note: This pipeline is PasteDeploy's term rather than aodh's pipeline +# used for processing samples + +# Remove authtoken from the pipeline if you don't want to use keystone authentication +[pipeline:main] +pipeline = cors request_id authtoken api-server + +[app:api-server] +paste.app_factory = aodh.api.app:app_factory + +[filter:authtoken] +paste.filter_factory = keystonemiddleware.auth_token:filter_factory +oslo_config_project = aodh + +[filter:request_id] +paste.filter_factory = oslo_middleware:RequestId.factory + +[filter:cors] +paste.filter_factory = oslo_middleware.cors:filter_factory +oslo_config_project = aodh |