Created
August 20, 2016 00:22
-
-
Save belablotski/06583a59c3005d6225835084be35641b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Sample data for https://gist.github.com/beloblotskiy/190be806cb26316b3185a891075380e2 | |
var JobGraph_workers_ORDER_CUSTOMER_INVENTORY = { | |
"ORDER_DATA_EXTRACTOR_1": { | |
"execModule": "MSSQL Ext", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 15 min", | |
"isWarn": false, | |
"parentJobs": [], | |
"inputThroughput": 50 /* not used */ }, | |
"ORDER_DATA_LOADER_1": { | |
"execModule": "TeraData Ldr", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 15 min", | |
"isWarn": false, | |
"parentJobs": ['ORDER_DATA_EXTRACTOR_1'], | |
"inputThroughput": 50 /* not used */ }, | |
"ORDER_DATA_INTEGRATOR": { | |
"execModule": "Teradata Int", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 30 min", | |
"isWarn": false, | |
"parentJobs": ['ORDER_DATA_LOADER_1', 'ORDER_DATA_LOADER_2'], | |
"inputThroughput": 50 /* not used */ }, | |
"ORDER_DATA_ARCHIVER_1": { | |
"execModule": "HDFS Arch", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Subm. time: 02:00-05:00, days of week: Tue,Sat,Sun", | |
"isWarn": false, | |
"parentJobs": ['ORDER_DATA_INTEGRATOR'], | |
"inputThroughput": 50 /* not used */ }, | |
"ORDER_DATA_EXTRACTOR_2": { | |
"execModule": "Oracle Ext", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 15 min", | |
"isWarn": false, | |
"parentJobs": [], | |
"inputThroughput": 50 /* not used */ }, | |
"ORDER_DATA_LOADER_2": { | |
"execModule": "Teradata Ldr", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 30 min", | |
"isWarn": false, | |
"parentJobs": ['ORDER_DATA_EXTRACTOR_2', 'ORDER_DATA_EXTRACTOR_3'], | |
"inputThroughput": 50 /* not used */ }, | |
"ORDER_DATA_EXTRACTOR_3": { | |
"execModule": "Oracle Ext", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 30 min", | |
"isWarn": false, | |
"parentJobs": [], | |
"inputThroughput": 50 /* not used */ }, | |
"CUSTOMER_DATA_EXTRACTOR_1": { | |
"execModule": "MSSQL Ext", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 1 hour", | |
"isWarn": false, | |
"parentJobs": [], | |
"inputThroughput": 50 /* not used */ }, | |
"CUSTOMER_DATA_LOADER_1": { | |
"execModule": "Teradata Ldr", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 1 hour", | |
"isWarn": false, | |
"parentJobs": ['CUSTOMER_DATA_EXTRACTOR_1'], | |
"inputThroughput": 50 /* not used */ }, | |
"CUSTOMER_DATA_EXTRACTOR_2": { | |
"execModule": "MSSQL Ext", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 15 min", | |
"isWarn": false, | |
"parentJobs": [], | |
"inputThroughput": 50 /* not used */ }, | |
"CUSTOMER_DATA_LOADER_2": { | |
"execModule": "MSSQL Ldr", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 30 min", | |
"isWarn": false, | |
"parentJobs": ['CUSTOMER_DATA_EXTRACTOR_2'], | |
"inputThroughput": 50 /* not used */ }, | |
"CUSTOMER_DATA_LOADER_3": { | |
"execModule": "MSSQL Ldr", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 30 min", | |
"isWarn": false, | |
"parentJobs": ['CUSTOMER_DATA_EXTRACTOR_2'], | |
"inputThroughput": 50 /* not used */ }, | |
"CUSTOMER_DATA_INTEGRATOR": { | |
"execModule": "Teradata Int", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 1 hour", | |
"isWarn": false, | |
"parentJobs": ['CUSTOMER_DATA_LOADER_1', 'CUSTOMER_DATA_LOADER_2', 'CUSTOMER_DATA_LOADER_3'], | |
"inputThroughput": 50 /* not used */ }, | |
"INVENTORY_DATA_EXTRACTOR_1": { | |
"execModule": "MSSQL Ext", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 15 min", | |
"isWarn": false, | |
"parentJobs": [], | |
"inputThroughput": 50 /* not used */ }, | |
"INVENTORY_DATA_LOADER_1": { | |
"execModule": "MSSQL Ldr", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 15 min", | |
"isWarn": false, | |
"parentJobs": ['INVENTORY_DATA_EXTRACTOR_1'], | |
"inputThroughput": 50 /* not used */ }, | |
"INVENTORY_DATA_EXTRACTOR_2": { | |
"execModule": "MSSQL Ext", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 15 min", | |
"isWarn": false, | |
"parentJobs": [], | |
"inputThroughput": 50 /* not used */ }, | |
"INVENTORY_DATA_LOADER_2": { | |
"execModule": "MSSQL Ldr", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 15 min", | |
"isWarn": false, | |
"parentJobs": ['INVENTORY_DATA_EXTRACTOR_2'], | |
"inputThroughput": 50 /* not used */ }, | |
"INVENTORY_DATA_INTEGRATOR": { | |
"execModule": "Teradata Int", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 1 hour", | |
"isWarn": false, | |
"parentJobs": ['INVENTORY_DATA_LOADER_1', 'INVENTORY_DATA_LOADER_2'], | |
"inputThroughput": 50 /* not used */ }, | |
"DATAMART_RENDERER": { | |
"execModule": "Teradata Int", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Cyclic, interval: 2 hours", | |
"isWarn": false, | |
"parentJobs": ['ORDER_DATA_INTEGRATOR', 'CUSTOMER_DATA_INTEGRATOR', 'INVENTORY_DATA_INTEGRATOR', 'CURRENCY_EXCHANGE_RATES_LOADER'], | |
"inputThroughput": 50 /* not used */ }, | |
"CURRENCY_EXCHANGE_RATES_EXTRACTOR": { | |
"execModule": "SFTP Ext", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Subm. time: 16:00-23:44, days of week: Mon-Fri,Sun", | |
"isWarn": true, | |
"parentJobs": [], | |
"inputThroughput": 50 /* not used */ }, | |
"CURRENCY_EXCHANGE_RATES_LOADER": { | |
"execModule": "Teradata Ldr", | |
"consumers": 1, /* not used */ | |
"jobDesc": "Subm. time: 16:00-23:59, days of week: Mon-Fri,Sun", | |
"isWarn": true, | |
"parentJobs": ['CURRENCY_EXCHANGE_RATES_EXTRACTOR'], | |
"inputThroughput": 50 /* not used */ } | |
}; | |
for (var attrname in JobGraph_workers_ORDER_CUSTOMER_INVENTORY) JobGraph_workers[attrname] = JobGraph_workers_ORDER_CUSTOMER_INVENTORY[attrname]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment