テストエンドポイントの構成
テスト用エンドポイントは、通常、応答時間を最小限にすることよりも、より広範なテストを行うために構成されます。 サービス監視アプリケーションで使用する場合は、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."
}
}
}
]
}