Configurazione dell'endpoint di test
L'endpoint di test viene in genere costruito per test più estesi e meno per un tempo di risposta minimo. Usare Heartbeat Endpoint Configuration per l'uso con l'applicazione di monitoraggio dei servizi.
Esempi
Il seguente JSON è un esempio per questo componente di configurazione standardizzato:
{ "PresharedSecret": "presharedsecret"
, "Enable": true
}
Definizione
{
"$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."
}
}
}
]
}