glance/glance
Stuart McLaren 519c0a6be1 Remove routes collection mappings
When using the routes mapper's collection to map from URLs to
python functions several additional URIs are created by
default: 'new', 'format' and 'edit', eg this URI

/v1/images/new

was accessible and would return a '500'.

/v1/images/detail.xxx

was accessible and a 'GET' to it would create a file called 'detail.xxx'
in the image cache directory (where 'xxx' is an arbitrary string).

Similar resources for image memberships existed.

Other collection URIs (for both the API and Registry) would return
unexpected behaviour.

Use explicit mappings rather than a 'collection' to remove
the superfluous resources.

Fixes bug 1185828.

Change-Id: I2f451f0208d43cdc83dcf58a41ea31359b18fcf2
2013-06-04 13:44:02 +00:00
..
api Remove routes collection mappings 2013-06-04 13:44:02 +00:00
cmd Add GLANCE_LOCALEDIR env variable 2013-05-08 09:23:32 +01:00
common Merge "Encode headers and params" 2013-05-31 17:38:29 +00:00
db Prevent '500' error when using forbidden marker 2013-05-21 16:23:48 +00:00
domain fixes use the fact that empty sequences are false 2013-03-18 14:39:38 +08:00
image_cache Create package for registry's client 2013-05-01 22:34:17 +02:00
locale Imported Translations from Transifex 2013-04-17 00:02:03 +00:00
notifier Gracefully handle qpid errors 2013-04-19 16:59:13 +00:00
openstack Encode headers and params 2013-05-29 15:00:27 +02:00
registry Remove routes collection mappings 2013-06-04 13:44:02 +00:00
store Merge "RBD store uses common utils for reading file chunks" 2013-05-26 08:43:42 +00:00
tests Remove routes collection mappings 2013-06-04 13:44:02 +00:00
__init__.py Remove gettext.install() from glance/__init__.py 2013-05-08 09:21:46 +01:00
context.py Use RBAC policy to determine if context is admin. 2013-05-02 16:40:24 +01:00
gateway.py Fix domain database initialization 2013-03-22 15:14:11 -07:00
schema.py fixes use the fact that empty sequences are false 2013-03-18 14:39:38 +08:00
version.py Updates OpenStack LLC with OpenStack Foundation 2013-02-17 19:19:43 -08:00