Skip to main content

Configuration settings

This section documents all the available parameters that can be used to customize the functionality of SCHEMA api.

For each setting, we present all of the aspects that are required in order for users to understand the resulting effect. Some of these settings, that we find the need to explicitly explain at this point are:

  • Volatile: we denote as volatile, configuration settings that are strongly recommended to be determined upon deployment and remain static throughout the life of SCHEMA api. These are, in general, settings that enforce data integrity rules; changing any of these settings while SCHEMA api is already deployed and in use may result to data conflicts and hence should be avoided or used with extreme care

  • Required: required configuration settings must be defined otherwise SCHEMA api won't be deployed

  • Variable interpolation in examples: Many settings are documented with example values. In some of these cases, there is the need to denote the relationship with another variable or the use of another variable's value. In these cases, we denote as <VAR0>, the value of VAR0.

    For example, if we want to say that VAR0, is equal to the value of VAR1, we will write:

    VAR0=<VAR1>

SCHEMA_API_CONTEXT_MIN_ACTIVE_TASKS

SCHEMA_API_CONTEXT_MIN_CPU

SCHEMA_API_CONTEXT_MIN_PROCESS_TIME_SECONDS

SCHEMA_API_CONTEXT_MIN_RAM_GB

SCHEMA_API_CONTEXT_MIN_TASKS

SCHEMA_API_CONTEXT_NAME_SLUG_PATTERN

SCHEMA_API_CONTEXT_NAME_SLUG_PATTERN_VIOLATION_MESSAGE

SCHEMA_API_TASK_API_CLASS

SCHEMA_API_TASK_API_CREATE_ENDPOINT

SCHEMA_API_TASK_API_GET_ENDPOINT

SCHEMA_API_TASK_API_STATUS_TTL_SECONDS

SCHEMA_API_AUTHORIZATION_HEADER_PREFIX

SCHEMA_API_MINIMUM_USERNAME_LENGTH

SCHEMA_API_TOKEN_KEY_LENGTH

SCHEMA_API_TOKEN_BYTE_LENGTH

SCHEMA_API_USERNAME_SLUG_PATTERN

SCHEMA_API_USERNAME_SLUG_PATTERN_VIOLATION_MESSAGE

SCHEMA_API_USE_AUTH

SCHEMA_API_DB_HOST

SCHEMA_API_DB_NAME

SCHEMA_API_DB_PORT

SCHEMA_API_DB_USER