Konfiguration af Heartbeat-endpoint
Heartbeat-endpointet er typisk bygget til at have en minimal svartid, da det typisk bliver forespurgt hvert par sekunder. Brug Test Endpoint Configuration til mere omfattende diagnostik.
Eksempler
Følgende JSON er et eksempel for denne standardiserede konfigurationskomponent:
{ "Enable": true
}
Definition
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://invantive.com/schemas/defs/HeartbeatEndpointConfig.schema.json",
"title": "HeartbeatEndpointConfig",
"description": "Heartbeat endpoint configuration.",
"allOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"Enabled": {
"type": "boolean",
"description": "Whether the test endpoint is enabled."
}
}
}
]
}