35 lines
993 B
Python
35 lines
993 B
Python
|
|
|
|
class HostConfig:
|
|
|
|
MAIN_HOST: str = "10.10.2.36" # http://10.10.2.36
|
|
EMAIL_HOST: str = "10.10.2.34" # http://10.10.2.34
|
|
|
|
|
|
class MainConfig:
|
|
|
|
APP_NAME: str = "evyos-web-api-gateway"
|
|
TITLE: str = "WAG API Web Api Gateway"
|
|
DESCRIPTION: str = "This api is serves as web api gateway only to evyos web services."
|
|
APP_URL: str = "https://www.wag.eys.gen.tr"
|
|
|
|
DATETIME_FORMAT: str = "YYYY-MM-DD HH:mm:ss ZZ"
|
|
DATETIME_FORMAT_JS: str = "YYYY-MM-DD HH:mm:ss +0"
|
|
|
|
# Timezone Configuration
|
|
DEFAULT_TIMEZONE: str = "GMT+3" # Default timezone for the application
|
|
SYSTEM_TIMEZONE: str = "GMT+0" # System timezone (used for internal operations)
|
|
SUPPORTED_TIMEZONES: list = ["GMT+0", "GMT+3"] # List of supported timezones
|
|
|
|
|
|
class LanguageConfig:
|
|
|
|
SUPPORTED_LANGUAGES: list = ["en", "tr"]
|
|
DEFAULT_LANGUAGE: str = "tr"
|
|
|
|
|
|
class ValidationsConfig:
|
|
|
|
SUPPORTED_VALIDATIONS: list = ["header", "validation", "all"]
|
|
DEFAULT_VALIDATION: str = "all"
|