From: Michael Krotscheck Date: Wed, 3 Feb 2016 15:18:18 +0000 (-0800) Subject: Added osprofiler headers to cors middleware X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a00bddc2bd30f66ee1ea81e295c240eaaafe5a5c;p=openstack-build%2Fcinder-build.git Added osprofiler headers to cors middleware This patch adds the osprofiler trace headers to the CORS configuration block: X-Trace-Info, X-Trace-HMAC Change-Id: Ie6b493252973177727cd4445ec12c36c3c90fd71 --- diff --git a/etc/cinder/api-paste.ini b/etc/cinder/api-paste.ini index 5f1fbd333..191754014 100644 --- a/etc/cinder/api-paste.ini +++ b/etc/cinder/api-paste.ini @@ -26,7 +26,7 @@ paste.filter_factory = oslo_middleware.request_id:RequestId.factory [filter:cors] paste.filter_factory = oslo_middleware.cors:filter_factory oslo_config_project = cinder -latent_allow_headers = X-Auth-Token, X-Identity-Status, X-Roles, X-Service-Catalog, X-User-Id, X-Tenant-Id, X-OpenStack-Request-ID +latent_allow_headers = X-Auth-Token, X-Identity-Status, X-Roles, X-Service-Catalog, X-User-Id, X-Tenant-Id, X-OpenStack-Request-ID, X-Trace-Info, X-Trace-HMAC latent_expose_headers = X-Auth-Token, X-Subject-Token, X-Service-Token, X-OpenStack-Request-ID latent_allow_methods = GET, PUT, POST, DELETE, PATCH