Configuratie van het test-eindpunt
Het test-eindpunt is doorgaans bedoeld voor uitgebreidere tests en minder voor een minimale responstijd. Gebruik Heartbeat Endpoint Configuration voor gebruik met een toepassing voor servicebewaking.
Voorbeelden
Het volgende JSON-voorbeeld is een voorbeeld voor dit gestandaardiseerde configuratiecomponent:
{ "PresharedSecret": "presharedsecret"
, "Enable": true
}
Definitie
{
"$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."
}
}
}
]
}