테스트 엔드포인트 구성
테스트 엔드포인트는 일반적으로 응답 시간을 최소화하기보다 더 광범위한 테스트를 위해 구성됩니다. 서비스 모니터링 애플리케이션에서 사용하려면 Heartbeat Endpoint Configuration을(를) 사용하십시오.
예제
다음 JSON은 이 표준화된 구성 구성 요소의 예입니다:
{ "PresharedSecret": "presharedsecret"
, "Enable": true
}
정의
{
"$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."
}
}
}
]
}