diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fe0833..5b5f475 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,14 @@ drc restart migrations frontend db resource cache /bin/bash scripts/reset-elastic.sh ``` +## v1.41.0 + - added explicit healtchecks [DL-7466] + +### Deploy notes +``` +drc restart dispatcher +``` + ## v1.40.0 - Query to check missing address URI's [OP-3784] - Create new query 'organisations shown in OP frontend' in Dashboard [OP-3774] diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index b92cbef..23571bf 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -507,6 +507,14 @@ defmodule Dispatcher do # forward(conn, path, "http://db:8890/sparql/") # end + ################################################################# + # Health checks + ################################################################# + + get "/health/accounts", %{layer: :api} do + Proxy.forward(conn, [], "http://resource/accounts/") + end + ############################################################### # errors ###############################################################