-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathconfig.cfg
39 lines (35 loc) · 1.22 KB
/
config.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
LOG_LOCATION = "logs/"
LOG_LEVEL = "DEBUG"
LOG_FORMAT = "[%(asctime)s] %(levelname)s in %(module)s/%(funcName)s/%(lineno)d: %(message)s"
SECRET_KEY = "jwt-secret-string"
JWT_SESSION_TIME = 60 * 60 * 10
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://acciom_user:acciom_password@localhost/acciom_db'
API_END_POINT = "http://127.0.0.1:5000"
SPARK_FILE = "/spark/spark_dw.py"
DRIVER_MEMORY = '5G'
EXECUTOR_MEMORY = '5G'
SPARK_THREAD_COUNT = 4
SPARK_SOURCE_RECORDS_COUNT = 100
SPARK_TARGET_RECORDS_COUNT = 100
TARGET_RECORD_COUNT_NULL_DUPLICATE = 10
NULL_CHECK_MAX_RECORDS = 10
DUPLICATE_CHECK_MAX_RECORDS = 10
DBDETAILS = 'DB Details'
COLUMNS = 'Columns'
TABLES = 'Source Table:Target Table'
CUSTOMQUERIES = 'Custom queries'
DESCRIPTION = 'Description'
TESTCLASS = 'Test Class'
DB_ENCRYPTION_KEY = 'change_during_deployment'
MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 465
MAIL_USERNAME = '[email protected]'
MAIL_PASSWORD = 'Password@123#'
MAIL_USE_TLS = False
MAIL_USE_SSL = True
UI_RESET_PASSWORD_PATH = '/reset-password/'
UI_AFTER_VERIFY = '/verified/'
CELERY_BROKER_URL = 'amqp://guest@localhost//'
CELERY_RESULT_BACKEND = 'amqp://guest@localhost//'
SOCKET_MESSAGE_QUEUE = 'amqp://guest@localhost//'