b57e1b0286
This adds the CORS support middleware to Mistral, allowing a deployer to optionally configure rules under which a javascript client may break the single-origin policy and access the API directly. For Mistral, the CORS middleware was added directly to the wsgi factory. Config generation and tests have also been provided. OpenStack CrossProject Spec: http://specs.openstack.org/openstack/openstack-specs/specs/cors-support.html Oslo_Middleware Docs: http://docs.openstack.org/developer/oslo.middleware/cors.html OpenStack Cloud Admin Guide: http://docs.openstack.org/admin-guide-cloud/cross_project_cors.html DocImpact: Add link to CORS configuration in admin cloud guide. Change-Id: Ic8f2e257acb256d9ea99b66d2ed1dcfc8652ae89
8 lines
207 B
Plaintext
8 lines
207 B
Plaintext
[DEFAULT]
|
|
namespace = mistral.config
|
|
namespace = oslo.db
|
|
namespace = oslo.messaging
|
|
namespace = oslo.middleware.cors
|
|
namespace = keystonemiddleware.auth_token
|
|
namespace = periodic.config
|
|
namespace = oslo.log |