glance/glance/db
Alex Meade 3bfd7bd56c Raise bad request early if image metadata is invalid
Image data is currently uploaded into the backend store even if it is a bad
request. This patch add value validation in the deserializer so we don't set bad
data. It also does a full validation of the image metadata to make sure
everything that is needed for an image upload is set correctly before the upload
can occur.

There were currently some relevant tests that had incorrect names causing them
to not run. These have been fixed and modified.

Fixes bug 1035982

Change-Id: I6f3ef83ba7b3de3cb885fad9737fef1a03d9222c
2012-09-07 16:48:02 -04:00
..
simple Require 'status' in simple db image_create 2012-09-03 20:52:57 -07:00
sqlalchemy Raise bad request early if image metadata is invalid 2012-09-07 16:48:02 -04:00
__init__.py Fix LP bug #1044462 cfg items need secret=True 2012-09-03 07:39:53 +00:00