Provide CORS support for Magnum
Bug #1508209 reported by
Michael
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
Michael |
Bug Description
This bug aims to capture the work necessary to provide CORS support in accordance to the OpenStack Cross-Project Spec outlined here: http://
Changed in magnum: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Changed in magnum: | |
milestone: | none → mitaka-1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/237199 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=cc713cd2d32 4ac290404b204bf fb0bddb2ffc0ab
Committed: https:/
Submitter: Jenkins
Branch: master
commit cc713cd2d324ac2 90404b204bffb0b ddb2ffc0ab
Author: Michael Krotscheck <email address hidden>
Date: Mon Oct 19 14:00:57 2015 -0700
Added CORS support to Magnum
This adds the CORS support middleware to Magnum, allowing a deployer
to optionally configure rules under which a javascript client may
break the single-origin policy and access the API directly.
For magnum, the CORS middleware was directly added to the setup_app
method, as the last middleware to be wrapped around the application
instance. Common headers were added, in order to avoid magic
configuration moments where a feature does not function without
an operator having to read code.
OpenStack CrossProject Spec: specs.openstack .org/openstack/ openstack- specs/specs/ cors-support. html docs.openstack. org/developer/ oslo.middleware /cors.html docs.openstack. org/admin- guide-cloud/ cross_project_ cors.html
http://
Oslo_Middleware Docs:
http://
OpenStack Cloud Admin Guide:
http://
DocImpact
Change-Id: I7e6d7e2145e3bf 883b8a28071c949 e10e5c207e0
Closes-bug: #1508209