Invantive 문서Invantive Cloud의 일부
Invantive 지원 포럼로그인 / 회원가입

웹 애플리케이션 구성

예시

다음 JSON은 이 표준화된 구성 구성 요소의 예입니다:

{ "AccessControl": ...
, "RateLimitControl": ...
, "DefaultResponseHeaders": ...
, "LogTraceToFile": false
, "LogRequestProgress": false
}

정의

모든 Invantive 기술 웹 애플리케이션에 걸쳐 표준화된 구성 요소를 참조하며, 모든 구성 요소가 모든 웹 애플리케이션에 구현되어 있지는 않을 수 있습니다:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://invantive.com/schemas/defs/WebApplicationSetting.schema.json",
  "title": "WebApplicationSetting",
  "description": "Web application configuration.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "AccessControl": {
      "anyOf": [
        {
          "$ref": "./AccessControl.schema.json"
        },
        {
          "type": "null"
        }
      ],
      "description": "Access Control configuration."
    },
    "RateLimitControl": {
      "anyOf": [
        {
          "$ref": "./RateLimitControl.schema.json"
        },
        {
          "type": "null"
        }
      ],
      "description": "Rate limit control configuration."
    },
    "DefaultResponseHeaders": {
      "type": ["object", "null"],
      "additionalProperties": {
        "type": "string"
      },
      "description": "Default response HTTP headers."
    },
    "LogTraceToFile": {
      "type": ["boolean", "null"],
      "description": "Whether to create log file for trace.",
      "default": false
    },
    "LogRequestProgress": {
      "type": "boolean",
      "description": "Whether to create log file per request.",
      "default": false
    }
  }
}