swift/swift/common
Alistair Coles dd113ab25a Refactor proxy-server conf loading to a helper function
There were two middlewares using a common pattern to load
the proxy-server app config section. The existing pattern
fails to recognise option overrides that are declared using
paste-deploy's 'set' notation, as illustrated by the change
to test_dlo.py in this patch.

This patch replaces the existing code with a helper function
that loads the proxy-server config using the paste-deploy loader.
The resulting config dict is therefore exactly the same as that
used to initialise the proxy-server app.

Change-Id: Ib58ce03e2010f41e7eb11f1a6dc78b0b7f55d466
2017-12-07 10:24:30 -08:00
..
middleware Refactor proxy-server conf loading to a helper function 2017-12-07 10:24:30 -08:00
ring Respect co-builder partition moves when min_part_hours is zero 2017-09-27 15:05:13 +01:00
__init__.py Start using Hacking 2013-07-15 11:41:58 +02:00
base_storage_server.py Add server type in OPTIONS response 2015-01-30 00:25:28 +05:30
bufferedhttp.py Remove unnecessary exception handling 2017-07-17 19:07:07 +00:00
constraints.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
container_sync_realms.py Use ConfigParser instead of SafeConfigParser 2016-09-12 15:02:40 +07:00
daemon.py Use "poll" or "selects" Eventlet hub for all Swift daemons. 2017-10-12 10:45:12 -07:00
db.py Be more tolerant of exception messages from sqlite 2017-10-18 18:15:11 -05:00
db_replicator.py Use check_drive consistently 2017-11-01 16:33:40 +00:00
direct_client.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
exceptions.py Add checksum to object extended attributes 2017-11-03 13:30:05 -04:00
header_key_dict.py Py3: Fixes header key dict 2016-11-08 12:22:12 -08:00
http.py Fix pep8 E265 warning of hacking 0.10 2015-07-30 09:33:18 +02:00
internal_client.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
linkat.py Make object creation more atomic in Linux 2016-08-24 14:56:00 +05:30
manager.py Add checksum to object extended attributes 2017-11-03 13:30:05 -04:00
memcached.py Fix memcached exception out of range stacktrace 2017-09-25 18:15:56 -07:00
request_helpers.py Stop logging tracebacks on bad xLOs 2017-10-18 22:39:37 +00:00
splice.py Replace reduce and unichr , these are no longer available in py3 2015-07-09 21:56:29 +05:30
storage_policy.py Replace replication_one_per_device by custom count 2017-10-24 16:17:41 +01:00
swob.py Respond 400 Bad Request when Accept headers fail to parse 2017-10-13 12:35:21 -07:00
utils.py Require lock_path limit to be a positive int 2017-10-24 16:17:49 +01:00
wsgi.py Refactor proxy-server conf loading to a helper function 2017-12-07 10:24:30 -08:00