From a76c225a09960722e09ec6ec111d0e0172be1469 Mon Sep 17 00:00:00 2001 From: Christian Zunker Date: Mon, 7 May 2018 13:35:25 +0200 Subject: [PATCH] Add missing api_paste sections The sections are part of the cloudkitty repo: https://github.com/openstack/cloudkitty/blob/master/etc/cloudkitty/api_paste.ini But weren't inlcuded in osa. Change-Id: I2579c8b88bcf2ec162002a8a8978c7720bfc8112 Closes-Bug: 1769630 --- templates/api-paste.ini.j2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/api-paste.ini.j2 b/templates/api-paste.ini.j2 index 659da56..c92fcc0 100644 --- a/templates/api-paste.ini.j2 +++ b/templates/api-paste.ini.j2 @@ -16,3 +16,10 @@ paste.filter_factory = oslo_middleware:RequestId.factory [filter:cors] paste.filter_factory = oslo_middleware.cors:filter_factory oslo_config_project = cloudkitty + +[pipeline:cloudkitty+keystone] +pipeline = cors http_proxy_to_wsgi request_id authtoken ck_api_v1 + +[filter:http_proxy_to_wsgi] +paste.filter_factory = oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory +oslo_config_project = cloudkitty