Added health checks
This commit is contained in:
@@ -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