Konfiguration des Test-Endpunkts
Der Test-Endpunkt ist in der Regel eher für umfangreichere Tests und weniger für minimale Antwortzeiten ausgelegt. Verwenden Sie Heartbeat Endpoint Configuration für die Nutzung mit einer Anwendung zur Dienstüberwachung.
Beispiele
Das folgende JSON ist ein Beispiel für diese standardisierte Konfigurationskomponente:
{ "PresharedSecret": "presharedsecret"
, "Enable": true
}
Definition
{
"$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."
}
}
}
]
}