]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Moved CORS middleware configuration into oslo-config-generator
authorMichael Krotscheck <krotscheck@gmail.com>
Tue, 1 Mar 2016 19:31:40 +0000 (11:31 -0800)
committerMichael Krotscheck <krotscheck@gmail.com>
Tue, 8 Mar 2016 16:51:52 +0000 (08:51 -0800)
commitabba4921845cbdb66dfb5112c20dc04446870a42
treef7cc6d40d9cbebf8251271ef2ca6e7cf7b88e99c
parent8fbc112a9997c0bece61fa522fca9736aae56868
Moved CORS middleware configuration into oslo-config-generator

The default values needed for cinder'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 cinder's default configuration parsing. This ensures
that if a value remains unset in cinder.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.

Depends-on: I658e54966c390b41e3b551dd9827606c2e013511
Change-Id: Ia8735d5952d7e03b6948f748afead13e6f890271
Closes-Bug: 1551836
cinder/cmd/all.py
cinder/cmd/api.py
cinder/common/config.py
cinder/wsgi/wsgi.py
etc/cinder/api-paste.ini
setup.cfg