Implement get_size filesystem store method

Change-Id: Ic8bc48c432ebc771f8f4a9274e1cbe8e69c0de5c
Add store test coverage for the get_size method

This ensures the existing get_size methods return integers
rather than strings.

Change-Id: Iaad49005e68f052f3b7243fef1f56478afb1abba
Rewrite S3 functional tests

rewrite s3 store functional test coverage using new style of
direct python library calls rather than indirectly testing through
the v1 API.

Change-Id: Iab8e4034ebb0a2a7812497bdca3aa32d4a0b41bf
Fixed deleted image being downloadable by admin.

Raised NotFound exception for deleted image, so that a 404 gets
returned for download.

Fixes LP: #1081941

Change-Id: Ia82927719b6f7d20f8467eca12e8c91424e0f438
Unused variables removed

Variables api_port and registry_port were unused and hence removed.

Change-Id: I65aa64a79fcd30e61f4448ec4a24285e83273620
Use 'notifications' as default notification queue name

All OpenStack projects uses `notifications' as topic by default, except
Glance, let's fix that.

This fixes bug #1083648

Change-Id: I973164f35a9466eb543656546d3110c6430170ef
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "Unused variables removed"
Add domain proxies that do policy.enforce checks

This patch introduces domain objects that handle all the policy.enforce
checks. In this way, eventually the controller will not have to keep
track of enforcing authorization policies.

Part of implementing bp:glance-domain-logic-layer

Change-Id: Ide724f5b246e50fbdb8ee7617359e1aa97bdb2ee
Add domain proxies that stop unauthorized actions

This patch introduces domain objects that handle context-based
authorization checks. With this approach, we can eventually remove
ownership checks from the database apis.

Part of implementing bp:glance-domain-logic-layer

Change-Id: I30c7444220013f17dab6479f1b00f1598ab424d0
Merge "Use 'notifications' as default notification queue name"
Use auth_token middleware from python-keystoneclient.

auth_token middleware has been moved from keystone to python-keystoneclient,
so add python-keystoneclient dependency.

Change-Id: Ic4122d575b26277f68a4336c27f12a67fbdbbd20
Merge "Fixed deleted image being downloadable by admin."
v2 API image upload set image status to active

For v2 API, updated the image status to 'active' after the image
data is uploaded.

Fixes LP: #1034787.

Change-Id: Ia689b841c36ce203e9f2858b79160a2d16154f52
Merge "Use auth_token middleware from python-keystoneclient."
Updates keystone middleware classname in docs.

Change-Id: If6a5b74c2fe7855b28aaded7b93228dbd0de9845
Fixed image not getting deleted from cache.

When an image is being added to cache and a DELETE request for same
image arrives, the image remains in the 'cache' directory forever.
Also, admin user is able to download such image. Cleaned up the
deleted image from cache to resolve the issue permanently.

Fixes LP: #1083070

Change-Id: Id2b11d21b8ccecb1037eb6341ffd24a3c2e1833c
Merge "Implement get_size filesystem store method"
Merge "Add store test coverage for the get_size method"
Merge "v2 API image upload set image status to active"
Merge "Updates keystone middleware classname in docs."