2023-05-17 06:27:30 +00:00
|
|
|
#FLORIDAY DATA CONFIG
|
|
|
|
CLIENT_ID = xxxxxxxxxx
|
|
|
|
CLIENT_SECRET = xxxxxxxxxx
|
|
|
|
API_KEY = xxxxxxxxxx
|
|
|
|
API_URL = https://api.staging.floriday.io/customers-api-2023v1
|
|
|
|
API_ENDPOINT = https://idm.staging.floriday.io/oauth2/ausmw6b47z1BnlHkw0h7/v1/token
|
|
|
|
|
|
|
|
#SEQUELIZE CONFIG
|
|
|
|
DB_SCHEMA = schema
|
|
|
|
DB_USER = root
|
|
|
|
DB_PWD = root
|
|
|
|
DB_HOST = localhost
|
|
|
|
DB_DIALECT = mariadb
|
|
|
|
DB_TIMEOUT_RECONECT = 30000
|
|
|
|
DB_MAX_CONN_POOL = 40
|
|
|
|
DB_TIMEZONE = Europe/Madrid
|
|
|
|
|
|
|
|
#GENERAL CONFIG
|
|
|
|
IS_PRODUCTION = false
|
|
|
|
MS_PRODUCTION_SCHEDULE = 300000
|
|
|
|
MS_TEST_SCHEDULE = 100000
|
|
|
|
SECRETS = true
|
|
|
|
FORCE_SYNC = true
|
2023-05-17 08:24:10 +00:00
|
|
|
SYNC_ORGANIZATION = true
|
2023-05-17 06:27:30 +00:00
|
|
|
SYNC_WAREHOUSE = true
|
|
|
|
SYNC_CONN = true
|
|
|
|
SYNC_TRADEITEM = true
|
2023-05-18 12:06:11 +00:00
|
|
|
MAX_REQUEST_ATTEMPTS = 3
|
2023-05-17 06:27:30 +00:00
|
|
|
|
|
|
|
#DEV OPTIONS
|
2023-05-18 12:06:11 +00:00
|
|
|
SUPPLIERS_ALWAYS_CONN = false
|
|
|
|
APPLY_ORG_FILTER = false
|