Configuración del endpoint de prueba
El endpoint de prueba normalmente se construye para pruebas más extensas y, en menor medida, para un tiempo de respuesta mínimo. Use Heartbeat Endpoint Configuration para su uso con la aplicación de monitorización de servicios.
Ejemplos
El siguiente JSON es un ejemplo para este componente de configuración estandarizado:
{ "PresharedSecret": "presharedsecret"
, "Enable": true
}
Definición
{
"$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."
}
}
}
]
}