diff --git a/CHANGELOG.md b/CHANGELOG.md index e6d6860..da50378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog + ## Unreleased - Added service to link addresses to addressregister uris [OP-3795] - Derive an organization's reference region(s) from its werkingsgebied; bump scope-of-operation to 0.2.0 [OP-3799] @@ -29,13 +30,19 @@ drc pull construct-organization-relationships && drc up -d construct-organizatio drc restart migrations drc restart resource cache scripts/reset-elastic.sh -``` -``` drc restart migrations frontend db resource cache # reindex elastic search: /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 ###############################################################