Konfigurace testovacího koncového bodu
Testovací koncový bod se obvykle konfiguruje spíše pro rozsáhlejší testy a méně pro minimální dobu odezvy. Použijte Heartbeat Endpoint Configuration pro použití s aplikací pro monitorování služeb.
Příklady
Následující JSON je příkladem pro tuto standardizovanou konfigurační komponentu:
{ "PresharedSecret": "presharedsecret"
, "Enable": true
}
Definice
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://invantive.com/schemas/defs/ExtendedTestEndpointConfig.schema.json",
"title": "ExtendedTestEndpointConfig",
"allOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"Enabled": {
"type": "boolean",
"description": "Whether the test endpoint is enabled."
},
"PresharedSecret": {
"type": ["string", "null"],
"description": "The pre-shared key."
}
}
}
]
}