Invantive-dokumentaatioosa Invantive Cloudia
Invantive-tukifoorumitKirjaudu sisään / Rekisteröidy

Testipäätepisteen määritys

Testipäätepiste rakennetaan yleensä laajempia testejä varten, ja kevyempi versio on tarkoitettu lyhyisiin vasteaikoihin. Käytä Heartbeat Endpoint Configuration palvelunvalvontasovelluksen kanssa.

Esimerkit

Seuraava JSON on esimerkki tälle standardoidulle konfiguraationosalle:

{ "PresharedSecret": "presharedsecret"
, "Enable": true
}

Määritelmä

{
  "$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."
        }
      }
    }
  ]
}