From a5a66ea6d75f8dbad2e8e3c769c0d49b0c8a19af Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Mon, 18 May 2026 16:51:14 +0545 Subject: [PATCH 1/2] update(endpoint-added): health endpoint added --- config/common/templates/endpoint_health.tmpl | 15 +++++++++++++++ config/common/templates/endpoints.tmpl | 1 + 2 files changed, 16 insertions(+) create mode 100644 config/common/templates/endpoint_health.tmpl diff --git a/config/common/templates/endpoint_health.tmpl b/config/common/templates/endpoint_health.tmpl new file mode 100644 index 0000000..fa74fd7 --- /dev/null +++ b/config/common/templates/endpoint_health.tmpl @@ -0,0 +1,15 @@ +{ + "endpoint": "/health", + "method": "GET", + "input_headers": [], + "backend": [ + { + "host": [ + {{ include "backend_host.tmpl" }} + ], + "method": "GET", + "url_pattern": "/health", + "extra_config": {} + } + ] +} diff --git a/config/common/templates/endpoints.tmpl b/config/common/templates/endpoints.tmpl index 893bb17..ad02ddf 100755 --- a/config/common/templates/endpoints.tmpl +++ b/config/common/templates/endpoints.tmpl @@ -1,3 +1,4 @@ +{{ template "endpoint_health.tmpl"}}, {{ template "endpoint_login.tmpl"}}, {{ template "endpoint_register.tmpl"}}, {{ template "endpoint_user_logout.tmpl"}}, From 44b9cbe2cd04e0fac21b2d0a2a989b76b9b0294a Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Mon, 18 May 2026 17:28:14 +0545 Subject: [PATCH 2/2] update(endpoint-added): health endpoint added --- config/common/templates/endpoint_health.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/common/templates/endpoint_health.tmpl b/config/common/templates/endpoint_health.tmpl index fa74fd7..f57c681 100644 --- a/config/common/templates/endpoint_health.tmpl +++ b/config/common/templates/endpoint_health.tmpl @@ -1,5 +1,5 @@ { - "endpoint": "/health", + "endpoint": "/healthz", "method": "GET", "input_headers": [], "backend": [ @@ -8,7 +8,7 @@ {{ include "backend_host.tmpl" }} ], "method": "GET", - "url_pattern": "/health", + "url_pattern": "/healthz", "extra_config": {} } ]