invantive-dokumentationen del af invantive cloud
Invantive Support ForumsLog ind / Tilmeld dig

Konfiguration af test-endpoint

Test-endpointet er typisk konstrueret til mere omfattende tests og mindre til minimal svartid. Brug Heartbeat Endpoint Configuration til brug sammen med et program til overvågning af tjenester.

Eksempler

Følgende JSON er et eksempel for denne standardiserede konfigurationskomponent:

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

Definition

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