diff --git a/data/conf/samples/tutmongo/cgrates.json b/data/conf/samples/tutmongo/cgrates.json index 7d51c33a4..eedf38330 100644 --- a/data/conf/samples/tutmongo/cgrates.json +++ b/data/conf/samples/tutmongo/cgrates.json @@ -118,42 +118,6 @@ }, -"loaders": [ - { - "id": "CustomLoader", // identifier of the Loader - "enabled": false, // starts as service: . - "dry_run": false, // do not send the CDRs to CDRS, just parse them - "run_delay": 0, // sleep interval in seconds between consecutive runs, 0 to use automation via inotify - "lock_filename": ".cgr.lock", // Filename containing concurrency lock in case of delayed processing - "caches_conns": [ - {"address": "*internal"}, // address where to reach the CacheS for data reload, empty for no reloads <""|*internal|x.y.z.y:1234> - ], - "field_separator": ",", // separator used in case of csv files - "tp_in_dir": "/tmp/In", // absolute path towards the directory where the CDRs are stored - "tp_out_dir": "/tmp/Out", // absolute path towards the directory where processed CDRs will be moved - "data":[ - { - "type": "*attributes", // data source type - "file_name": "Attributes.csv", // file name in the tp_in_dir - "fields": [ - {"tag": "TenantID", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true}, - {"tag": "ProfileID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true}, - {"tag": "Contexts", "field_id": "Contexts", "type": "*composed", "value": "~2"}, - {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~3"}, - {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~4"}, - {"tag": "AttributeFilterIDs", "field_id": "AttributeFilterIDs", "type": "*composed", "value": "~5"}, - {"tag": "FieldName", "field_id": "FieldName", "type": "*composed", "value": "~6"}, - {"tag": "Type", "field_id": "Type", "type": "*composed", "value": "~7"}, - {"tag": "Value", "field_id": "Value", "type": "*composed", "value": "~8"}, - {"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~9"}, - {"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~10"}, - ], - }, - ], - }, -], - - "sessions": { "enabled": true, "rals_conns": [ diff --git a/data/conf/samples/tutmysql/cgrates.json b/data/conf/samples/tutmysql/cgrates.json index b6342f6c9..d6acd82f0 100644 --- a/data/conf/samples/tutmysql/cgrates.json +++ b/data/conf/samples/tutmysql/cgrates.json @@ -69,42 +69,6 @@ }, }, -"loaders": [ - { - "id": "CustomLoader", // identifier of the Loader - "enabled": false, // starts as service: . - "dry_run": false, // do not send the CDRs to CDRS, just parse them - "run_delay": 0, // sleep interval in seconds between consecutive runs, 0 to use automation via inotify - "lock_filename": ".cgr.lock", // Filename containing concurrency lock in case of delayed processing - "caches_conns": [ - {"address": "*internal"}, // address where to reach the CacheS for data reload, empty for no reloads <""|*internal|x.y.z.y:1234> - ], - "field_separator": ",", // separator used in case of csv files - "tp_in_dir": "/tmp/In", // absolute path towards the directory where the CDRs are stored - "tp_out_dir": "/tmp/Out", // absolute path towards the directory where processed CDRs will be moved - "data":[ - { - "type": "*attributes", // data source type - "file_name": "Attributes.csv", // file name in the tp_in_dir - "fields": [ - {"tag": "TenantID", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true}, - {"tag": "ProfileID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true}, - {"tag": "Contexts", "field_id": "Contexts", "type": "*composed", "value": "~2"}, - {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~3"}, - {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~4"}, - {"tag": "AttributeFilterIDs", "field_id": "AttributeFilterIDs", "type": "*composed", "value": "~5"}, - {"tag": "FieldName", "field_id": "FieldName", "type": "*composed", "value": "~6"}, - {"tag": "Type", "field_id": "Type", "type": "*composed", "value": "~7"}, - {"tag": "Value", "field_id": "Value", "type": "*composed", "value": "~8"}, - {"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~9"}, - {"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~10"}, - ], - }, - ], - }, -], - - "attributes": { "enabled": true,