add health endpoints
Some checks are pending
Build and Publish / build-release (push) Waiting to run

This commit is contained in:
2026-04-13 16:22:47 -05:00
parent 3559699e40
commit e145d3bb3e
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
defmodule PolicyServiceWeb.HealthController do
use PolicyServiceWeb, :controller
def health(conn, _params) do
conn
|> put_status(:ok)
|> json(%{status: "ok"})
end
def ready(conn, _params) do
conn
|> put_status(:ok)
|> json(%{status: "ready"})
end
end