Konfiguration av testendpunkt
Testendpunkten är vanligtvis utformad för mer omfattande tester och mindre för minimal svarstid. Använd Heartbeat Endpoint Configuration för användning tillsammans med ett övervakningsprogram för tjänster.
Exempel
Följande JSON är ett exempel för denna standardiserade konfigurationskomponent:
{ "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."
}
}
}
]
}