summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorAlistair Coles <alistairncoles@gmail.com>2021-12-01 13:54:36 +0000
committerAlistair Coles <alistairncoles@gmail.com>2021-12-20 18:16:32 +0000
commit5079d8429d9799e291d098e14487034c7e910a0d (patch)
tree0e079c5a3ae21384318625107fb2a84101ae2088 /requirements.txt
parentb1f03149f03d25d1808bf11c6fb4e8f2e4dca61f (diff)
downloadswift-5079d8429d9799e291d098e14487034c7e910a0d.tar.gz
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
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index 223fc617b..3b74c3a87 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,7 +5,7 @@
eventlet>=0.25.0 # MIT
greenlet>=0.3.2
netifaces>=0.8,!=0.10.0,!=0.10.1
-PasteDeploy>=1.3.3
+PasteDeploy>=2.0.0
lxml>=3.4.1
requests>=2.14.2 # Apache-2.0
six>=1.10.0