-
Committer:
Tarmac
-
Author(s):
jaypipes at gmail
-
Date:
2011-08-02 17:38:19 UTC
-
mfrom:
(172.1.7 refactor-stores)
-
Revision ID:
tarmac-20110802173819-3xbpla97s619l9zf
First round of refactoring on stores.
Refactors stores to be stateful:
* Creates a new base Store class
* Adds code for new Store modules to "register" with Glance
and ensure that when the Controller(s) are spun up, that
the stateful store objects are all created properly and passed
configuration options. This allows us to refactor a bunch of code
out of the various store adapters that is constantly re-checking
configuration option values during each call to get/add/delete, etc
* Removes the now-unnecessary repetitve option-checking code in the
Swift, S3, and filesystem drivers