glance/glance/api
Edward Hope-Morley 51ecc8016a Adds guard against upload contention
Protect against concurrent image uploads by allowing the
initial request to proceed and succeed and subsequent
concurrent requests to fail.

We now allow the upload activation to specify what state
it expects to transition to 'active' from. If by the time
the db is updated the transition has already occured i.e.
another upload has succeeded, the upload will fail and data
will be cleaned up.

Fixes: bug 1241025
Change-Id: Ie532b61484bec660910fb9a37429397bde8ef11f
2013-12-19 14:26:40 +00:00
..
middleware Return 204 when image data does not exist 2013-12-17 14:57:58 +08:00
v1 Adds guard against upload contention 2013-12-19 14:26:40 +00:00
v2 Return 204 when image data does not exist 2013-12-17 14:57:58 +08:00
__init__.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 18:29:53 +02:00
authorization.py Merge "Forbidden update message diffs images/tasks/member" 2013-12-17 05:02:35 +00:00
cached_images.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 18:29:53 +02:00
common.py Remove use of locals() when creating messages 2013-11-12 00:50:40 +00:00
policy.py Adds domain level support for tasks 2013-11-26 16:35:12 -05:00
property_protections.py Using policies for protected properties 2013-10-17 01:55:00 +00:00
versions.py Publish recent api changes as v2.2 2013-09-04 14:55:08 -07:00