swift/swift
Alistair Coles 5079d8429d internal-client: pass global_conf to loadapp
The internal client previously provided no easy way to programatically
customise the configuration of the proxy-server app or other
middlewares in its wsgi pipeline.  This patch allows a global_conf
dict to be passed via the InternalClient constructor to the wsgi
loadapp function. Items in the global_conf dict will override options
loaded from the config file. An example use case would be to change
the log_name from the default 'swift', which would be useful to
differentiate logs from different processes using an internal client.

The minimum version of PasteDeploy is increased to 2.0.0 to make the
global_conf behavior predictable: in older versions global_conf would
not override options in the conf file DEFAULT section, but since 2.0.0
it will.

Change-Id: Ida39ec7eb02a93cf4b2aa68fc07b7f0ae27b5439
2021-12-20 18:16:32 +00:00
..
account account: Remove logging translations 2021-11-29 17:19:17 -08:00
cli Add and pipe reconstructor stats through recon 2021-08-20 00:03:40 +00:00
common internal-client: pass global_conf to loadapp 2021-12-20 18:16:32 +00:00
container updaters: use replication network 2021-12-10 13:31:45 +00:00
locale Imported Translations from Zanata 2020-10-11 08:24:38 +00:00
obj updaters: use replication network 2021-12-10 13:31:45 +00:00
proxy Add some extra logging when EC decode fails 2021-12-03 16:36:01 +11:00
__init__.py Quiet more deprecation warnings on py2 2021-03-30 14:02:36 -07:00