Merge pull request #613 from lblod/chore/health-checks

Chore/health checks
This commit is contained in:
cecemel
2026-07-31 10:59:38 +02:00
committed by GitHub
2 changed files with 17 additions and 2 deletions

View File

@@ -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]

View File

@@ -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
###############################################################