OpenStack Image Management (Glance)
Go to file
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
doc/source Add documentation on reserving a Glance image 2013-05-28 13:38:09 +00:00
etc Use RBAC policy to determine if context is admin. 2013-05-02 16:40:24 +01:00
glance Remove routes collection mappings 2013-06-04 13:44:02 +00:00
tools Merge "Add qpid-python to test-requires" 2013-05-31 22:18:28 +00:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore Move to tag-based versioning. 2012-08-12 16:10:03 +00:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 11:02:16 -04:00
.mailmap Clean up pep8 E502, E711 violations 2012-09-18 10:10:01 +08:00
HACKING.rst Expand HACKING with commit message guidelines 2013-04-26 15:27:09 -04:00
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
MANIFEST.in Update version code from oslo. 2013-01-13 14:27:48 -08:00
README.rst Replace README with links to better docs 2012-09-20 09:33:40 -07:00
babel.cfg Added first step of babel-based translations. 2012-02-28 02:00:37 -08:00
openstack-common.conf Encode headers and params 2013-05-29 15:00:27 +02:00
pylintrc Packaging fixups 2010-10-21 15:51:44 -04:00
run_tests.sh Use flake8/hacking instead of pep8. 2013-05-03 11:28:22 -04:00
setup.cfg Remove gettext.install() from glance/__init__.py 2013-05-08 09:21:46 +01:00
setup.py Convert scripts to entry points 2013-04-29 14:08:29 -10:00
tox.ini Use flake8/hacking instead of pep8. 2013-05-03 11:28:22 -04:00

README.rst

Glance

Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images. Use the following resources to learn more: