feat: add readiness contract
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
|
"$id": "https://trixie.reaperofveriod.nl/contracts/v1/readiness.json",
|
||||||
|
"title": "Trixie readiness response",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": ["status"],
|
||||||
|
"properties": {
|
||||||
|
"status": { "enum": ["ready", "database_unavailable"] }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"status": "ready"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user