zaqar/marconi/tests
kgriffs ecce97fd03 chore: Pass cache into drivers
This patch plumbs storage drivers so they all get a cache instance
they can use at their discretion.

I decided to make cache a required param to the initializers, since
any deployment of Marconi of any significance would likely opt to
enable caching anyway, and the cache library has a default in-memory
backend that can be used for simple deployments.

Note also that both data- and control-plane drivers receive a cache
instance, even though the sharding controllers will not use it
(caching will be done in the sharding data driver instead.) I thought
it would be better to pass cache in both cases so we can share test
code and avoid complicating utils.load_storage_driver(). Also, the
control driver may eventually support operations other than sharding;
cache may come in handy then.

Change-Id: I647791af0d7a5914c30cb2489033ec650a455370
Signed-off-by: kgriffs <kurt.griffiths@rackspace.com>
2013-12-03 11:55:24 -06:00
..
common Remove util packages 2013-09-06 10:56:42 +02:00
functional feat: integrate shard storage with transport 2013-10-31 09:12:54 -04:00
queues chore: Pass cache into drivers 2013-12-03 11:55:24 -06:00
__init__.py Follow hacking rules about import 2013-10-11 20:06:35 -07:00
base.py Isolate tests a bit more 2013-11-21 14:38:11 +01:00
faulty_storage.py chore: Pass cache into drivers 2013-12-03 11:55:24 -06:00
helpers.py feat: add catalogue storage driver for queues 2013-10-30 11:27:44 -04:00