lp:~jaypipes/glance/refactor-stores

Created by Jay Pipes and last modified
Get this branch:
bzr branch lp:~jaypipes/glance/refactor-stores
Only Jay Pipes can upload to this branch. If you are Jay Pipes please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Jay Pipes
Project:
Glance
Status:
Merged

Recent revisions

179. By Jay Pipes

Remove expected_size stuff

178. By Jay Pipes

Make calling delete on a store that doesn't support it raise an exception, clean up stubout of HTTP store and testing of http store

177. By Jay Pipes

Add configuration check for Filesystem store on configure(), not every call to add()

176. By Jay Pipes

Refactor S3 store to make configuration one-time at init versus every method call invocation

175. By Jay Pipes

Refactor Swift store to make configuration one-time at init versus every method call invocation

174. By Jay Pipes

Forgot to add a new file...

173. By Jay Pipes

  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

    Work TODO:

    * Remove the now-unnecessary repetitve option-checking code in the
      Swift, S3, and filesystem drivers

172. By Justin Shepherd

Use of "%default" in help string does not work, have to use "%(default)s". Per the 4th example http://docs.python.org/dev/library/argparse.html#prog

171. By Justin Shepherd

Added nose-exclude to pip-requires.

'./run_tests.sh --unittests-only' adds '--exclude-dir=tests/functional' to noseargs.

170. By Jay Pipes

Completes the S3 storage backend. The original code did not actually fit
the API from boto it turned out, and the stubs that were in the unit test
were hiding this fact.

Adds a unit test that gets S3 testing up to snuff with the Swift backend.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~hudson-openstack/glance/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers