Browse Source

Merge "Add a /healthcheck middleware"

changes/16/743516/1
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
0a7b1723e1
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      etc/designate/api-paste.ini

+ 6
- 0
etc/designate/api-paste.ini View File

@@ -1,6 +1,7 @@
[composite:osapi_dns]
use = egg:Paste#urlmap
/: osapi_dns_versions
/healthcheck: healthcheck
/v2: osapi_dns_v2
/admin: osapi_dns_admin

@@ -59,3 +60,8 @@ paste.filter_factory = designate.api.middleware:FaultWrapperMiddleware.factory

[filter:validation_API_v2]
paste.filter_factory = designate.api.middleware:APIv2ValidationErrorMiddleware.factory

[app:healthcheck]
paste.app_factory = oslo_middleware:Healthcheck.app_factory
backends = disable_by_file
disable_by_file_path = /etc/designate/healthcheck_disable

Loading…
Cancel
Save