summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Krotscheck <krotscheck@gmail.com>2016-03-04 09:20:45 -0800
committerMichael Krotscheck <krotscheck@gmail.com>2016-03-14 08:19:29 -0700
commit59ccb2f7515be43ca06436d2131bfa2b737ee092 (patch)
treef37ea8be5f93e069ff28c019a19a9f0e341b4228 /etc
parente37e73e63dcc9f086fd7f6343b328e8ac9d68c1c (diff)
downloadheat-59ccb2f7515be43ca06436d2131bfa2b737ee092.tar.gz
Moved CORS middleware configuration into oslo-config-generator
The default values needed for heat's implementation of cors middleware have been moved from paste.ini into the configuration hooks provided by oslo.config. Furthermore, these values have been added to the default configuration parsing. This ensures that if a value remains unset in heat.conf, it will be set to use sane defaults, and that an operator modifying the configuration file will be presented with a default set of necessary sane headers. Change-Id: Ie3791007b33788829417ce508a3c719ae626bbce Closes-Bug: 1551836
Diffstat (limited to 'etc')
-rw-r--r--etc/heat/api-paste.ini3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/heat/api-paste.ini b/etc/heat/api-paste.ini
index 174095ac9..5ea89b5ae 100644
--- a/etc/heat/api-paste.ini
+++ b/etc/heat/api-paste.ini
@@ -59,9 +59,6 @@ heat.filter_factory = heat.api.openstack:version_negotiation_filter
[filter:cors]
paste.filter_factory = oslo_middleware.cors:filter_factory
oslo_config_project = heat
-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_expose_headers = X-Auth-Token, X-Subject-Token, X-Service-Token, X-OpenStack-Request-ID
-latent_allow_methods = GET, PUT, POST, DELETE, PATCH
[filter:faultwrap]
paste.filter_factory = heat.common.wsgi:filter_factory