Merge "Enable healthcheck middleware"
This commit is contained in:
commit
860772e1b0
@ -1,6 +1,7 @@
|
|||||||
[composite:trove]
|
[composite:trove]
|
||||||
use = call:trove.common.wsgi:versioned_urlmap
|
use = call:trove.common.wsgi:versioned_urlmap
|
||||||
/: versions
|
/: versions
|
||||||
|
/healthcheck: healthcheck
|
||||||
/v1.0: troveapi
|
/v1.0: troveapi
|
||||||
|
|
||||||
[app:versions]
|
[app:versions]
|
||||||
@ -42,5 +43,10 @@ paste.app_factory = trove.common.api:app_factory
|
|||||||
[filter:debug]
|
[filter:debug]
|
||||||
paste.filter_factory = trove.common.wsgi:Debug
|
paste.filter_factory = trove.common.wsgi:Debug
|
||||||
|
|
||||||
|
[app:healthcheck]
|
||||||
|
paste.app_factory = oslo_middleware:Healthcheck.app_factory
|
||||||
|
backends = disable_by_file
|
||||||
|
disable_by_file_path = /etc/trove/healthcheck_disable
|
||||||
|
|
||||||
[filter:http_proxy_to_wsgi]
|
[filter:http_proxy_to_wsgi]
|
||||||
use = egg:oslo.middleware#http_proxy_to_wsgi
|
use = egg:oslo.middleware#http_proxy_to_wsgi
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Now the healthcheck middleware from oslo.middleware library is enabled by
|
||||||
|
default. Edit ``api-paste.ini`` to disable the middlewware.
|
@ -4,7 +4,9 @@ wrap_width = 79
|
|||||||
namespace = trove.config
|
namespace = trove.config
|
||||||
namespace = oslo.db
|
namespace = oslo.db
|
||||||
namespace = oslo.messaging
|
namespace = oslo.messaging
|
||||||
namespace = oslo.middleware
|
namespace = oslo.middleware.cors
|
||||||
|
namespace = oslo.middleware.healthcheck
|
||||||
|
namespace = oslo.middleware.http_proxy_to_wsgi
|
||||||
namespace = oslo.log
|
namespace = oslo.log
|
||||||
namespace = oslo.policy
|
namespace = oslo.policy
|
||||||
namespace = osprofiler
|
namespace = osprofiler
|
||||||
|
Loading…
Reference in New Issue
Block a user