Merge pull request #613 from lblod/chore/health-checks
Chore/health checks
This commit is contained in:
11
CHANGELOG.md
11
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]
|
||||
|
||||
@@ -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
|
||||
###############################################################
|
||||
|
||||
Reference in New Issue
Block a user