@@ -66,12 +66,26 @@ module.exports = {
66
66
} ,
67
67
RECONCILER :
68
68
{
69
+ // Dynamodb configuration
69
70
RECONCILER_ELAPSE_TIME : parseInt ( process . env . RECONCILER_ELAPSE_TIME || 600000 ) ,
70
- RECONCILER_IGNORE_STATUS : process . env . RECONCILER_IGNORE_STATUS || 'PostgresUpdated' ,
71
- RECONCILER_START_ELAPSE_TIME : parseInt ( process . env . RECONCILER_START_ELAPSE_TIME || 1 ) ,
72
- RECONCILER_DIFF_PERIOD : parseInt ( process . env . RECONCILER_DIFF_PERIOD || 10 ) ,
73
- RECONCILER_DURATION_TYPE : process . env . RECONCILER_DURATION_TYPE || 'm' ,
71
+ RECONCILER_DYNAMO_START_ELAPSE_TIME : parseInt ( process . env . RECONCILER_DYNAMO_START_ELAPSE_TIME || 1 ) ,
72
+ RECONCILER_DYNAMO_DIFF_PERIOD : parseInt ( process . env . RECONCILER_DYNAMO_DIFF_PERIOD || 10 ) ,
73
+ RECONCILER_DYNAMO_DURATION_TYPE : process . env . RECONCILER_DYNAMO_DURATION_TYPE || 'm' ,
74
+ //PG Configuration
75
+ RECONCILER_PG_IGNORE_STATUS : process . env . RECONCILER_PG_IGNORE_STATUS || 'PostgresUpdated' ,
76
+ RECONCILER_PG_START_ELAPSE_TIME : parseInt ( process . env . RECONCILER_PG_START_ELAPSE_TIME || 1 ) ,
77
+ RECONCILER_PG_DIFF_PERIOD : parseInt ( process . env . RECONCILER_PG_DIFF_PERIOD || 10 ) ,
78
+ RECONCILER_PG_DURATION_TYPE : process . env . RECONCILER_PG_DURATION_TYPE || 'm' ,
79
+ //General Configuration
74
80
RECONCILER_RETRY_COUNT : parseInt ( process . env . RECONCILER_RETRY_COUNT || 1 ) ,
75
- RECONCILER_POST_URL : process . env . RECONCILER_POST_URL || 'http://ifxpg-migrator.topcoder-dev.com/kafkaevents'
76
- }
81
+ RECONCILER_POST_URL : process . env . RECONCILER_POST_URL || 'http://ifxpg-migrator.topcoder-dev.com/kafkaevents' ,
82
+ RECONCILE_DYNAMODB : process . env . RECONCILE_DYNAMODB || 'true' ,
83
+ RECONCILE_PGSTATUS : process . env . RECONCILE_PGSTATUS || 'true' ,
84
+ RECONCILE_TIMESCHEDULE : process . env . RECONCILE_TIMESCHEDULE || '*/3 * * * *'
85
+ } ,
86
+ AUDITLOG : {
87
+ AUDITLOG_DBNAME : process . env . AUDITLOG_DBNAME || 'auditlog' ,
88
+ AUDITLOG_DYNAMO_TABLENAME : process . env . AUDITLOG_DYNAMO_TABLENAME || 'dynamodb_audit_log' ,
89
+ AUDITLOG_PG_TABLENAME : process . env . AUDITLOG_PG_TABLENAME || 'audit_log'
90
+ }
77
91
}
0 commit comments