1372 lines
41 KiB
Plaintext
1372 lines
41 KiB
Plaintext
-> celery@ad4673985656: OK
|
|
{
|
|
"broker_transport_options": {
|
|
"confirm_publish": false
|
|
},
|
|
"broker_url": "amqp://test:********@rabbitmq-sbt:5672//",
|
|
"deprecated_settings": null,
|
|
"include": [
|
|
"celery.app.builtins",
|
|
"celery_worker.mock_process_tasks_fi"
|
|
],
|
|
"result_expires": 3600,
|
|
"task_queues": [
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "invoice_fi",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "invoice_sap",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "invoice_manulife",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "invoice_sbt",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
}
|
|
],
|
|
"task_routes": {
|
|
"process_fi_invoice": {
|
|
"queue": "invoice_fi"
|
|
},
|
|
"process_fi_invoice_result": {
|
|
"queue": "invoice_fi_rs"
|
|
},
|
|
"process_manulife_invoice": {
|
|
"queue": "invoice_manulife"
|
|
},
|
|
"process_manulife_invoice_result": {
|
|
"queue": "invoice_manulife_rs"
|
|
},
|
|
"process_sap_invoice": {
|
|
"queue": "invoice_sap"
|
|
},
|
|
"process_sap_invoice_result": {
|
|
"queue": "invoice_sap_rs"
|
|
},
|
|
"process_sbt_invoice": {
|
|
"queue": "invoice_sbt"
|
|
},
|
|
"process_sbt_invoice_result": {
|
|
"queue": "invoice_sbt_rs"
|
|
}
|
|
}
|
|
}
|
|
|
|
-> celery@49be6aacd16a: OK
|
|
{
|
|
"ABSOLUTE_URL_OVERRIDES": {},
|
|
"ACC_EXCLUDE_RESEASONS": [
|
|
"Invalid Input",
|
|
"Handwritten information",
|
|
"handwritten",
|
|
"invalid_image",
|
|
"missing_information",
|
|
"too_blurry_text",
|
|
"too_small_text"
|
|
],
|
|
"ADMINS": [],
|
|
"ADMIN_PASSWORD": "********",
|
|
"ADMIN_USER_NAME": "",
|
|
"ALLOWED_HOSTS": [
|
|
"*"
|
|
],
|
|
"APPEND_SLASH": true,
|
|
"AUTHENTICATION_BACKENDS": [
|
|
"django.contrib.auth.backends.ModelBackend"
|
|
],
|
|
"AUTH_PASSWORD_VALIDATORS": "********",
|
|
"AUTH_TOKEN_LIFE_TIME": "********",
|
|
"AUTH_USER_MODEL": "auth.User",
|
|
"BAD_THRESHOLD": 0.75,
|
|
"BASE_DIR": "PosixPath('/app')",
|
|
"BASE_UI_URL": "http://fe:",
|
|
"BASE_URL": "http://be-ctel-sbt:9000",
|
|
"BROKER_URL": "amqp://test:********@rabbitmq-sbt:5672//",
|
|
"CACHES": {
|
|
"default": {
|
|
"BACKEND": "django.core.cache.backends.dummy.DummyCache"
|
|
}
|
|
},
|
|
"CACHE_MIDDLEWARE_ALIAS": "default",
|
|
"CACHE_MIDDLEWARE_KEY_PREFIX": "********",
|
|
"CACHE_MIDDLEWARE_SECONDS": 600,
|
|
"CELERY_ENABLE_UTC": false,
|
|
"CELERY_TASK_TIME_LIMIT": 1800,
|
|
"CELERY_TASK_TRACK_STARTED": true,
|
|
"CELERY_TIMEZONE": "Asia/Singapore",
|
|
"CORS_ORIGIN_ALLOW_ALL": true,
|
|
"CSRF_COOKIE_AGE": 31449600,
|
|
"CSRF_COOKIE_DOMAIN": null,
|
|
"CSRF_COOKIE_HTTPONLY": false,
|
|
"CSRF_COOKIE_MASKED": false,
|
|
"CSRF_COOKIE_NAME": "csrftoken",
|
|
"CSRF_COOKIE_PATH": "/",
|
|
"CSRF_COOKIE_SAMESITE": "Lax",
|
|
"CSRF_COOKIE_SECURE": false,
|
|
"CSRF_FAILURE_VIEW": "django.views.csrf.csrf_failure",
|
|
"CSRF_HEADER_NAME": "HTTP_X_CSRFTOKEN",
|
|
"CSRF_TRUSTED_ORIGINS": [],
|
|
"CSRF_USE_SESSIONS": false,
|
|
"CTEL_KEY": "********",
|
|
"DATABASES": {
|
|
"default": {
|
|
"ATOMIC_REQUESTS": false,
|
|
"AUTOCOMMIT": true,
|
|
"CONN_HEALTH_CHECKS": false,
|
|
"CONN_MAX_AGE": 0,
|
|
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
|
"HOST": "db-sbt",
|
|
"NAME": "sbt_prod_20240401",
|
|
"OPTIONS": {},
|
|
"PASSWORD": "********",
|
|
"PORT": "5432",
|
|
"TEST": {
|
|
"CHARSET": null,
|
|
"COLLATION": null,
|
|
"MIGRATE": true,
|
|
"MIRROR": null,
|
|
"NAME": null
|
|
},
|
|
"TIME_ZONE": null,
|
|
"USER": "postgres"
|
|
}
|
|
},
|
|
"DATABASE_ROUTERS": "********",
|
|
"DATA_UPLOAD_MAX_MEMORY_SIZE": 2621440,
|
|
"DATA_UPLOAD_MAX_NUMBER_FIELDS": 1000,
|
|
"DATETIME_FORMAT": "N j, Y, P",
|
|
"DATETIME_INPUT_FORMATS": [
|
|
"%Y-%m-%d %H:%M:%S",
|
|
"%Y-%m-%d %H:%M:%S.%f",
|
|
"%Y-%m-%d %H:%M",
|
|
"%m/%d/%Y %H:%M:%S",
|
|
"%m/%d/%Y %H:%M:%S.%f",
|
|
"%m/%d/%Y %H:%M",
|
|
"%m/%d/%y %H:%M:%S",
|
|
"%m/%d/%y %H:%M:%S.%f",
|
|
"%m/%d/%y %H:%M"
|
|
],
|
|
"DATE_FORMAT": "N j, Y",
|
|
"DATE_INPUT_FORMATS": [
|
|
"%Y-%m-%d",
|
|
"%m/%d/%Y",
|
|
"%m/%d/%y",
|
|
"%b %d %Y",
|
|
"%b %d, %Y",
|
|
"%d %b %Y",
|
|
"%d %b, %Y",
|
|
"%B %d %Y",
|
|
"%B %d, %Y",
|
|
"%d %B %Y",
|
|
"%d %B, %Y"
|
|
],
|
|
"DB_ENCRYPT_KEY": "********",
|
|
"DEBUG": false,
|
|
"DEBUG_PROPAGATE_EXCEPTIONS": false,
|
|
"DECIMAL_SEPARATOR": ".",
|
|
"DEFAULT_AUTO_FIELD": "django.db.models.BigAutoField",
|
|
"DEFAULT_CHARSET": "utf-8",
|
|
"DEFAULT_EXCEPTION_REPORTER": "django.views.debug.ExceptionReporter",
|
|
"DEFAULT_EXCEPTION_REPORTER_FILTER": "django.views.debug.SafeExceptionReporterFilter",
|
|
"DEFAULT_FILE_STORAGE": "django.core.files.storage.FileSystemStorage",
|
|
"DEFAULT_FROM_EMAIL": "webmaster@localhost",
|
|
"DEFAULT_INDEX_TABLESPACE": "",
|
|
"DEFAULT_TABLESPACE": "",
|
|
"DISALLOWED_USER_AGENTS": [],
|
|
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
|
"EMAIL_HOST": "localhost",
|
|
"EMAIL_HOST_PASSWORD": "********",
|
|
"EMAIL_HOST_USER": "",
|
|
"EMAIL_PORT": 25,
|
|
"EMAIL_SSL_CERTFILE": null,
|
|
"EMAIL_SSL_KEYFILE": "********",
|
|
"EMAIL_SUBJECT_PREFIX": "[Django] ",
|
|
"EMAIL_TIMEOUT": null,
|
|
"EMAIL_USE_LOCALTIME": false,
|
|
"EMAIL_USE_SSL": false,
|
|
"EMAIL_USE_TLS": false,
|
|
"FIELD": [
|
|
"imei_number",
|
|
"purchase_date",
|
|
"retailername",
|
|
"sold_to_party",
|
|
"invoice_no"
|
|
],
|
|
"FILE_UPLOAD_DIRECTORY_PERMISSIONS": null,
|
|
"FILE_UPLOAD_HANDLERS": [
|
|
"django.core.files.uploadhandler.TemporaryFileUploadHandler"
|
|
],
|
|
"FILE_UPLOAD_MAX_MEMORY_SIZE": 2621440,
|
|
"FILE_UPLOAD_PERMISSIONS": 420,
|
|
"FILE_UPLOAD_TEMP_DIR": null,
|
|
"FIRST_DAY_OF_WEEK": 0,
|
|
"FIXTURE_DIRS": [],
|
|
"FORCE_SCRIPT_NAME": null,
|
|
"FORMAT_MODULE_PATH": null,
|
|
"FORM_RENDERER": "django.forms.renderers.DjangoTemplates",
|
|
"IGNORABLE_404_URLS": [],
|
|
"IMAGE_TOKEN_LIFE_TIME": "********",
|
|
"INSTALLED_APPS": [
|
|
"django.contrib.auth",
|
|
"django.contrib.contenttypes",
|
|
"django.contrib.sessions",
|
|
"django.contrib.messages",
|
|
"django.contrib.staticfiles",
|
|
"fwd_api.apps.FwdApiConfig",
|
|
"django.contrib.admin",
|
|
"rest_framework",
|
|
"drf_spectacular",
|
|
"drf_spectacular_sidecar",
|
|
"corsheaders"
|
|
],
|
|
"INTERNAL_IPS": [],
|
|
"INTERNAL_SDS_KEY": "********",
|
|
"LANGUAGES": [
|
|
[
|
|
"af",
|
|
"Afrikaans"
|
|
],
|
|
[
|
|
"ar",
|
|
"Arabic"
|
|
],
|
|
[
|
|
"ar-dz",
|
|
"Algerian Arabic"
|
|
],
|
|
[
|
|
"ast",
|
|
"Asturian"
|
|
],
|
|
[
|
|
"az",
|
|
"Azerbaijani"
|
|
],
|
|
[
|
|
"bg",
|
|
"Bulgarian"
|
|
],
|
|
[
|
|
"be",
|
|
"Belarusian"
|
|
],
|
|
[
|
|
"bn",
|
|
"Bengali"
|
|
],
|
|
[
|
|
"br",
|
|
"Breton"
|
|
],
|
|
[
|
|
"bs",
|
|
"Bosnian"
|
|
],
|
|
[
|
|
"ca",
|
|
"Catalan"
|
|
],
|
|
[
|
|
"cs",
|
|
"Czech"
|
|
],
|
|
[
|
|
"cy",
|
|
"Welsh"
|
|
],
|
|
[
|
|
"da",
|
|
"Danish"
|
|
],
|
|
[
|
|
"de",
|
|
"German"
|
|
],
|
|
[
|
|
"dsb",
|
|
"Lower Sorbian"
|
|
],
|
|
[
|
|
"el",
|
|
"Greek"
|
|
],
|
|
[
|
|
"en",
|
|
"English"
|
|
],
|
|
[
|
|
"en-au",
|
|
"Australian English"
|
|
],
|
|
[
|
|
"en-gb",
|
|
"British English"
|
|
],
|
|
[
|
|
"eo",
|
|
"Esperanto"
|
|
],
|
|
[
|
|
"es",
|
|
"Spanish"
|
|
],
|
|
[
|
|
"es-ar",
|
|
"Argentinian Spanish"
|
|
],
|
|
[
|
|
"es-co",
|
|
"Colombian Spanish"
|
|
],
|
|
[
|
|
"es-mx",
|
|
"Mexican Spanish"
|
|
],
|
|
[
|
|
"es-ni",
|
|
"Nicaraguan Spanish"
|
|
],
|
|
[
|
|
"es-ve",
|
|
"Venezuelan Spanish"
|
|
],
|
|
[
|
|
"et",
|
|
"Estonian"
|
|
],
|
|
[
|
|
"eu",
|
|
"Basque"
|
|
],
|
|
[
|
|
"fa",
|
|
"Persian"
|
|
],
|
|
[
|
|
"fi",
|
|
"Finnish"
|
|
],
|
|
[
|
|
"fr",
|
|
"French"
|
|
],
|
|
[
|
|
"fy",
|
|
"Frisian"
|
|
],
|
|
[
|
|
"ga",
|
|
"Irish"
|
|
],
|
|
[
|
|
"gd",
|
|
"Scottish Gaelic"
|
|
],
|
|
[
|
|
"gl",
|
|
"Galician"
|
|
],
|
|
[
|
|
"he",
|
|
"Hebrew"
|
|
],
|
|
[
|
|
"hi",
|
|
"Hindi"
|
|
],
|
|
[
|
|
"hr",
|
|
"Croatian"
|
|
],
|
|
[
|
|
"hsb",
|
|
"Upper Sorbian"
|
|
],
|
|
[
|
|
"hu",
|
|
"Hungarian"
|
|
],
|
|
[
|
|
"hy",
|
|
"Armenian"
|
|
],
|
|
[
|
|
"ia",
|
|
"Interlingua"
|
|
],
|
|
[
|
|
"id",
|
|
"Indonesian"
|
|
],
|
|
[
|
|
"ig",
|
|
"Igbo"
|
|
],
|
|
[
|
|
"io",
|
|
"Ido"
|
|
],
|
|
[
|
|
"is",
|
|
"Icelandic"
|
|
],
|
|
[
|
|
"it",
|
|
"Italian"
|
|
],
|
|
[
|
|
"ja",
|
|
"Japanese"
|
|
],
|
|
[
|
|
"ka",
|
|
"Georgian"
|
|
],
|
|
[
|
|
"kab",
|
|
"Kabyle"
|
|
],
|
|
[
|
|
"kk",
|
|
"Kazakh"
|
|
],
|
|
[
|
|
"km",
|
|
"Khmer"
|
|
],
|
|
[
|
|
"kn",
|
|
"Kannada"
|
|
],
|
|
[
|
|
"ko",
|
|
"Korean"
|
|
],
|
|
[
|
|
"ky",
|
|
"Kyrgyz"
|
|
],
|
|
[
|
|
"lb",
|
|
"Luxembourgish"
|
|
],
|
|
[
|
|
"lt",
|
|
"Lithuanian"
|
|
],
|
|
[
|
|
"lv",
|
|
"Latvian"
|
|
],
|
|
[
|
|
"mk",
|
|
"Macedonian"
|
|
],
|
|
[
|
|
"ml",
|
|
"Malayalam"
|
|
],
|
|
[
|
|
"mn",
|
|
"Mongolian"
|
|
],
|
|
[
|
|
"mr",
|
|
"Marathi"
|
|
],
|
|
[
|
|
"ms",
|
|
"Malay"
|
|
],
|
|
[
|
|
"my",
|
|
"Burmese"
|
|
],
|
|
[
|
|
"nb",
|
|
"Norwegian Bokm\u00e5l"
|
|
],
|
|
[
|
|
"ne",
|
|
"Nepali"
|
|
],
|
|
[
|
|
"nl",
|
|
"Dutch"
|
|
],
|
|
[
|
|
"nn",
|
|
"Norwegian Nynorsk"
|
|
],
|
|
[
|
|
"os",
|
|
"Ossetic"
|
|
],
|
|
[
|
|
"pa",
|
|
"Punjabi"
|
|
],
|
|
[
|
|
"pl",
|
|
"Polish"
|
|
],
|
|
[
|
|
"pt",
|
|
"Portuguese"
|
|
],
|
|
[
|
|
"pt-br",
|
|
"Brazilian Portuguese"
|
|
],
|
|
[
|
|
"ro",
|
|
"Romanian"
|
|
],
|
|
[
|
|
"ru",
|
|
"Russian"
|
|
],
|
|
[
|
|
"sk",
|
|
"Slovak"
|
|
],
|
|
[
|
|
"sl",
|
|
"Slovenian"
|
|
],
|
|
[
|
|
"sq",
|
|
"Albanian"
|
|
],
|
|
[
|
|
"sr",
|
|
"Serbian"
|
|
],
|
|
[
|
|
"sr-latn",
|
|
"Serbian Latin"
|
|
],
|
|
[
|
|
"sv",
|
|
"Swedish"
|
|
],
|
|
[
|
|
"sw",
|
|
"Swahili"
|
|
],
|
|
[
|
|
"ta",
|
|
"Tamil"
|
|
],
|
|
[
|
|
"te",
|
|
"Telugu"
|
|
],
|
|
[
|
|
"tg",
|
|
"Tajik"
|
|
],
|
|
[
|
|
"th",
|
|
"Thai"
|
|
],
|
|
[
|
|
"tk",
|
|
"Turkmen"
|
|
],
|
|
[
|
|
"tr",
|
|
"Turkish"
|
|
],
|
|
[
|
|
"tt",
|
|
"Tatar"
|
|
],
|
|
[
|
|
"udm",
|
|
"Udmurt"
|
|
],
|
|
[
|
|
"uk",
|
|
"Ukrainian"
|
|
],
|
|
[
|
|
"ur",
|
|
"Urdu"
|
|
],
|
|
[
|
|
"uz",
|
|
"Uzbek"
|
|
],
|
|
[
|
|
"vi",
|
|
"Vietnamese"
|
|
],
|
|
[
|
|
"zh-hans",
|
|
"Simplified Chinese"
|
|
],
|
|
[
|
|
"zh-hant",
|
|
"Traditional Chinese"
|
|
]
|
|
],
|
|
"LANGUAGES_BIDI": [
|
|
"he",
|
|
"ar",
|
|
"ar-dz",
|
|
"fa",
|
|
"ur"
|
|
],
|
|
"LANGUAGE_CODE": "en-us",
|
|
"LANGUAGE_COOKIE_AGE": null,
|
|
"LANGUAGE_COOKIE_DOMAIN": null,
|
|
"LANGUAGE_COOKIE_HTTPONLY": false,
|
|
"LANGUAGE_COOKIE_NAME": "django_language",
|
|
"LANGUAGE_COOKIE_PATH": "/",
|
|
"LANGUAGE_COOKIE_SAMESITE": null,
|
|
"LANGUAGE_COOKIE_SECURE": false,
|
|
"LOCALE_PATHS": [
|
|
"/app/locale"
|
|
],
|
|
"LOGGING": {},
|
|
"LOGGING_CONFIG": "logging.config.dictConfig",
|
|
"LOGIN_REDIRECT_URL": "/accounts/profile/",
|
|
"LOGIN_URL": "/accounts/login/",
|
|
"LOGOUT_REDIRECT_URL": null,
|
|
"MANAGERS": [],
|
|
"MAX_NUMBER_OF_TEMPLATE": 3,
|
|
"MAX_PAGES_OF_PDF_FILE": 50,
|
|
"MAX_PIXEL_IN_A_FILE": 5000,
|
|
"MAX_UPLOAD_FILES_IN_A_REQUEST": 5,
|
|
"MAX_UPLOAD_FILE_SIZE_OF_A_REQUEST": 104857600,
|
|
"MAX_UPLOAD_SIZE_OF_A_FILE": 5242880,
|
|
"MEDIA_ROOT": "/app/media",
|
|
"MEDIA_URL": "/",
|
|
"MESSAGE_STORAGE": "django.contrib.messages.storage.fallback.FallbackStorage",
|
|
"MIDDLEWARE": [
|
|
"django.middleware.security.SecurityMiddleware",
|
|
"django.contrib.sessions.middleware.SessionMiddleware",
|
|
"django.middleware.common.CommonMiddleware",
|
|
"django.middleware.csrf.CsrfViewMiddleware",
|
|
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
|
"django.contrib.messages.middleware.MessageMiddleware",
|
|
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
|
"corsheaders.middleware.CorsMiddleware",
|
|
"whitenoise.middleware.WhiteNoiseMiddleware",
|
|
"django.middleware.locale.LocaleMiddleware"
|
|
],
|
|
"MIGRATION_MODULES": {},
|
|
"MONTH_DAY_FORMAT": "F j",
|
|
"NEED_REVIEW": 1.0,
|
|
"NUMBER_GROUPING": 0,
|
|
"OVERVIEW_REFRESH_INTERVAL": 2,
|
|
"OVERVIEW_REPORT_DURATION": [
|
|
"30d",
|
|
"7d"
|
|
],
|
|
"OVERVIEW_REPORT_ROOT": "overview",
|
|
"PASSWORD_HASHERS": "********",
|
|
"PASSWORD_RESET_TIMEOUT": "********",
|
|
"PREPEND_WWW": false,
|
|
"REDIS_HOST": "result-cache",
|
|
"REDIS_PORT": 6379,
|
|
"REST_FRAMEWORK": {
|
|
"DEFAULT_AUTHENTICATION_CLASSES": [
|
|
"fwd_api.filter.AuthFilter.AuthFilter"
|
|
],
|
|
"DEFAULT_RENDERER_CLASSES": [
|
|
"rest_framework.renderers.JSONRenderer",
|
|
"rest_framework_xml.renderers.XMLRenderer",
|
|
"rest_framework.renderers.BrowsableAPIRenderer"
|
|
],
|
|
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
|
|
"EXCEPTION_HANDLER": "fwd_api.exception.exceptions_handler.custom_exception_handler"
|
|
},
|
|
"ROOT_URLCONF": "fwd.urls",
|
|
"S3_ACCESS_KEY": "********",
|
|
"S3_BUCKET_NAME": "ocr-sds",
|
|
"S3_ENDPOINT": "http://minio:9884",
|
|
"S3_SECRET_KEY": "********",
|
|
"SECRET_KEY": "********",
|
|
"SECRET_KEY_FALLBACKS": "********",
|
|
"SECURE_CONTENT_TYPE_NOSNIFF": true,
|
|
"SECURE_CROSS_ORIGIN_OPENER_POLICY": "same-origin",
|
|
"SECURE_HSTS_INCLUDE_SUBDOMAINS": false,
|
|
"SECURE_HSTS_PRELOAD": false,
|
|
"SECURE_HSTS_SECONDS": 0,
|
|
"SECURE_PROXY_SSL_HEADER": null,
|
|
"SECURE_REDIRECT_EXEMPT": [],
|
|
"SECURE_REFERRER_POLICY": "same-origin",
|
|
"SECURE_SSL_HOST": null,
|
|
"SECURE_SSL_REDIRECT": false,
|
|
"SERVER_EMAIL": "root@localhost",
|
|
"SESSION_CACHE_ALIAS": "default",
|
|
"SESSION_COOKIE_AGE": 1209600,
|
|
"SESSION_COOKIE_DOMAIN": null,
|
|
"SESSION_COOKIE_HTTPONLY": true,
|
|
"SESSION_COOKIE_NAME": "sessionid",
|
|
"SESSION_COOKIE_PATH": "/",
|
|
"SESSION_COOKIE_SAMESITE": "Lax",
|
|
"SESSION_COOKIE_SECURE": false,
|
|
"SESSION_ENGINE": "django.contrib.sessions.backends.db",
|
|
"SESSION_EXPIRE_AT_BROWSER_CLOSE": false,
|
|
"SESSION_FILE_PATH": null,
|
|
"SESSION_SAVE_EVERY_REQUEST": false,
|
|
"SESSION_SERIALIZER": "django.contrib.sessions.serializers.JSONSerializer",
|
|
"SETTINGS_MODULE": "fwd.settings",
|
|
"SHORT_DATETIME_FORMAT": "m/d/Y P",
|
|
"SHORT_DATE_FORMAT": "m/d/Y",
|
|
"SIGNING_BACKEND": "django.core.signing.TimestampSigner",
|
|
"SILENCED_SYSTEM_CHECKS": [],
|
|
"SIZE_TO_COMPRESS": 2097152,
|
|
"SPECTACULAR_SETTINGS": {
|
|
"DESCRIPTION": "AI Powered by Samsung SDS Vietnam",
|
|
"EXCLUDE_PATH": [
|
|
"'/api/schema/'"
|
|
],
|
|
"EXCLUDE_RELATIVE_PATH": [
|
|
"/rsa",
|
|
"/gen-token",
|
|
"/app/"
|
|
],
|
|
"PREPROCESSING_HOOKS": [
|
|
"fwd_api.api_specs.hooks.remove_apis_from_list"
|
|
],
|
|
"REDOC_DIST": "SIDECAR",
|
|
"SERVE_INCLUDE_SCHEMA": true,
|
|
"SWAGGER_UI_DIST": "SIDECAR",
|
|
"SWAGGER_UI_FAVICON_HREF": "SIDECAR",
|
|
"TAGS": [
|
|
"Login",
|
|
"OCR",
|
|
"Data",
|
|
"System"
|
|
],
|
|
"TAGS_SORTER": "alpha",
|
|
"TITLE": "OCR Engine for Invoices",
|
|
"VERSION": "1.0.0"
|
|
},
|
|
"STANDARD_PASSWORD": "********",
|
|
"STANDARD_USER_NAME": "",
|
|
"STATICFILES_DIRS": [],
|
|
"STATICFILES_FINDERS": [
|
|
"django.contrib.staticfiles.finders.FileSystemFinder",
|
|
"django.contrib.staticfiles.finders.AppDirectoriesFinder"
|
|
],
|
|
"STATICFILES_STORAGE": "django.contrib.staticfiles.storage.StaticFilesStorage",
|
|
"STATIC_ROOT": "/app/static",
|
|
"STATIC_URL": "/static/",
|
|
"STORAGES": {
|
|
"staticfiles": {
|
|
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage"
|
|
}
|
|
},
|
|
"SUBS": {
|
|
"ALL": "all",
|
|
"SEAO": "seao",
|
|
"SEAU": "AU",
|
|
"SEIN": "ID",
|
|
"SEPCO": "PH",
|
|
"SESP": "SG",
|
|
"SME": "MY",
|
|
"TSE": "TH"
|
|
},
|
|
"SUB_FOR_BILLING": [
|
|
"all",
|
|
"seao"
|
|
],
|
|
"TARGET_MAX_IMAGE_SIZE": [
|
|
2048,
|
|
2048
|
|
],
|
|
"TEMPLATES": [
|
|
{
|
|
"APP_DIRS": true,
|
|
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
|
"DIRS": [
|
|
"PosixPath('/app/templates')"
|
|
],
|
|
"OPTIONS": {
|
|
"context_processors": [
|
|
"django.template.context_processors.debug",
|
|
"django.template.context_processors.request",
|
|
"django.contrib.auth.context_processors.auth",
|
|
"django.contrib.messages.context_processors.messages"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"TEST_NON_SERIALIZED_APPS": [],
|
|
"TEST_RUNNER": "django.test.runner.DiscoverRunner",
|
|
"THOUSAND_SEPARATOR": ",",
|
|
"TIME_FORMAT": "P",
|
|
"TIME_INPUT_FORMATS": [
|
|
"%H:%M:%S",
|
|
"%H:%M:%S.%f",
|
|
"%H:%M"
|
|
],
|
|
"TIME_ZONE": "Asia/Singapore",
|
|
"USE_DEPRECATED_PYTZ": false,
|
|
"USE_I18N": true,
|
|
"USE_L10N": true,
|
|
"USE_THOUSAND_SEPARATOR": false,
|
|
"USE_TZ": true,
|
|
"USE_X_FORWARDED_HOST": false,
|
|
"USE_X_FORWARDED_PORT": false,
|
|
"WSGI_APPLICATION": "fwd.wsgi.application",
|
|
"X_FRAME_OPTIONS": "DENY",
|
|
"YEAR_MONTH_FORMAT": "F Y",
|
|
"broker_transport_options": {
|
|
"confirm_publish": false
|
|
},
|
|
"broker_url": "amqp://test:********@rabbitmq-sbt:5672//",
|
|
"deprecated_settings": null,
|
|
"include": [
|
|
"fwd_api.celery_worker.internal_task",
|
|
"celery.app.builtins",
|
|
"fwd_api.celery_worker.process_result_tasks",
|
|
"fwd_api.celery_worker.process_report_tasks"
|
|
],
|
|
"is_overridden": "<bound method Settings.is_overridden of <Settings \"fwd.settings\">>",
|
|
"task_queues": [
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "invoice_sap_rs",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "invoice_fi_rs",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "invoice_manulife_rs",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "invoice_sbt_rs",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "do_pdf",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "upload_file_to_s3",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "upload_feedback_to_s3",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "upload_obj_to_s3",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "upload_report_to_s3",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "remove_local_file",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "csv_feedback",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "report",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"auto_delete": false,
|
|
"binding_arguments": null,
|
|
"bindings": [],
|
|
"consumer_arguments": null,
|
|
"durable": true,
|
|
"exchange": {
|
|
"arguments": null,
|
|
"auto_delete": false,
|
|
"delivery_mode": null,
|
|
"durable": true,
|
|
"name": "celery",
|
|
"no_declare": false,
|
|
"passive": false,
|
|
"type": "direct"
|
|
},
|
|
"exclusive": false,
|
|
"expires": null,
|
|
"max_length": null,
|
|
"max_length_bytes": null,
|
|
"max_priority": null,
|
|
"message_ttl": null,
|
|
"name": "report_2",
|
|
"no_ack": false,
|
|
"no_declare": null,
|
|
"queue_arguments": null,
|
|
"routing_key": "celery"
|
|
}
|
|
],
|
|
"task_routes": {
|
|
"csv_feedback": {
|
|
"queue": "csv_feedback"
|
|
},
|
|
"do_pdf": {
|
|
"queue": "do_pdf"
|
|
},
|
|
"make_a_report": {
|
|
"queue": "report"
|
|
},
|
|
"make_a_report_2": {
|
|
"queue": "report_2"
|
|
},
|
|
"process_fi_invoice": {
|
|
"queue": "invoice_fi"
|
|
},
|
|
"process_fi_invoice_result": {
|
|
"queue": "invoice_fi_rs"
|
|
},
|
|
"process_manulife_invoice": {
|
|
"queue": "invoice_manulife"
|
|
},
|
|
"process_manulife_invoice_result": {
|
|
"queue": "invoice_manulife_rs"
|
|
},
|
|
"process_sap_invoice": {
|
|
"queue": "invoice_sap"
|
|
},
|
|
"process_sap_invoice_result": {
|
|
"queue": "invoice_sap_rs"
|
|
},
|
|
"process_sbt_invoice": {
|
|
"queue": "invoice_sbt"
|
|
},
|
|
"process_sbt_invoice_result": {
|
|
"queue": "invoice_sbt_rs"
|
|
},
|
|
"remove_local_file": {
|
|
"queue": "remove_local_file"
|
|
},
|
|
"upload_feedback_to_s3": {
|
|
"queue": "upload_feedback_to_s3"
|
|
},
|
|
"upload_file_to_s3": {
|
|
"queue": "upload_file_to_s3"
|
|
},
|
|
"upload_obj_to_s3": {
|
|
"queue": "upload_obj_to_s3"
|
|
},
|
|
"upload_report_to_s3": {
|
|
"queue": "upload_report_to_s3"
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
2 nodes online.
|