glance/etc
Mark McLoughlin ba44d1c384 Add generic PasteDeploy app and filter factories
These generic factories allow us to dump the copied and pasted
app_factory and filter_factory methods in the codebase.

The main difference is the paste configuration changes from:

  [app:apiv1app]
  paste.app_factory = glance.api.v1:app_factory
  ...
  [filter:cache]
  paste.filter_factory = glance.api.middleware.cache:filter_factory

to this:

  [app:apiv1app]
  paste.app_factory = glance.common.wsgi:app_factory
  glance.app_factory = glance.api.v1:API
  ...
  [filter:cache]
  paste.filter_factory = glance.common.wsgi:filter_factory
  glance.filter_factory = glance.api.middleware.cache:CacheFilter

Apart from reducing code duplication, this will also allow us to have
the generic factories inject other data into the apps and filters.

Change-Id: I1d2be5630ab61d29b8948ff88d58e6e1b11c2e5f
2011-12-07 12:42:03 +00:00
..
glance-api.conf Add generic PasteDeploy app and filter factories 2011-12-07 12:42:03 +00:00
glance-cache.conf Add generic PasteDeploy app and filter factories 2011-12-07 12:42:03 +00:00
glance-registry.conf Add generic PasteDeploy app and filter factories 2011-12-07 12:42:03 +00:00
glance-scrubber.conf Add generic PasteDeploy app and filter factories 2011-12-07 12:42:03 +00:00
logging.cnf.sample First round of logging functionality: 2011-02-01 13:18:40 -05:00