glance/etc
Michael Krotscheck 761751064b Added CORS support to Glance
This adds the CORS support middleware to Glance, allowing a deployer
to optionally configure rules under which a javascript client may
break the single-origin policy and access the API directly.

For Glance, the paste.ini method of deploying the middleware was
chosen, because it needs to be able to annotate responses created
by keystonemiddleware. If the middleware were explicitly included
as in the previous patch, keystone would reject the request before
the cross-domain headers could be annotated, resulting in an
error response that was unreadable by the user agent.

A special consideration has been made to accomodate Glance's
nonstandard configuration files, by using 'glance-api' as the
value of oslo_config_project in paste.ini. This is to trigger
automatic oslo configuration loading for paste-loaded middleware,
in order to ensure that it finds glance-api.conf rather than
glance.conf.

DocImpact: Add link to CORS configuration in Admin Guide
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

Change-Id: Icf5fb91a0b9e6736e70314c72c1c99c5f170ba53
2015-12-04 08:41:20 -08:00
..
metadefs Fix incorrect Glance image metadata description 2015-10-16 11:18:00 -07:00
oslo-config-generator Added CORS support to Glance 2015-12-04 08:41:20 -08:00
glance-api-paste.ini Added CORS support to Glance 2015-12-04 08:41:20 -08:00
glance-api.conf Added CORS support to Glance 2015-12-04 08:41:20 -08:00
glance-cache.conf Typo fix 2015-10-20 03:56:47 +00:00
glance-manage.conf Update Glance example configs to reflect Liberty 2015-09-23 22:25:43 +00:00
glance-registry-paste.ini Healthcheck Middleware 2015-07-07 11:55:21 +02:00
glance-registry.conf Typo fix 2015-10-20 03:56:47 +00:00
glance-scrubber.conf Typo fix 2015-10-20 03:56:47 +00:00
glance-swift.conf.sample [docs] Update description of Glance-Swift conf options 2015-11-20 18:22:43 +02:00
policy.json Add ability to deactivate an image 2015-03-13 14:21:11 -04:00
property-protections-policies.conf.sample Using policies for protected properties 2013-10-17 01:55:00 +00:00
property-protections-roles.conf.sample Add _member_ to property-protections-roles.conf.sample 2015-09-11 12:44:08 +00:00
schema-image.json Allow ramdisk_id, kernel_id to be null on schema 2015-07-23 18:02:07 +00:00