summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2016-11-28 15:35:33 +0100
committerJulien Danjou <julien@danjou.info>2016-12-01 11:16:12 +0100
commit6feaa13610c450c8486f969703768db5319b4846 (patch)
tree7adcbbb187d0a39b91b67a80199020616ec6079c /setup.cfg
parent24325269f866ddf90369508daa180bbdf44fe589 (diff)
downloadoslo-middleware-6feaa13610c450c8486f969703768db5319b4846.tar.gz
Transform healthcheck from filter to an application3.22.0
The healthcheck middleware has actually wrongly been designed as a filter, whereas it is its own application. This patch fixes that by exporting the healthcheck middleware as an application, while keeping the old behaviour for compatibility with existing deployment. Change-Id: I1ff43c71449f1955267faf6a85f4d70f705db097
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 116d465..357a1a6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -36,6 +36,9 @@ oslo.middleware.healthcheck =
disable_by_file = oslo_middleware.healthcheck.disable_by_file:DisableByFileHealthcheck
disable_by_files_ports = oslo_middleware.healthcheck.disable_by_file:DisableByFilesPortsHealthcheck
+paste.app_factory =
+ healthcheck = oslo_middleware:Healthcheck.app_factory
+
paste.filter_factory =
catch_errors = oslo_middleware:CatchErrors.factory
correlation_id = oslo_middleware:CorrelationId.factory