From bc5f1b5e10de4d44d8176323a71efb4f61b3e84f Mon Sep 17 00:00:00 2001 From: porosnicuadrian Date: Thu, 21 Apr 2022 16:14:54 +0300 Subject: [PATCH] Updated configs for Blockers and unused configs --- apis/loaders_it_test.go | 10 ++++---- apis/tpes_it_test.go | 15 ++++++++---- config/config_defaults.go | 2 +- config/config_json_test.go | 4 ++-- config/config_test.go | 8 +++---- .../acc_generaltest_internal/cgrates.json | 18 ++------------ .../acc_generaltest_mongo/cgrates.json | 21 ++-------------- .../acc_generaltest_mysql/cgrates.json | 21 ++-------------- .../samples/actions_internal/cgradmin.json | 12 ---------- .../actions_internal_gob/cgradmin.json | 12 ---------- data/conf/samples/actions_mongo/cgradmin.json | 13 ---------- .../samples/actions_mongo_gob/cgradmin.json | 14 ----------- data/conf/samples/actions_mysql/cgradmin.json | 14 ----------- .../samples/actions_mysql_gob/cgradmin.json | 13 ---------- .../apis_chargers_internal/cgrates.json | 22 ++--------------- .../samples/apis_chargers_mongo/cgrates.json | 23 ++---------------- .../samples/apis_chargers_mysql/cgrates.json | 22 ++--------------- .../samples/apis_config_mongo/cgrates.json | 24 ++----------------- .../samples/apis_config_mysql/cgrates.json | 21 ++-------------- .../attributesindexes_mysql/cgrates.json | 2 -- .../dispatcher_engine/cgrates.json | 7 +----- .../dispatcher_engine2/cgrates.json | 7 ------ .../cache_replicate/engine1/cgrates.json | 10 -------- .../dispatcher_engine/cgrates.json | 9 +------ .../dispatcher_engine2/cgrates.json | 9 ------- .../engine1/cgrates.json | 10 -------- .../cdrsreplicationmaster.json | 11 ++++----- .../cdrsreplicationmaster.json | 12 ++++------ .../cdrsreplicationslave.json | 10 ++++---- .../cdrsreplicationslave.json | 8 +++---- .../samples/cdrsv1processevent/cgrates.json | 13 +--------- .../cdrsv1processeventmongo/cgrates.json | 12 +--------- .../cdrsv1processeventmysql/cgrates.json | 14 +---------- data/conf/samples/cdrsv2internal/cgrates.json | 7 ------ .../samples/cdrsv2internal_gob/cgrates.json | 7 ------ data/conf/samples/cdrsv2mongo/cgrates.json | 7 ------ .../conf/samples/cdrsv2mongo_gob/cgrates.json | 7 ------ .../conf/samples/cdrsv2mysql/cdrsv2mysql.json | 7 ------ .../samples/cdrsv2mysql_gob/cdrsv2mysql.json | 2 -- data/conf/samples/cdrsv2psql/cdrsv2psql.json | 14 +---------- .../cdrsv_failover_internal/cgrates.json | 13 +++------- .../samples/cdrsv_failover_mongo/cgrates.json | 18 ++++---------- .../samples/cdrsv_failover_mysql/cgrates.json | 22 ++++++----------- data/conf/samples/cluelrn/cgrates.json | 13 ---------- .../samples/diamagent_internal/cgrates.json | 15 ++++-------- .../diamagent_internal_gobbirpc/cgrates.json | 14 ++++------- .../diamagent_internal_jsonbirpc/cgrates.json | 17 ++++--------- .../conf/samples/diamagent_mongo/cgrates.json | 17 +++++-------- .../diamagent_mongo_gobbirpc/cgrates.json | 14 ++++------- .../diamagent_mongo_jsonbirpc/cgrates.json | 8 ++----- .../conf/samples/diamagent_mysql/cgrates.json | 11 ++------- .../diamagent_mysql_gobbirpc/cgrates.json | 8 ++----- .../diamagent_mysql_jsonbirpc/cgrates.json | 9 ++----- .../diamagentmaxconn_internal/cgrates.json | 12 ++-------- .../diamagentmaxconn_mongo/cgrates.json | 10 ++------ .../diamagentmaxconn_mysql/cgrates.json | 11 ++------- .../diamsctpagent_internal/cgrates.json | 13 ++-------- .../samples/diamsctpagent_mongo/cgrates.json | 9 ++----- .../samples/diamsctpagent_mysql/cgrates.json | 10 ++------ .../conf/samples/dispatchers/all/cgrates.json | 12 ++-------- .../samples/dispatchers/all2/cgrates.json | 13 ++-------- .../dispatchers/all2_mongo/cgrates.json | 13 ++-------- .../dispatchers/all2_mysql/cgrates.json | 13 ++-------- .../dispatchers/all_mongo/cgrates.json | 16 ++----------- .../dispatchers/all_mysql/cgrates.json | 15 ++---------- .../dispatchers/diamagent/cgrates.json | 9 ------- .../dispatchers_internal/cgrates.json | 20 ++++------------ .../dispatchers_internal_gob/cgrates.json | 12 ++-------- .../dispatchers_mongo/cgrates.json | 11 +++------ .../dispatchers_mongo_gob/cgrates.json | 12 ++++------ .../dispatchers_mysql/cgrates.json | 12 +--------- .../dispatchers_mysql_gob/cgrates.json | 13 ++-------- .../dispatchers_no_attributes/cgrates.json | 8 ------- .../samples/dnsagent_internal/cgrates.json | 17 ++++--------- data/conf/samples/dnsagent_mongo/cgrates.json | 16 +++---------- data/conf/samples/dnsagent_mysql/cgrates.json | 15 +++--------- .../conf/samples/dnsagent_reload/cgrates.json | 15 +++--------- data/conf/samples/docker/cgrates.json | 18 +++----------- data/conf/samples/ees_internal/cgrates.json | 15 ++---------- data/conf/samples/ees_mongo/cgrates.json | 14 ++--------- data/conf/samples/ees_mysql/cgrates.json | 13 ++-------- data/conf/samples/ees_ooma/cgrates.json | 10 ++------ data/conf/samples/ers_example/cgrates.json | 16 +++---------- data/conf/samples/ers_internal/cgrates.json | 16 +++---------- data/conf/samples/ers_mongo/cgrates.json | 16 +++---------- data/conf/samples/ers_mysql/cgrates.json | 17 +++---------- data/conf/samples/ers_postgres/cgrates.json | 16 +++---------- .../samples/ers_reload/disabled/cgrates.json | 16 +++---------- .../ers_reload/disabled_internal/cgrates.json | 16 +++---------- .../ers_reload/disabled_mongo/cgrates.json | 15 +++--------- .../ers_reload/disabled_mysql/cgrates.json | 16 +++---------- .../ers_reload/disabled_postgres/cgrates.json | 15 +++--------- .../ers_reload/first_reload/cgrates.json | 17 +++---------- .../samples/ers_reload/internal/cgrates.json | 16 +++---------- .../ers_reload/second_reload/cgrates.json | 16 +++---------- .../export_it_test_internal/cgrates.json | 23 +++--------------- .../samples/export_it_test_mongo/cgrates.json | 23 ++---------------- .../samples/export_it_test_mysql/cgrates.json | 21 ++-------------- .../filter_indexes_internal/cgrates.json | 2 +- .../samples/filter_indexes_mongo/cgrates.json | 2 +- .../samples/filter_indexes_mysql/cgrates.json | 2 +- .../engine1_mongo/cgrates.json | 14 ----------- .../engine1_redis/cgrates.json | 13 ---------- .../engine2_mongo/cgrates.json | 13 ---------- .../engine2_redis/cgrates.json | 13 ---------- .../internal/cgrates.json | 17 ------------- data/conf/samples/filters/cgrates.json | 13 ---------- data/conf/samples/filters_gob/cgrates.json | 13 ---------- .../samples/filters_internal/cgrates.json | 1 - data/conf/samples/filters_mongo/cgrates.json | 12 ---------- data/conf/samples/filters_mysql/cgrates.json | 1 - .../samples/freeswitch_reload/cgrates.json | 4 ++-- data/conf/samples/gocs/au_site/cgrates.json | 12 ++-------- data/conf/samples/gocs/dsp_site/cgrates.json | 13 ++-------- data/conf/samples/gocs/us_site/cgrates.json | 11 ++------- .../samples/httpagent_internal/cgrates.json | 14 +++-------- .../httpagent_internal_gob/cgrates.json | 15 +++--------- .../conf/samples/httpagent_mongo/cgrates.json | 17 +++---------- .../samples/httpagent_mongo_gob/cgrates.json | 15 +++--------- .../conf/samples/httpagent_mysql/cgrates.json | 16 +++---------- .../samples/httpagent_mysql_gob/cgrates.json | 16 +++---------- .../httpagenttls_internal/cgrates.json | 16 +++---------- .../httpagenttls_internal_gob/cgrates.json | 15 +++--------- .../samples/httpagenttls_mongo/cgrates.json | 15 +++--------- .../httpagenttls_mongo_gob/cgrates.json | 15 +++--------- .../samples/httpagenttls_mysql/cgrates.json | 17 +++---------- .../httpagenttls_mysql_gob/cgrates.json | 16 +++---------- .../cgrates.json | 14 ++--------- data/conf/samples/loader_mongo/cgrates.json | 18 +++----------- .../samples/loaders/tutinternal/cgrates.json | 14 ++--------- .../samples/loaders/tutmongo/cgrates.json | 16 +++---------- .../samples/loaders/tutmysql/cgrates.json | 15 +++--------- .../samples/multiral1_internal/cgrates.json | 6 ++--- .../conf/samples/multiral1_mongo/cgrates.json | 7 ++---- .../conf/samples/multiral1_mysql/cgrates.json | 4 ++-- .../samples/multiral2_internal/cgrates.json | 5 +--- .../conf/samples/multiral2_mongo/cgrates.json | 4 +--- .../conf/samples/multiral2_mysql/cgrates.json | 4 +--- .../samples/precache/tutmongo/cgrates.json | 11 --------- .../precache/tutmongo_apiban/cgrates.json | 11 --------- .../samples/precache/tutmysql/cgrates.json | 6 ----- .../precache/tutmysql_apiban/cgrates.json | 11 --------- .../registrarc/all2_mongo/cgrates.json | 17 +++---------- .../registrarc/all2_mysql/cgrates.json | 9 +------ .../samples/registrarc/all_mongo/cgrates.json | 18 +++----------- .../samples/registrarc/all_mysql/cgrates.json | 15 +++--------- .../registrarc/dispatchers_mongo/cgrates.json | 13 +++------- .../registrarc/dispatchers_mysql/cgrates.json | 9 ++----- .../registrarc_rpc_mongo/cgrates.json | 19 ++------------- .../registrarc_rpc_mysql/cgrates.json | 19 ++------------- .../routes_cases_internal/cgrates.json | 2 +- .../samples/routes_cases_mongo/cgrates.json | 2 +- .../samples/routes_cases_mysql/cgrates.json | 2 +- .../routes_generaltests_internal/cgrates.json | 1 - .../routes_generaltests_mongo/cgrates.json | 2 +- .../routes_generaltests_mysql/cgrates.json | 1 - data/conf/samples/routes_mongo/cgrates.json | 22 ++--------------- data/conf/samples/routes_mysql/cgrates.json | 5 ++-- data/conf/samples/sessinternal/cgrates.json | 16 ++----------- data/conf/samples/sessintjson/cgrates.json | 16 ++----------- .../samples/sessions_internal/cgrates.json | 15 +++--------- data/conf/samples/sessions_mongo/cgrates.json | 16 +++---------- data/conf/samples/sessions_mysql/cgrates.json | 9 +------ .../samples/sipagent_internal/cgrates.json | 17 ++++--------- data/conf/samples/sipagent_mongo/cgrates.json | 16 ++++--------- data/conf/samples/sipagent_mysql/cgrates.json | 20 ++++------------ .../cgrates.json | 14 +++-------- .../smg_automatic_debits_mongo/cgrates.json | 12 +++------- .../smg_automatic_debits_mysql/cgrates.json | 12 +++------- .../samples/smgreplcmaster_mongo/cgrates.json | 10 ++------ .../smgreplcmaster_mongo_gob/cgrates.json | 10 ++------ .../samples/smgreplcmaster_mysql/cgrates.json | 10 ++------ .../smgreplcmaster_mysql_gob/cgrates.json | 10 ++------ .../samples/smgreplcslave_mongo/cgrates.json | 9 ++----- .../smgreplcslave_mongo_gob/cgrates.json | 9 +------ .../samples/smgreplcslave_mysql/cgrates.json | 11 +-------- .../smgreplcslave_mysql_gob/cgrates.json | 12 +++------- data/conf/samples/tls/cgrates.json | 6 ++--- data/conf/samples/tls_gob/cgrates.json | 7 ++---- data/conf/samples/tp_internal/cgrates.json | 22 ++--------------- data/conf/samples/tp_mongo/cgrates.json | 20 ++-------------- data/conf/samples/tp_mysql/cgrates.json | 5 ++-- .../conf/samples/tutinternal_gob/cgrates.json | 14 ++--------- data/conf/samples/tutmongo_gob/cgrates.json | 16 ++----------- data/conf/samples/tutmongojson/cgrates.json | 22 ++--------------- data/conf/samples/tutmysqljson/cgrates.json | 21 ++-------------- data/conf/samples/tutpostgres/cgrates.json | 14 +---------- .../samples/twoengines/engine1/cgrates.json | 7 ------ .../samples/twoengines/engine2/cgrates.json | 7 ------ dispatchers/attributes_it_test.go | 15 ++++++++++++ engine/libtest.go | 2 +- engine/z_datamanager_it_test.go | 2 +- engine/z_filterindexer_it_test.go | 2 +- engine/z_onstor_it_test.go | 2 +- .../loaders_internal_indexes_it_test.go | 5 ++++ 195 files changed, 404 insertions(+), 1979 deletions(-) diff --git a/apis/loaders_it_test.go b/apis/loaders_it_test.go index 157f0e738..d06806500 100644 --- a/apis/loaders_it_test.go +++ b/apis/loaders_it_test.go @@ -214,10 +214,10 @@ cgrates.org,ONE_TIME_ACT,,,,,,TOPUP_TEST_VOICE,,false,0s,*add_balance,,*balance. // Create and populate Attributes.csv if err := writeFile(utils.AttributesCsv, ` #Tenant,ID,FilterIDs,Weights,AttributeFilterIDs,Path,Type,Value,Blocker -cgrates.org,ALS1,*string:~*req.Account:1001;*string:~*opts.*context:con1,;20,,,,, -cgrates.org,ALS1,,,*string:~*req.Field1:Initial,*req.Field1,*variable,Sub1,true -cgrates.org,ALS1,*string:~*opts.*context:con2|con3,,,*req.Field2,*variable,Sub2,true -cgrates.org,ALS2,*string:~*opts.*context:con2|con3,,,*req.Field2,*variable,Sub2,true +cgrates.org,ALS1,*string:~*req.Account:1001;*string:~*opts.*context:con1,;20,,,,,;true +cgrates.org,ALS1,,,*string:~*req.Field1:Initial,*req.Field1,*variable,Sub1, +cgrates.org,ALS1,*string:~*opts.*context:con2|con3,,,*req.Field2,*variable,Sub2, +cgrates.org,ALS2,*string:~*opts.*context:con2|con3,,,*req.Field2,*variable,Sub2,;false cgrates.org,ALS2,*string:~*req.Account:1002;*string:~*opts.*context:con1,;20,*string:~*req.Field1:Initial,*req.Field1,*variable,Sub1, `); err != nil { t.Fatal(err) @@ -636,7 +636,7 @@ func testLoadersGetAttributeProfiles(t *testing.T) { }, Blockers: utils.Blockers{ { - Blocker: true, + Blocker: false, }, }, Weights: utils.DynamicWeights{ diff --git a/apis/tpes_it_test.go b/apis/tpes_it_test.go index 9a9bcffbe..bce4f0cd2 100644 --- a/apis/tpes_it_test.go +++ b/apis/tpes_it_test.go @@ -150,6 +150,11 @@ func testTPeSSetAttributeProfile(t *testing.T) { Value: "cgrates.itsyscom", }, }, + Blockers: utils.Blockers{ + { + Blocker: true, + }, + }, Weights: utils.DynamicWeights{ { Weight: 20, @@ -1079,8 +1084,8 @@ func testTPeSExportTariffPlanHalfTariffPlan(t *testing.T) { expected := map[string][][]string{ utils.AttributesCsv: { {"#Tenant", "ID", "FilterIDs", "Weights", "AttributeFilterIDs", "Path", "Type", "Value", "Blocker"}, - {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST", "*string:~*req.Account:1002;*exists:~*opts.*usage:", ";20", "", "Account", "*constant", "1002", "false"}, - {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST", "", "", "", "*tenant", "*constant", "cgrates.itsyscom", "false"}, + {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST", "*string:~*req.Account:1002;*exists:~*opts.*usage:", ";20", "", "Account", "*constant", "1002", ";true"}, + {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST", "", "", "", "*tenant", "*constant", "cgrates.itsyscom", ""}, }, utils.ResourcesCsv: { {"#Tenant", "ID", "FIlterIDs", "Weights", "TTL", "Limit", "AlocationMessage", "Blocker", "Stored", "ThresholdIDs"}, @@ -1199,9 +1204,9 @@ func testTPeSExportTariffPlanAllTariffPlan(t *testing.T) { expected := map[string][][]string{ utils.AttributesCsv: { {"#Tenant", "ID", "FilterIDs", "Weights", "AttributeFilterIDs", "Path", "Type", "Value", "Blocker"}, - {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST", "*string:~*req.Account:1002;*exists:~*opts.*usage:", ";20", "", "Account", "*constant", "1002", "false"}, - {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST", "", "", "", "*tenant", "*constant", "cgrates.itsyscom", "false"}, - {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST_SECOND", "*string:~*opts.*context:*sessions;*exists:~*opts.*usage:", "", "", "*tenant", "*constant", "cgrates.itsyscom", "false"}, + {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST", "*string:~*req.Account:1002;*exists:~*opts.*usage:", ";20", "", "Account", "*constant", "1002", ";true"}, + {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST", "", "", "", "*tenant", "*constant", "cgrates.itsyscom", ""}, + {"cgrates.org", "TEST_ATTRIBUTES_IT_TEST_SECOND", "*string:~*opts.*context:*sessions;*exists:~*opts.*usage:", "", "", "*tenant", "*constant", "cgrates.itsyscom", ""}, }, utils.ResourcesCsv: { {"#Tenant", "ID", "FIlterIDs", "Weights", "TTL", "Limit", "AlocationMessage", "Blocker", "Stored", "ThresholdIDs"}, diff --git a/config/config_defaults.go b/config/config_defaults.go index b60483e81..f9dd172a0 100644 --- a/config/config_defaults.go +++ b/config/config_defaults.go @@ -1209,7 +1209,7 @@ const CGRATES_CFG_JSON = ` {"tag": "Path", "path": "Attributes.Path", "type": "*variable", "value": "~*req.5"}, {"tag": "Type", "path": "Attributes.Type", "type": "*variable", "value": "~*req.6"}, {"tag": "Value", "path": "Attributes.Value", "type": "*variable", "value": "~*req.7"}, - {"tag": "Blocker", "path": "Blocker", "type": "*variable", "value": "~*req.8"}, + {"tag": "Blockers", "path": "Blockers", "type": "*variable", "value": "~*req.8"}, ], }, { diff --git a/config/config_json_test.go b/config/config_json_test.go index 0c350461a..b2e4c5a7d 100644 --- a/config/config_json_test.go +++ b/config/config_json_test.go @@ -1083,8 +1083,8 @@ func TestDfLoaderJsonCfg(t *testing.T) { Path: utils.StringPointer("Attributes.Value"), Type: utils.StringPointer(utils.MetaVariable), Value: utils.StringPointer("~*req.7")}, - {Tag: utils.StringPointer("Blocker"), - Path: utils.StringPointer("Blocker"), + {Tag: utils.StringPointer("Blockers"), + Path: utils.StringPointer("Blockers"), Type: utils.StringPointer(utils.MetaVariable), Value: utils.StringPointer("~*req.8")}, }, diff --git a/config/config_test.go b/config/config_test.go index 84709e0dd..5f51701c5 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -2612,8 +2612,8 @@ func TestCgrLoaderCfgITDefaults(t *testing.T) { Value: NewRSRParsersMustCompile("~*req.7", utils.InfieldSep), Layout: time.RFC3339, }, - {Tag: "Blocker", - Path: "Blocker", + {Tag: "Blockers", + Path: "Blockers", Type: utils.MetaVariable, Value: NewRSRParsersMustCompile("~*req.8", utils.InfieldSep), Layout: time.RFC3339, @@ -5196,7 +5196,7 @@ func TestV1GetConfigAsJSONDispatcherH(t *testing.T) { func TestV1GetConfigAsJSONLoaders(t *testing.T) { var reply string - expected := `{"loaders":[{"action":"*store","cache":{"*accounts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*action_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*attributes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*chargers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*dispatcher_hosts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*dispatchers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*filters":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*rate_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*resources":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*routes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*stats":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*thresholds":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"}},"caches_conns":["*internal"],"data":[{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"new_branch":true,"path":"Rules.Type","tag":"Type","type":"*variable","value":"~*req.2"},{"path":"Rules.Element","tag":"Element","type":"*variable","value":"~*req.3"},{"path":"Rules.Values","tag":"Values","type":"*variable","value":"~*req.4"}],"file_name":"Filters.csv","flags":null,"type":"*filters"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"TenantID","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ProfileID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"new_branch":true,"path":"Attributes.FilterIDs","tag":"AttributeFilterIDs","type":"*variable","value":"~*req.4"},{"path":"Attributes.Path","tag":"Path","type":"*variable","value":"~*req.5"},{"path":"Attributes.Type","tag":"Type","type":"*variable","value":"~*req.6"},{"path":"Attributes.Value","tag":"Value","type":"*variable","value":"~*req.7"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.8"}],"file_name":"Attributes.csv","flags":null,"type":"*attributes"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"UsageTTL","tag":"TTL","type":"*variable","value":"~*req.4"},{"path":"Limit","tag":"Limit","type":"*variable","value":"~*req.5"},{"path":"AllocationMessage","tag":"AllocationMessage","type":"*variable","value":"~*req.6"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.7"},{"path":"Stored","tag":"Stored","type":"*variable","value":"~*req.8"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.9"}],"file_name":"Resources.csv","flags":null,"type":"*resources"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"QueueLength","tag":"QueueLength","type":"*variable","value":"~*req.4"},{"path":"TTL","tag":"TTL","type":"*variable","value":"~*req.5"},{"path":"MinItems","tag":"MinItems","type":"*variable","value":"~*req.6"},{"new_branch":true,"path":"Metrics.MetricID","tag":"MetricIDs","type":"*variable","value":"~*req.7"},{"path":"Metrics.FilterIDs","tag":"MetricFilterIDs","type":"*variable","value":"~*req.8"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.9"},{"path":"Stored","tag":"Stored","type":"*variable","value":"~*req.10"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.11"}],"file_name":"Stats.csv","flags":null,"type":"*stats"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"MaxHits","tag":"MaxHits","type":"*variable","value":"~*req.4"},{"path":"MinHits","tag":"MinHits","type":"*variable","value":"~*req.5"},{"path":"MinSleep","tag":"MinSleep","type":"*variable","value":"~*req.6"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.7"},{"path":"ActionProfileIDs","tag":"ActionProfileIDs","type":"*variable","value":"~*req.8"},{"path":"Async","tag":"Async","type":"*variable","value":"~*req.9"}],"file_name":"Thresholds.csv","flags":null,"type":"*thresholds"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Sorting","tag":"Sorting","type":"*variable","value":"~*req.4"},{"path":"SortingParameters","tag":"SortingParameters","type":"*variable","value":"~*req.5"},{"new_branch":true,"path":"Routes.ID","tag":"RouteID","type":"*variable","value":"~*req.6"},{"path":"Routes.FilterIDs","tag":"RouteFilterIDs","type":"*variable","value":"~*req.7"},{"path":"Routes.AccountIDs","tag":"RouteAccountIDs","type":"*variable","value":"~*req.8"},{"path":"Routes.RateProfileIDs","tag":"RouteRateProfileIDs","type":"*variable","value":"~*req.9"},{"path":"Routes.ResourceIDs","tag":"RouteResourceIDs","type":"*variable","value":"~*req.10"},{"path":"Routes.StatIDs","tag":"RouteStatIDs","type":"*variable","value":"~*req.11"},{"path":"Routes.Weights","tag":"RouteWeights","type":"*variable","value":"~*req.12"},{"path":"Routes.Blocker","tag":"RouteBlocker","type":"*variable","value":"~*req.13"},{"path":"Routes.RouteParameters","tag":"RouteParameters","type":"*variable","value":"~*req.14"}],"file_name":"Routes.csv","flags":null,"type":"*routes"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"RunID","tag":"RunID","type":"*variable","value":"~*req.4"},{"path":"AttributeIDs","tag":"AttributeIDs","type":"*variable","value":"~*req.5"}],"file_name":"Chargers.csv","flags":null,"type":"*chargers"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weight","tag":"Weight","type":"*variable","value":"~*req.3"},{"path":"Strategy","tag":"Strategy","type":"*variable","value":"~*req.4"},{"path":"StrategyParams","tag":"StrategyParameters","type":"*variable","value":"~*req.5"},{"new_branch":true,"path":"Hosts.ID","tag":"ConnID","type":"*variable","value":"~*req.6"},{"path":"Hosts.FilterIDs","tag":"ConnFilterIDs","type":"*variable","value":"~*req.7"},{"path":"Hosts.Weight","tag":"ConnWeight","type":"*variable","value":"~*req.8"},{"path":"Hosts.Blocker","tag":"ConnBlocker","type":"*variable","value":"~*req.9"},{"path":"Hosts.Params","tag":"ConnParameters","type":"*variable","value":"~*req.10"}],"file_name":"DispatcherProfiles.csv","flags":null,"type":"*dispatchers"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"Address","tag":"Address","type":"*variable","value":"~*req.2"},{"path":"Transport","tag":"Transport","type":"*variable","value":"~*req.3"},{"path":"ConnectAttempts","tag":"ConnectAttempts","type":"*variable","value":"~*req.4"},{"path":"Reconnects","tag":"Reconnects","type":"*variable","value":"~*req.5"},{"path":"ConnectTimeout","tag":"ConnectTimeout","type":"*variable","value":"~*req.6"},{"path":"ReplyTimeout","tag":"ReplyTimeout","type":"*variable","value":"~*req.7"},{"path":"TLS","tag":"TLS","type":"*variable","value":"~*req.8"},{"path":"ClientKey","tag":"ClientKey","type":"*variable","value":"~*req.9"},{"path":"ClientCertificate","tag":"ClientCertificate","type":"*variable","value":"~*req.10"},{"path":"CaCertificate","tag":"CaCertificate","type":"*variable","value":"~*req.11"}],"file_name":"DispatcherHosts.csv","flags":null,"type":"*dispatcher_hosts"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"MinCost","tag":"MinCost","type":"*variable","value":"~*req.4"},{"path":"MaxCost","tag":"MaxCost","type":"*variable","value":"~*req.5"},{"path":"MaxCostStrategy","tag":"MaxCostStrategy","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].FilterIDs","tag":"RateFilterIDs","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].ActivationTimes","tag":"RateActivationTimes","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].Weights","tag":"RateWeights","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].Blocker","tag":"RateBlocker","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.7:"],"new_branch":true,"path":"Rates[\u003c~*req.7\u003e].IntervalRates.IntervalStart","tag":"RateIntervalStart","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.FixedFee","tag":"RateFixedFee","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.RecurrentFee","tag":"RateRecurrentFee","type":"*variable","value":"~*req.14"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.Unit","tag":"RateUnit","type":"*variable","value":"~*req.15"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.Increment","tag":"RateIncrement","type":"*variable","value":"~*req.16"}],"file_name":"Rates.csv","flags":null,"type":"*rate_profiles"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Schedule","tag":"Schedule","type":"*variable","value":"~*req.4"},{"path":"Targets[\u003c~*req.5\u003e]","tag":"TargetIDs","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].FilterIDs","tag":"ActionFilterIDs","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Blocker","tag":"ActionBlocker","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].TTL","tag":"ActionTTL","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Type","tag":"ActionType","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Opts","tag":"ActionOpts","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.7:"],"new_branch":true,"path":"Actions[\u003c~*req.7\u003e].Diktats.Path","tag":"ActionPath","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Diktats.Value","tag":"ActionValue","type":"*variable","value":"~*req.14"}],"file_name":"Actions.csv","flags":null,"type":"*action_profiles"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Opts","tag":"Opts","type":"*variable","value":"~*req.4"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].FilterIDs","tag":"BalanceFilterIDs","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Weights","tag":"BalanceWeights","type":"*variable","value":"~*req.7"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Type","tag":"BalanceType","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Units","tag":"BalanceUnits","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].UnitFactors","tag":"BalanceUnitFactors","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Opts","tag":"BalanceOpts","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].CostIncrements","tag":"BalanceCostIncrements","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].AttributeIDs","tag":"BalanceAttributeIDs","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].RateProfileIDs","tag":"BalanceRateProfileIDs","type":"*variable","value":"~*req.14"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.15"}],"file_name":"Accounts.csv","flags":null,"type":"*accounts"}],"enabled":false,"field_separator":",","id":"*default","lockfile_path":".cgr.lck","opts":{"*cache":"","*forceLock":false,"*stopOnError":false,"*withIndex":true},"run_delay":"0","tenant":"","tp_in_dir":"/var/spool/cgrates/loader/in","tp_out_dir":"/var/spool/cgrates/loader/out"}]}` + expected := `{"loaders":[{"action":"*store","cache":{"*accounts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*action_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*attributes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*chargers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*dispatcher_hosts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*dispatchers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*filters":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*rate_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*resources":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*routes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*stats":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*thresholds":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"}},"caches_conns":["*internal"],"data":[{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"new_branch":true,"path":"Rules.Type","tag":"Type","type":"*variable","value":"~*req.2"},{"path":"Rules.Element","tag":"Element","type":"*variable","value":"~*req.3"},{"path":"Rules.Values","tag":"Values","type":"*variable","value":"~*req.4"}],"file_name":"Filters.csv","flags":null,"type":"*filters"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"TenantID","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ProfileID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"new_branch":true,"path":"Attributes.FilterIDs","tag":"AttributeFilterIDs","type":"*variable","value":"~*req.4"},{"path":"Attributes.Path","tag":"Path","type":"*variable","value":"~*req.5"},{"path":"Attributes.Type","tag":"Type","type":"*variable","value":"~*req.6"},{"path":"Attributes.Value","tag":"Value","type":"*variable","value":"~*req.7"},{"path":"Blockers","tag":"Blockers","type":"*variable","value":"~*req.8"}],"file_name":"Attributes.csv","flags":null,"type":"*attributes"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"UsageTTL","tag":"TTL","type":"*variable","value":"~*req.4"},{"path":"Limit","tag":"Limit","type":"*variable","value":"~*req.5"},{"path":"AllocationMessage","tag":"AllocationMessage","type":"*variable","value":"~*req.6"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.7"},{"path":"Stored","tag":"Stored","type":"*variable","value":"~*req.8"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.9"}],"file_name":"Resources.csv","flags":null,"type":"*resources"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"QueueLength","tag":"QueueLength","type":"*variable","value":"~*req.4"},{"path":"TTL","tag":"TTL","type":"*variable","value":"~*req.5"},{"path":"MinItems","tag":"MinItems","type":"*variable","value":"~*req.6"},{"new_branch":true,"path":"Metrics.MetricID","tag":"MetricIDs","type":"*variable","value":"~*req.7"},{"path":"Metrics.FilterIDs","tag":"MetricFilterIDs","type":"*variable","value":"~*req.8"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.9"},{"path":"Stored","tag":"Stored","type":"*variable","value":"~*req.10"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.11"}],"file_name":"Stats.csv","flags":null,"type":"*stats"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"MaxHits","tag":"MaxHits","type":"*variable","value":"~*req.4"},{"path":"MinHits","tag":"MinHits","type":"*variable","value":"~*req.5"},{"path":"MinSleep","tag":"MinSleep","type":"*variable","value":"~*req.6"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.7"},{"path":"ActionProfileIDs","tag":"ActionProfileIDs","type":"*variable","value":"~*req.8"},{"path":"Async","tag":"Async","type":"*variable","value":"~*req.9"}],"file_name":"Thresholds.csv","flags":null,"type":"*thresholds"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Sorting","tag":"Sorting","type":"*variable","value":"~*req.4"},{"path":"SortingParameters","tag":"SortingParameters","type":"*variable","value":"~*req.5"},{"new_branch":true,"path":"Routes.ID","tag":"RouteID","type":"*variable","value":"~*req.6"},{"path":"Routes.FilterIDs","tag":"RouteFilterIDs","type":"*variable","value":"~*req.7"},{"path":"Routes.AccountIDs","tag":"RouteAccountIDs","type":"*variable","value":"~*req.8"},{"path":"Routes.RateProfileIDs","tag":"RouteRateProfileIDs","type":"*variable","value":"~*req.9"},{"path":"Routes.ResourceIDs","tag":"RouteResourceIDs","type":"*variable","value":"~*req.10"},{"path":"Routes.StatIDs","tag":"RouteStatIDs","type":"*variable","value":"~*req.11"},{"path":"Routes.Weights","tag":"RouteWeights","type":"*variable","value":"~*req.12"},{"path":"Routes.Blocker","tag":"RouteBlocker","type":"*variable","value":"~*req.13"},{"path":"Routes.RouteParameters","tag":"RouteParameters","type":"*variable","value":"~*req.14"}],"file_name":"Routes.csv","flags":null,"type":"*routes"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"RunID","tag":"RunID","type":"*variable","value":"~*req.4"},{"path":"AttributeIDs","tag":"AttributeIDs","type":"*variable","value":"~*req.5"}],"file_name":"Chargers.csv","flags":null,"type":"*chargers"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weight","tag":"Weight","type":"*variable","value":"~*req.3"},{"path":"Strategy","tag":"Strategy","type":"*variable","value":"~*req.4"},{"path":"StrategyParams","tag":"StrategyParameters","type":"*variable","value":"~*req.5"},{"new_branch":true,"path":"Hosts.ID","tag":"ConnID","type":"*variable","value":"~*req.6"},{"path":"Hosts.FilterIDs","tag":"ConnFilterIDs","type":"*variable","value":"~*req.7"},{"path":"Hosts.Weight","tag":"ConnWeight","type":"*variable","value":"~*req.8"},{"path":"Hosts.Blocker","tag":"ConnBlocker","type":"*variable","value":"~*req.9"},{"path":"Hosts.Params","tag":"ConnParameters","type":"*variable","value":"~*req.10"}],"file_name":"DispatcherProfiles.csv","flags":null,"type":"*dispatchers"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"Address","tag":"Address","type":"*variable","value":"~*req.2"},{"path":"Transport","tag":"Transport","type":"*variable","value":"~*req.3"},{"path":"ConnectAttempts","tag":"ConnectAttempts","type":"*variable","value":"~*req.4"},{"path":"Reconnects","tag":"Reconnects","type":"*variable","value":"~*req.5"},{"path":"ConnectTimeout","tag":"ConnectTimeout","type":"*variable","value":"~*req.6"},{"path":"ReplyTimeout","tag":"ReplyTimeout","type":"*variable","value":"~*req.7"},{"path":"TLS","tag":"TLS","type":"*variable","value":"~*req.8"},{"path":"ClientKey","tag":"ClientKey","type":"*variable","value":"~*req.9"},{"path":"ClientCertificate","tag":"ClientCertificate","type":"*variable","value":"~*req.10"},{"path":"CaCertificate","tag":"CaCertificate","type":"*variable","value":"~*req.11"}],"file_name":"DispatcherHosts.csv","flags":null,"type":"*dispatcher_hosts"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"MinCost","tag":"MinCost","type":"*variable","value":"~*req.4"},{"path":"MaxCost","tag":"MaxCost","type":"*variable","value":"~*req.5"},{"path":"MaxCostStrategy","tag":"MaxCostStrategy","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].FilterIDs","tag":"RateFilterIDs","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].ActivationTimes","tag":"RateActivationTimes","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].Weights","tag":"RateWeights","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].Blocker","tag":"RateBlocker","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.7:"],"new_branch":true,"path":"Rates[\u003c~*req.7\u003e].IntervalRates.IntervalStart","tag":"RateIntervalStart","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.FixedFee","tag":"RateFixedFee","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.RecurrentFee","tag":"RateRecurrentFee","type":"*variable","value":"~*req.14"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.Unit","tag":"RateUnit","type":"*variable","value":"~*req.15"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.Increment","tag":"RateIncrement","type":"*variable","value":"~*req.16"}],"file_name":"Rates.csv","flags":null,"type":"*rate_profiles"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Schedule","tag":"Schedule","type":"*variable","value":"~*req.4"},{"path":"Targets[\u003c~*req.5\u003e]","tag":"TargetIDs","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].FilterIDs","tag":"ActionFilterIDs","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Blocker","tag":"ActionBlocker","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].TTL","tag":"ActionTTL","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Type","tag":"ActionType","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Opts","tag":"ActionOpts","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.7:"],"new_branch":true,"path":"Actions[\u003c~*req.7\u003e].Diktats.Path","tag":"ActionPath","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Diktats.Value","tag":"ActionValue","type":"*variable","value":"~*req.14"}],"file_name":"Actions.csv","flags":null,"type":"*action_profiles"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Opts","tag":"Opts","type":"*variable","value":"~*req.4"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].FilterIDs","tag":"BalanceFilterIDs","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Weights","tag":"BalanceWeights","type":"*variable","value":"~*req.7"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Type","tag":"BalanceType","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Units","tag":"BalanceUnits","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].UnitFactors","tag":"BalanceUnitFactors","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Opts","tag":"BalanceOpts","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].CostIncrements","tag":"BalanceCostIncrements","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].AttributeIDs","tag":"BalanceAttributeIDs","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].RateProfileIDs","tag":"BalanceRateProfileIDs","type":"*variable","value":"~*req.14"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.15"}],"file_name":"Accounts.csv","flags":null,"type":"*accounts"}],"enabled":false,"field_separator":",","id":"*default","lockfile_path":".cgr.lck","opts":{"*cache":"","*forceLock":false,"*stopOnError":false,"*withIndex":true},"run_delay":"0","tenant":"","tp_in_dir":"/var/spool/cgrates/loader/in","tp_out_dir":"/var/spool/cgrates/loader/out"}]}` cgrCfg := NewDefaultCGRConfig() if err := cgrCfg.V1GetConfigAsJSON(context.Background(), &SectionWithAPIOpts{Sections: []string{LoaderSJSON}}, &reply); err != nil { t.Error(err) @@ -5413,7 +5413,7 @@ func TestV1GetConfigAsJSONAllConfig(t *testing.T) { } }` var reply string - expected := `{"accounts":{"attributes_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"max_iterations":1000,"max_usage":"259200000000000","nested_fields":false,"notexists_indexed_fields":[],"opts":{"*profileIDs":[],"*profileIgnoreFilters":[],"*usage":[]},"prefix_indexed_fields":[],"rates_conns":[],"suffix_indexed_fields":[],"thresholds_conns":[]},"actions":{"accounts_conns":[],"cdrs_conns":[],"dynaprepaid_actionprofile":[],"ees_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*profileIDs":[],"*profileIgnoreFilters":[]},"prefix_indexed_fields":[],"stats_conns":[],"suffix_indexed_fields":[],"tenants":[],"thresholds_conns":[]},"admins":{"actions_conns":[],"attributes_conns":[],"caches_conns":["*internal"],"ees_conns":[],"enabled":false},"analyzers":{"cleanup_interval":"1h0m0s","db_path":"/var/spool/cgrates/analyzers","enabled":false,"index_type":"*scorch","ttl":"24h0m0s"},"apiban":{"enabled":false,"keys":[]},"asterisk_agent":{"asterisk_conns":[{"address":"127.0.0.1:8088","alias":"","connect_attempts":3,"password":"CGRateS.org","reconnects":5,"user":"cgrates"}],"create_cdr":false,"enabled":false,"sessions_conns":["*birpc_internal"]},"attributes":{"accounts_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*processRuns":[],"*profileIDs":[],"*profileIgnoreFilters":[],"*profileRuns":[]},"prefix_indexed_fields":[],"resources_conns":[],"stats_conns":[],"suffix_indexed_fields":[]},"caches":{"partitions":{"*account_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*accounts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*action_profile_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*action_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*apiban":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"2m0s"},"*attribute_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*attribute_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*caps_events":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*cdr_ids":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"10m0s"},"*charger_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*charger_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*closed_sessions":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"10s"},"*diameter_messages":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"3h0m0s"},"*dispatcher_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatcher_hosts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatcher_loads":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatcher_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatcher_routes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatchers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*event_charges":{"limit":0,"precache":false,"replicate":false,"static_ttl":false,"ttl":"10s"},"*event_resources":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*filters":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*load_ids":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rate_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rate_profile_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rate_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*replication_hosts":{"limit":0,"precache":false,"replicate":false,"static_ttl":false},"*resource_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*resource_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*resources":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*reverse_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*route_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*route_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rpc_connections":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rpc_responses":{"limit":0,"precache":false,"replicate":false,"static_ttl":false,"ttl":"2s"},"*stat_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*statqueue_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*statqueues":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*stir":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"3h0m0s"},"*threshold_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*threshold_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*thresholds":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*uch":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"3h0m0s"}},"replication_conns":[]},"cdrs":{"accounts_conns":[],"actions_conns":[],"attributes_conns":[],"chargers_conns":[],"ees_conns":[],"enabled":false,"extra_fields":[],"online_cdr_exports":null,"opts":{"*accountS":[],"*attributeS":[],"*chargerS":[],"*eeS":[],"*rateS":[],"*statS":[],"*thresholdS":[]},"rates_conns":[],"session_cost_retries":5,"stats_conns":[],"thresholds_conns":[]},"chargers":{"attributes_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"prefix_indexed_fields":[],"suffix_indexed_fields":[]},"config_db":{"db_host":"","db_name":"","db_password":"","db_port":0,"db_type":"*internal","db_user":"","opts":{"mongoQueryTimeout":"10s","redisCACertificate":"","redisClientCertificate":"","redisClientKey":"","redisCluster":false,"redisClusterOndownDelay":"0s","redisClusterSync":"5s","redisSentinel":"","redisTLS":false}},"configs":{"enabled":false,"root_dir":"/var/spool/cgrates/configs","url":"/configs/"},"cores":{"caps":0,"caps_stats_interval":"0","caps_strategy":"*busy","ees_conns":[],"shutdown_timeout":"1s"},"data_db":{"db_host":"127.0.0.1","db_name":"10","db_password":"","db_port":6379,"db_type":"*redis","db_user":"cgrates","items":{"*account_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*accounts":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*action_profile_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*action_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*actions":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*attribute_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*attribute_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*charger_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*charger_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*dispatcher_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*dispatcher_hosts":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*dispatcher_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*filters":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*load_ids":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*rate_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*rate_profile_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*rate_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*resource_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*resource_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*resources":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*reverse_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*route_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*route_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*stat_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*statqueue_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*statqueues":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*threshold_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*threshold_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*thresholds":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*versions":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false}},"opts":{"mongoQueryTimeout":"10s","redisCACertificate":"","redisClientCertificate":"","redisClientKey":"","redisCluster":false,"redisClusterOndownDelay":"0s","redisClusterSync":"5s","redisSentinel":"","redisTLS":false},"remote_conn_id":"","remote_conns":[],"replication_cache":"","replication_conns":[],"replication_filtered":false},"diameter_agent":{"asr_template":"","concurrent_requests":-1,"dictionaries_path":"/usr/share/cgrates/diameter/dict/","enabled":false,"forced_disconnect":"*none","listen":"127.0.0.1:3868","listen_net":"tcp","origin_host":"CGR-DA","origin_realm":"cgrates.org","product_name":"CGRateS","rar_template":"","request_processors":[],"sessions_conns":["*birpc_internal"],"synced_conn_requests":false,"vendor_id":0},"dispatchers":{"attributes_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"prefix_indexed_fields":[],"suffix_indexed_fields":[]},"dns_agent":{"enabled":false,"listen":"127.0.0.1:2053","listen_net":"udp","request_processors":[],"sessions_conns":["*internal"],"timezone":""},"ees":{"attributes_conns":[],"cache":{"*fileCSV":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"}},"enabled":false,"exporters":[{"attempts":1,"attribute_context":"","attribute_ids":[],"concurrent_requests":0,"export_path":"/var/spool/cgrates/ees","failed_posts_dir":"/var/spool/cgrates/failed_posts","fields":[],"filters":[],"flags":[],"id":"*default","opts":{},"synchronous":false,"timezone":"","type":"*none"}]},"ers":{"enabled":false,"partial_cache_ttl":"1s","readers":[{"cache_dump_fields":[],"concurrent_requests":1024,"fields":[{"mandatory":true,"path":"*cgreq.ToR","tag":"ToR","type":"*variable","value":"~*req.2"},{"mandatory":true,"path":"*cgreq.OriginID","tag":"OriginID","type":"*variable","value":"~*req.3"},{"mandatory":true,"path":"*cgreq.RequestType","tag":"RequestType","type":"*variable","value":"~*req.4"},{"mandatory":true,"path":"*cgreq.Tenant","tag":"Tenant","type":"*variable","value":"~*req.6"},{"mandatory":true,"path":"*cgreq.Category","tag":"Category","type":"*variable","value":"~*req.7"},{"mandatory":true,"path":"*cgreq.Account","tag":"Account","type":"*variable","value":"~*req.8"},{"mandatory":true,"path":"*cgreq.Subject","tag":"Subject","type":"*variable","value":"~*req.9"},{"mandatory":true,"path":"*cgreq.Destination","tag":"Destination","type":"*variable","value":"~*req.10"},{"mandatory":true,"path":"*cgreq.SetupTime","tag":"SetupTime","type":"*variable","value":"~*req.11"},{"mandatory":true,"path":"*cgreq.AnswerTime","tag":"AnswerTime","type":"*variable","value":"~*req.12"},{"mandatory":true,"path":"*cgreq.Usage","tag":"Usage","type":"*variable","value":"~*req.13"}],"filters":[],"flags":[],"id":"*default","opts":{"csvFieldSeparator":",","csvHeaderDefineChar":":","csvRowLength":0,"natsSubject":"cgrates_cdrs","partialCacheAction":"*none","partialOrderField":"~*req.AnswerTime","xmlRootPath":""},"partial_commit_fields":[],"processed_path":"/var/spool/cgrates/ers/out","run_delay":"0","source_path":"/var/spool/cgrates/ers/in","tenant":"","timezone":"","type":"*none"}],"sessions_conns":["*internal"]},"filters":{"accounts_conns":[],"resources_conns":[],"stats_conns":[]},"freeswitch_agent":{"create_cdr":false,"empty_balance_ann_file":"","empty_balance_context":"","enabled":false,"event_socket_conns":[{"address":"127.0.0.1:8021","alias":"127.0.0.1:8021","password":"ClueCon","reconnects":5}],"extra_fields":[],"low_balance_ann_file":"","max_wait_connection":"2s","sessions_conns":["*birpc_internal"],"subscribe_park":true},"general":{"connect_attempts":5,"connect_timeout":"1s","dbdata_encoding":"*msgpack","decimal_max_scale":0,"decimal_min_scale":0,"decimal_precision":0,"decimal_rounding_mode":"*toNearestEven","default_caching":"*reload","default_category":"call","default_request_type":"*rated","default_tenant":"cgrates.org","default_timezone":"Local","digest_equal":":","digest_separator":",","failed_posts_dir":"/var/spool/cgrates/failed_posts","failed_posts_ttl":"5s","locking_timeout":"0","log_level":6,"logger":"*syslog","max_parallel_conns":100,"node_id":"ENGINE1","poster_attempts":3,"reconnects":-1,"reply_timeout":"2s","rounding_decimals":5,"rsr_separator":";","tpexport_dir":"/var/spool/cgrates/tpe"},"http":{"auth_users":{},"client_opts":{"dialFallbackDelay":"300ms","dialKeepAlive":"30s","dialTimeout":"30s","disableCompression":false,"disableKeepAlives":false,"expectContinueTimeout":"0s","forceAttemptHttp2":true,"idleConnTimeout":"1m30s","maxConnsPerHost":0,"maxIdleConns":100,"maxIdleConnsPerHost":2,"responseHeaderTimeout":"0s","skipTLSVerification":false,"tlsHandshakeTimeout":"10s"},"freeswitch_cdrs_url":"/freeswitch_json","http_cdrs":"/cdr_http","json_rpc_url":"/jsonrpc","prometheus_url":"/prometheus","registrars_url":"/registrar","use_basic_auth":false,"ws_url":"/ws"},"http_agent":[],"kamailio_agent":{"create_cdr":false,"enabled":false,"evapi_conns":[{"address":"127.0.0.1:8448","alias":"","reconnects":5}],"sessions_conns":["*birpc_internal"],"timezone":""},"listen":{"http":"127.0.0.1:2080","http_tls":"127.0.0.1:2280","rpc_gob":"127.0.0.1:2013","rpc_gob_tls":"127.0.0.1:2023","rpc_json":"127.0.0.1:2012","rpc_json_tls":"127.0.0.1:2022"},"loader":{"actions_conns":["*localhost"],"caches_conns":["*localhost"],"data_path":"./","disable_reverse":false,"field_separator":",","gapi_credentials":".gapi/credentials.json","gapi_token":".gapi/token.json","tpid":""},"loaders":[{"action":"*store","cache":{"*accounts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*action_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*attributes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*chargers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*dispatcher_hosts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*dispatchers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*filters":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*rate_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*resources":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*routes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*stats":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*thresholds":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"}},"caches_conns":["*internal"],"data":[{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"new_branch":true,"path":"Rules.Type","tag":"Type","type":"*variable","value":"~*req.2"},{"path":"Rules.Element","tag":"Element","type":"*variable","value":"~*req.3"},{"path":"Rules.Values","tag":"Values","type":"*variable","value":"~*req.4"}],"file_name":"Filters.csv","flags":null,"type":"*filters"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"TenantID","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ProfileID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"new_branch":true,"path":"Attributes.FilterIDs","tag":"AttributeFilterIDs","type":"*variable","value":"~*req.4"},{"path":"Attributes.Path","tag":"Path","type":"*variable","value":"~*req.5"},{"path":"Attributes.Type","tag":"Type","type":"*variable","value":"~*req.6"},{"path":"Attributes.Value","tag":"Value","type":"*variable","value":"~*req.7"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.8"}],"file_name":"Attributes.csv","flags":null,"type":"*attributes"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"UsageTTL","tag":"TTL","type":"*variable","value":"~*req.4"},{"path":"Limit","tag":"Limit","type":"*variable","value":"~*req.5"},{"path":"AllocationMessage","tag":"AllocationMessage","type":"*variable","value":"~*req.6"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.7"},{"path":"Stored","tag":"Stored","type":"*variable","value":"~*req.8"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.9"}],"file_name":"Resources.csv","flags":null,"type":"*resources"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"QueueLength","tag":"QueueLength","type":"*variable","value":"~*req.4"},{"path":"TTL","tag":"TTL","type":"*variable","value":"~*req.5"},{"path":"MinItems","tag":"MinItems","type":"*variable","value":"~*req.6"},{"new_branch":true,"path":"Metrics.MetricID","tag":"MetricIDs","type":"*variable","value":"~*req.7"},{"path":"Metrics.FilterIDs","tag":"MetricFilterIDs","type":"*variable","value":"~*req.8"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.9"},{"path":"Stored","tag":"Stored","type":"*variable","value":"~*req.10"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.11"}],"file_name":"Stats.csv","flags":null,"type":"*stats"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"MaxHits","tag":"MaxHits","type":"*variable","value":"~*req.4"},{"path":"MinHits","tag":"MinHits","type":"*variable","value":"~*req.5"},{"path":"MinSleep","tag":"MinSleep","type":"*variable","value":"~*req.6"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.7"},{"path":"ActionProfileIDs","tag":"ActionProfileIDs","type":"*variable","value":"~*req.8"},{"path":"Async","tag":"Async","type":"*variable","value":"~*req.9"}],"file_name":"Thresholds.csv","flags":null,"type":"*thresholds"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Sorting","tag":"Sorting","type":"*variable","value":"~*req.4"},{"path":"SortingParameters","tag":"SortingParameters","type":"*variable","value":"~*req.5"},{"new_branch":true,"path":"Routes.ID","tag":"RouteID","type":"*variable","value":"~*req.6"},{"path":"Routes.FilterIDs","tag":"RouteFilterIDs","type":"*variable","value":"~*req.7"},{"path":"Routes.AccountIDs","tag":"RouteAccountIDs","type":"*variable","value":"~*req.8"},{"path":"Routes.RateProfileIDs","tag":"RouteRateProfileIDs","type":"*variable","value":"~*req.9"},{"path":"Routes.ResourceIDs","tag":"RouteResourceIDs","type":"*variable","value":"~*req.10"},{"path":"Routes.StatIDs","tag":"RouteStatIDs","type":"*variable","value":"~*req.11"},{"path":"Routes.Weights","tag":"RouteWeights","type":"*variable","value":"~*req.12"},{"path":"Routes.Blocker","tag":"RouteBlocker","type":"*variable","value":"~*req.13"},{"path":"Routes.RouteParameters","tag":"RouteParameters","type":"*variable","value":"~*req.14"}],"file_name":"Routes.csv","flags":null,"type":"*routes"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"RunID","tag":"RunID","type":"*variable","value":"~*req.4"},{"path":"AttributeIDs","tag":"AttributeIDs","type":"*variable","value":"~*req.5"}],"file_name":"Chargers.csv","flags":null,"type":"*chargers"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weight","tag":"Weight","type":"*variable","value":"~*req.3"},{"path":"Strategy","tag":"Strategy","type":"*variable","value":"~*req.4"},{"path":"StrategyParams","tag":"StrategyParameters","type":"*variable","value":"~*req.5"},{"new_branch":true,"path":"Hosts.ID","tag":"ConnID","type":"*variable","value":"~*req.6"},{"path":"Hosts.FilterIDs","tag":"ConnFilterIDs","type":"*variable","value":"~*req.7"},{"path":"Hosts.Weight","tag":"ConnWeight","type":"*variable","value":"~*req.8"},{"path":"Hosts.Blocker","tag":"ConnBlocker","type":"*variable","value":"~*req.9"},{"path":"Hosts.Params","tag":"ConnParameters","type":"*variable","value":"~*req.10"}],"file_name":"DispatcherProfiles.csv","flags":null,"type":"*dispatchers"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"Address","tag":"Address","type":"*variable","value":"~*req.2"},{"path":"Transport","tag":"Transport","type":"*variable","value":"~*req.3"},{"path":"ConnectAttempts","tag":"ConnectAttempts","type":"*variable","value":"~*req.4"},{"path":"Reconnects","tag":"Reconnects","type":"*variable","value":"~*req.5"},{"path":"ConnectTimeout","tag":"ConnectTimeout","type":"*variable","value":"~*req.6"},{"path":"ReplyTimeout","tag":"ReplyTimeout","type":"*variable","value":"~*req.7"},{"path":"TLS","tag":"TLS","type":"*variable","value":"~*req.8"},{"path":"ClientKey","tag":"ClientKey","type":"*variable","value":"~*req.9"},{"path":"ClientCertificate","tag":"ClientCertificate","type":"*variable","value":"~*req.10"},{"path":"CaCertificate","tag":"CaCertificate","type":"*variable","value":"~*req.11"}],"file_name":"DispatcherHosts.csv","flags":null,"type":"*dispatcher_hosts"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"MinCost","tag":"MinCost","type":"*variable","value":"~*req.4"},{"path":"MaxCost","tag":"MaxCost","type":"*variable","value":"~*req.5"},{"path":"MaxCostStrategy","tag":"MaxCostStrategy","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].FilterIDs","tag":"RateFilterIDs","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].ActivationTimes","tag":"RateActivationTimes","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].Weights","tag":"RateWeights","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].Blocker","tag":"RateBlocker","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.7:"],"new_branch":true,"path":"Rates[\u003c~*req.7\u003e].IntervalRates.IntervalStart","tag":"RateIntervalStart","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.FixedFee","tag":"RateFixedFee","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.RecurrentFee","tag":"RateRecurrentFee","type":"*variable","value":"~*req.14"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.Unit","tag":"RateUnit","type":"*variable","value":"~*req.15"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.Increment","tag":"RateIncrement","type":"*variable","value":"~*req.16"}],"file_name":"Rates.csv","flags":null,"type":"*rate_profiles"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Schedule","tag":"Schedule","type":"*variable","value":"~*req.4"},{"path":"Targets[\u003c~*req.5\u003e]","tag":"TargetIDs","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].FilterIDs","tag":"ActionFilterIDs","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Blocker","tag":"ActionBlocker","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].TTL","tag":"ActionTTL","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Type","tag":"ActionType","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Opts","tag":"ActionOpts","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.7:"],"new_branch":true,"path":"Actions[\u003c~*req.7\u003e].Diktats.Path","tag":"ActionPath","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Diktats.Value","tag":"ActionValue","type":"*variable","value":"~*req.14"}],"file_name":"Actions.csv","flags":null,"type":"*action_profiles"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Opts","tag":"Opts","type":"*variable","value":"~*req.4"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].FilterIDs","tag":"BalanceFilterIDs","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Weights","tag":"BalanceWeights","type":"*variable","value":"~*req.7"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Type","tag":"BalanceType","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Units","tag":"BalanceUnits","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].UnitFactors","tag":"BalanceUnitFactors","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Opts","tag":"BalanceOpts","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].CostIncrements","tag":"BalanceCostIncrements","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].AttributeIDs","tag":"BalanceAttributeIDs","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].RateProfileIDs","tag":"BalanceRateProfileIDs","type":"*variable","value":"~*req.14"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.15"}],"file_name":"Accounts.csv","flags":null,"type":"*accounts"}],"enabled":false,"field_separator":",","id":"*default","lockfile_path":".cgr.lck","opts":{"*cache":"","*forceLock":false,"*stopOnError":false,"*withIndex":true},"run_delay":"0","tenant":"","tp_in_dir":"/var/spool/cgrates/loader/in","tp_out_dir":"/var/spool/cgrates/loader/out"}],"migrator":{"out_datadb_encoding":"msgpack","out_datadb_host":"127.0.0.1","out_datadb_name":"10","out_datadb_opts":{"mongoQueryTimeout":"0s","redisCACertificate":"","redisClientCertificate":"","redisClientKey":"","redisCluster":false,"redisClusterOndownDelay":"0s","redisClusterSync":"5s","redisSentinel":"","redisTLS":false},"out_datadb_password":"","out_datadb_port":"6379","out_datadb_type":"redis","out_datadb_user":"cgrates","users_filters":null},"radius_agent":{"client_dictionaries":{"*default":"/usr/share/cgrates/radius/dict/"},"client_secrets":{"*default":"CGRateS.org"},"enabled":false,"listen_acct":"127.0.0.1:1813","listen_auth":"127.0.0.1:1812","listen_net":"udp","request_processors":[],"sessions_conns":["*internal"]},"rates":{"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*intervalStart":[],"*profileIDs":[],"*profileIgnoreFilters":[],"*startTime":[],"*usage":[]},"prefix_indexed_fields":[],"rate_exists_indexed_fields":[],"rate_indexed_selects":true,"rate_nested_fields":false,"rate_notexists_indexed_fields":[],"rate_prefix_indexed_fields":[],"rate_suffix_indexed_fields":[],"suffix_indexed_fields":[],"verbosity":1000},"registrarc":{"dispatchers":{"hosts":[],"refresh_interval":"5m0s","registrars_conns":[]},"rpc":{"hosts":[],"refresh_interval":"5m0s","registrars_conns":[]}},"resources":{"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*units":[],"*usageID":[],"*usageTTL":[]},"prefix_indexed_fields":[],"store_interval":"","suffix_indexed_fields":[],"thresholds_conns":[]},"routes":{"accounts_conns":[],"attributes_conns":[],"default_ratio":1,"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*context":[],"*ignoreErrors":[],"*limit":[],"*maxCost":[],"*maxItems":[],"*offset":[],"*profileCount":[],"*usage":[]},"prefix_indexed_fields":[],"rates_conns":[],"resources_conns":[],"stats_conns":[],"suffix_indexed_fields":[]},"rpc_conns":{"*bijson_localhost":{"conns":[{"address":"127.0.0.1:2014","transport":"*birpc_json"}],"poolSize":0,"strategy":"*first"},"*birpc_internal":{"conns":[{"address":"*birpc_internal","transport":""}],"poolSize":0,"strategy":"*first"},"*internal":{"conns":[{"address":"*internal","transport":""}],"poolSize":0,"strategy":"*first"},"*localhost":{"conns":[{"address":"127.0.0.1:2012","transport":"*json"}],"poolSize":0,"strategy":"*first"}},"sessions":{"accounts_conns":[],"actions_conns":[],"alterable_fields":[],"attributes_conns":[],"cdrs_conns":[],"channel_sync_interval":"0","chargers_conns":[],"client_protocol":1,"default_usage":{"*any":"3h0m0s","*data":"1048576","*sms":"1","*voice":"3h0m0s"},"enabled":false,"listen_bigob":"","listen_bijson":"127.0.0.1:2014","min_dur_low_balance":"0","opts":{"*accountS":[],"*attributeS":[],"*attributesDerivedReply":[],"*blockerError":[],"*cdrS":[],"*cdrsDerivedReply":[],"*chargeable":[],"*chargerS":[],"*debitInterval":[],"*forceDuration":[],"*initiate":[],"*maxUsage":[],"*message":[],"*resourceS":[],"*resourcesAllocate":[],"*resourcesAuthorize":[],"*resourcesDerivedReply":[],"*resourcesRelease":[],"*routeS":[],"*routesDerivedReply":[],"*statS":[],"*statsDerivedReply":[],"*terminate":[],"*thresholdS":[],"*thresholdsDerivedReply":[],"*ttl":[],"*ttlLastUsage":[],"*ttlLastUsed":[],"*ttlMaxDelay":[],"*ttlUsage":[],"*update":[]},"rates_conns":[],"replication_conns":[],"resources_conns":[],"routes_conns":[],"session_indexes":[],"stats_conns":[],"stir":{"allowed_attest":["*any"],"default_attest":"A","payload_maxduration":"-1","privatekey_path":"","publickey_path":""},"store_session_costs":false,"terminate_attempts":5,"thresholds_conns":[]},"sip_agent":{"enabled":false,"listen":"127.0.0.1:5060","listen_net":"udp","request_processors":[],"retransmission_timer":"1s","sessions_conns":["*internal"],"timezone":""},"stats":{"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*profileIDs":[],"*profileIgnoreFilters":[],"*prometheusStatIDs":[],"*roundingDecimals":[]},"prefix_indexed_fields":[],"store_interval":"","store_uncompressed_limit":0,"suffix_indexed_fields":[],"thresholds_conns":[]},"suretax":{"bill_to_number":"","business_unit":"","client_number":"","client_tracking":"~*opts.*originID","customer_number":"~*req.Subject","include_local_cost":false,"orig_number":"~*req.Subject","p2pplus4":"","p2pzipcode":"","plus4":"","regulatory_code":"03","response_group":"03","response_type":"D4","return_file_code":"0","sales_type_code":"R","tax_exemption_code_list":"","tax_included":"0","tax_situs_rule":"04","term_number":"~*req.Destination","timezone":"UTC","trans_type_code":"010101","unit_type":"00","units":"1","url":"","validation_key":"","zipcode":""},"templates":{"*asr":[{"mandatory":true,"path":"*diamreq.Session-Id","tag":"SessionId","type":"*variable","value":"~*req.Session-Id"},{"mandatory":true,"path":"*diamreq.Origin-Host","tag":"OriginHost","type":"*variable","value":"~*req.Destination-Host"},{"mandatory":true,"path":"*diamreq.Origin-Realm","tag":"OriginRealm","type":"*variable","value":"~*req.Destination-Realm"},{"mandatory":true,"path":"*diamreq.Destination-Realm","tag":"DestinationRealm","type":"*variable","value":"~*req.Origin-Realm"},{"mandatory":true,"path":"*diamreq.Destination-Host","tag":"DestinationHost","type":"*variable","value":"~*req.Origin-Host"},{"mandatory":true,"path":"*diamreq.Auth-Application-Id","tag":"AuthApplicationId","type":"*variable","value":"~*vars.*appid"}],"*cca":[{"mandatory":true,"path":"*rep.Session-Id","tag":"SessionId","type":"*variable","value":"~*req.Session-Id"},{"path":"*rep.Result-Code","tag":"ResultCode","type":"*constant","value":"2001"},{"mandatory":true,"path":"*rep.Origin-Host","tag":"OriginHost","type":"*variable","value":"~*vars.OriginHost"},{"mandatory":true,"path":"*rep.Origin-Realm","tag":"OriginRealm","type":"*variable","value":"~*vars.OriginRealm"},{"mandatory":true,"path":"*rep.Auth-Application-Id","tag":"AuthApplicationId","type":"*variable","value":"~*vars.*appid"},{"mandatory":true,"path":"*rep.CC-Request-Type","tag":"CCRequestType","type":"*variable","value":"~*req.CC-Request-Type"},{"mandatory":true,"path":"*rep.CC-Request-Number","tag":"CCRequestNumber","type":"*variable","value":"~*req.CC-Request-Number"}],"*cdrLog":[{"mandatory":true,"path":"*cdr.ToR","tag":"ToR","type":"*variable","value":"~*req.BalanceType"},{"mandatory":true,"path":"*cdr.OriginHost","tag":"OriginHost","type":"*constant","value":"127.0.0.1"},{"mandatory":true,"path":"*cdr.RequestType","tag":"RequestType","type":"*constant","value":"*none"},{"mandatory":true,"path":"*cdr.Tenant","tag":"Tenant","type":"*variable","value":"~*req.Tenant"},{"mandatory":true,"path":"*cdr.Account","tag":"Account","type":"*variable","value":"~*req.Account"},{"mandatory":true,"path":"*cdr.Subject","tag":"Subject","type":"*variable","value":"~*req.Account"},{"mandatory":true,"path":"*cdr.Cost","tag":"Cost","type":"*variable","value":"~*req.Cost"},{"mandatory":true,"path":"*cdr.Source","tag":"Source","type":"*constant","value":"*cdrLog"},{"mandatory":true,"path":"*cdr.Usage","tag":"Usage","type":"*constant","value":"1"},{"mandatory":true,"path":"*cdr.RunID","tag":"RunID","type":"*variable","value":"~*req.ActionType"},{"mandatory":true,"path":"*cdr.SetupTime","tag":"SetupTime","type":"*constant","value":"*now"},{"mandatory":true,"path":"*cdr.AnswerTime","tag":"AnswerTime","type":"*constant","value":"*now"},{"mandatory":true,"path":"*cdr.PreRated","tag":"PreRated","type":"*constant","value":"true"}],"*err":[{"mandatory":true,"path":"*rep.Session-Id","tag":"SessionId","type":"*variable","value":"~*req.Session-Id"},{"mandatory":true,"path":"*rep.Origin-Host","tag":"OriginHost","type":"*variable","value":"~*vars.OriginHost"},{"mandatory":true,"path":"*rep.Origin-Realm","tag":"OriginRealm","type":"*variable","value":"~*vars.OriginRealm"}],"*errSip":[{"mandatory":true,"path":"*rep.Request","tag":"Request","type":"*constant","value":"SIP/2.0 500 Internal Server Error"}],"*rar":[{"mandatory":true,"path":"*diamreq.Session-Id","tag":"SessionId","type":"*variable","value":"~*req.Session-Id"},{"mandatory":true,"path":"*diamreq.Origin-Host","tag":"OriginHost","type":"*variable","value":"~*req.Destination-Host"},{"mandatory":true,"path":"*diamreq.Origin-Realm","tag":"OriginRealm","type":"*variable","value":"~*req.Destination-Realm"},{"mandatory":true,"path":"*diamreq.Destination-Realm","tag":"DestinationRealm","type":"*variable","value":"~*req.Origin-Realm"},{"mandatory":true,"path":"*diamreq.Destination-Host","tag":"DestinationHost","type":"*variable","value":"~*req.Origin-Host"},{"mandatory":true,"path":"*diamreq.Auth-Application-Id","tag":"AuthApplicationId","type":"*variable","value":"~*vars.*appid"},{"path":"*diamreq.Re-Auth-Request-Type","tag":"ReAuthRequestType","type":"*constant","value":"0"}]},"thresholds":{"actions_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*profileIDs":[],"*profileIgnoreFilters":[]},"prefix_indexed_fields":[],"store_interval":"","suffix_indexed_fields":[]},"tls":{"ca_certificate":"","client_certificate":"","client_key":"","server_certificate":"","server_key":"","server_name":"","server_policy":4},"tpes":{"enabled":false}}` + expected := `{"accounts":{"attributes_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"max_iterations":1000,"max_usage":"259200000000000","nested_fields":false,"notexists_indexed_fields":[],"opts":{"*profileIDs":[],"*profileIgnoreFilters":[],"*usage":[]},"prefix_indexed_fields":[],"rates_conns":[],"suffix_indexed_fields":[],"thresholds_conns":[]},"actions":{"accounts_conns":[],"cdrs_conns":[],"dynaprepaid_actionprofile":[],"ees_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*profileIDs":[],"*profileIgnoreFilters":[]},"prefix_indexed_fields":[],"stats_conns":[],"suffix_indexed_fields":[],"tenants":[],"thresholds_conns":[]},"admins":{"actions_conns":[],"attributes_conns":[],"caches_conns":["*internal"],"ees_conns":[],"enabled":false},"analyzers":{"cleanup_interval":"1h0m0s","db_path":"/var/spool/cgrates/analyzers","enabled":false,"index_type":"*scorch","ttl":"24h0m0s"},"apiban":{"enabled":false,"keys":[]},"asterisk_agent":{"asterisk_conns":[{"address":"127.0.0.1:8088","alias":"","connect_attempts":3,"password":"CGRateS.org","reconnects":5,"user":"cgrates"}],"create_cdr":false,"enabled":false,"sessions_conns":["*birpc_internal"]},"attributes":{"accounts_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*processRuns":[],"*profileIDs":[],"*profileIgnoreFilters":[],"*profileRuns":[]},"prefix_indexed_fields":[],"resources_conns":[],"stats_conns":[],"suffix_indexed_fields":[]},"caches":{"partitions":{"*account_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*accounts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*action_profile_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*action_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*apiban":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"2m0s"},"*attribute_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*attribute_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*caps_events":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*cdr_ids":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"10m0s"},"*charger_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*charger_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*closed_sessions":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"10s"},"*diameter_messages":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"3h0m0s"},"*dispatcher_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatcher_hosts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatcher_loads":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatcher_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatcher_routes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*dispatchers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*event_charges":{"limit":0,"precache":false,"replicate":false,"static_ttl":false,"ttl":"10s"},"*event_resources":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*filters":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*load_ids":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rate_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rate_profile_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rate_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*replication_hosts":{"limit":0,"precache":false,"replicate":false,"static_ttl":false},"*resource_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*resource_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*resources":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*reverse_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*route_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*route_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rpc_connections":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*rpc_responses":{"limit":0,"precache":false,"replicate":false,"static_ttl":false,"ttl":"2s"},"*stat_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*statqueue_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*statqueues":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*stir":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"3h0m0s"},"*threshold_filter_indexes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*threshold_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*thresholds":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false},"*uch":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"3h0m0s"}},"replication_conns":[]},"cdrs":{"accounts_conns":[],"actions_conns":[],"attributes_conns":[],"chargers_conns":[],"ees_conns":[],"enabled":false,"extra_fields":[],"online_cdr_exports":null,"opts":{"*accountS":[],"*attributeS":[],"*chargerS":[],"*eeS":[],"*rateS":[],"*statS":[],"*thresholdS":[]},"rates_conns":[],"session_cost_retries":5,"stats_conns":[],"thresholds_conns":[]},"chargers":{"attributes_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"prefix_indexed_fields":[],"suffix_indexed_fields":[]},"config_db":{"db_host":"","db_name":"","db_password":"","db_port":0,"db_type":"*internal","db_user":"","opts":{"mongoQueryTimeout":"10s","redisCACertificate":"","redisClientCertificate":"","redisClientKey":"","redisCluster":false,"redisClusterOndownDelay":"0s","redisClusterSync":"5s","redisSentinel":"","redisTLS":false}},"configs":{"enabled":false,"root_dir":"/var/spool/cgrates/configs","url":"/configs/"},"cores":{"caps":0,"caps_stats_interval":"0","caps_strategy":"*busy","ees_conns":[],"shutdown_timeout":"1s"},"data_db":{"db_host":"127.0.0.1","db_name":"10","db_password":"","db_port":6379,"db_type":"*redis","db_user":"cgrates","items":{"*account_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*accounts":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*action_profile_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*action_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*actions":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*attribute_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*attribute_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*charger_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*charger_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*dispatcher_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*dispatcher_hosts":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*dispatcher_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*filters":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*load_ids":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*rate_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*rate_profile_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*rate_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*resource_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*resource_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*resources":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*reverse_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*route_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*route_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*stat_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*statqueue_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*statqueues":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*threshold_filter_indexes":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*threshold_profiles":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*thresholds":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false},"*versions":{"limit":-1,"remote":false,"replicate":false,"static_ttl":false}},"opts":{"mongoQueryTimeout":"10s","redisCACertificate":"","redisClientCertificate":"","redisClientKey":"","redisCluster":false,"redisClusterOndownDelay":"0s","redisClusterSync":"5s","redisSentinel":"","redisTLS":false},"remote_conn_id":"","remote_conns":[],"replication_cache":"","replication_conns":[],"replication_filtered":false},"diameter_agent":{"asr_template":"","concurrent_requests":-1,"dictionaries_path":"/usr/share/cgrates/diameter/dict/","enabled":false,"forced_disconnect":"*none","listen":"127.0.0.1:3868","listen_net":"tcp","origin_host":"CGR-DA","origin_realm":"cgrates.org","product_name":"CGRateS","rar_template":"","request_processors":[],"sessions_conns":["*birpc_internal"],"synced_conn_requests":false,"vendor_id":0},"dispatchers":{"attributes_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"prefix_indexed_fields":[],"suffix_indexed_fields":[]},"dns_agent":{"enabled":false,"listen":"127.0.0.1:2053","listen_net":"udp","request_processors":[],"sessions_conns":["*internal"],"timezone":""},"ees":{"attributes_conns":[],"cache":{"*fileCSV":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"}},"enabled":false,"exporters":[{"attempts":1,"attribute_context":"","attribute_ids":[],"concurrent_requests":0,"export_path":"/var/spool/cgrates/ees","failed_posts_dir":"/var/spool/cgrates/failed_posts","fields":[],"filters":[],"flags":[],"id":"*default","opts":{},"synchronous":false,"timezone":"","type":"*none"}]},"ers":{"enabled":false,"partial_cache_ttl":"1s","readers":[{"cache_dump_fields":[],"concurrent_requests":1024,"fields":[{"mandatory":true,"path":"*cgreq.ToR","tag":"ToR","type":"*variable","value":"~*req.2"},{"mandatory":true,"path":"*cgreq.OriginID","tag":"OriginID","type":"*variable","value":"~*req.3"},{"mandatory":true,"path":"*cgreq.RequestType","tag":"RequestType","type":"*variable","value":"~*req.4"},{"mandatory":true,"path":"*cgreq.Tenant","tag":"Tenant","type":"*variable","value":"~*req.6"},{"mandatory":true,"path":"*cgreq.Category","tag":"Category","type":"*variable","value":"~*req.7"},{"mandatory":true,"path":"*cgreq.Account","tag":"Account","type":"*variable","value":"~*req.8"},{"mandatory":true,"path":"*cgreq.Subject","tag":"Subject","type":"*variable","value":"~*req.9"},{"mandatory":true,"path":"*cgreq.Destination","tag":"Destination","type":"*variable","value":"~*req.10"},{"mandatory":true,"path":"*cgreq.SetupTime","tag":"SetupTime","type":"*variable","value":"~*req.11"},{"mandatory":true,"path":"*cgreq.AnswerTime","tag":"AnswerTime","type":"*variable","value":"~*req.12"},{"mandatory":true,"path":"*cgreq.Usage","tag":"Usage","type":"*variable","value":"~*req.13"}],"filters":[],"flags":[],"id":"*default","opts":{"csvFieldSeparator":",","csvHeaderDefineChar":":","csvRowLength":0,"natsSubject":"cgrates_cdrs","partialCacheAction":"*none","partialOrderField":"~*req.AnswerTime","xmlRootPath":""},"partial_commit_fields":[],"processed_path":"/var/spool/cgrates/ers/out","run_delay":"0","source_path":"/var/spool/cgrates/ers/in","tenant":"","timezone":"","type":"*none"}],"sessions_conns":["*internal"]},"filters":{"accounts_conns":[],"resources_conns":[],"stats_conns":[]},"freeswitch_agent":{"create_cdr":false,"empty_balance_ann_file":"","empty_balance_context":"","enabled":false,"event_socket_conns":[{"address":"127.0.0.1:8021","alias":"127.0.0.1:8021","password":"ClueCon","reconnects":5}],"extra_fields":[],"low_balance_ann_file":"","max_wait_connection":"2s","sessions_conns":["*birpc_internal"],"subscribe_park":true},"general":{"connect_attempts":5,"connect_timeout":"1s","dbdata_encoding":"*msgpack","decimal_max_scale":0,"decimal_min_scale":0,"decimal_precision":0,"decimal_rounding_mode":"*toNearestEven","default_caching":"*reload","default_category":"call","default_request_type":"*rated","default_tenant":"cgrates.org","default_timezone":"Local","digest_equal":":","digest_separator":",","failed_posts_dir":"/var/spool/cgrates/failed_posts","failed_posts_ttl":"5s","locking_timeout":"0","log_level":6,"logger":"*syslog","max_parallel_conns":100,"node_id":"ENGINE1","poster_attempts":3,"reconnects":-1,"reply_timeout":"2s","rounding_decimals":5,"rsr_separator":";","tpexport_dir":"/var/spool/cgrates/tpe"},"http":{"auth_users":{},"client_opts":{"dialFallbackDelay":"300ms","dialKeepAlive":"30s","dialTimeout":"30s","disableCompression":false,"disableKeepAlives":false,"expectContinueTimeout":"0s","forceAttemptHttp2":true,"idleConnTimeout":"1m30s","maxConnsPerHost":0,"maxIdleConns":100,"maxIdleConnsPerHost":2,"responseHeaderTimeout":"0s","skipTLSVerification":false,"tlsHandshakeTimeout":"10s"},"freeswitch_cdrs_url":"/freeswitch_json","http_cdrs":"/cdr_http","json_rpc_url":"/jsonrpc","prometheus_url":"/prometheus","registrars_url":"/registrar","use_basic_auth":false,"ws_url":"/ws"},"http_agent":[],"kamailio_agent":{"create_cdr":false,"enabled":false,"evapi_conns":[{"address":"127.0.0.1:8448","alias":"","reconnects":5}],"sessions_conns":["*birpc_internal"],"timezone":""},"listen":{"http":"127.0.0.1:2080","http_tls":"127.0.0.1:2280","rpc_gob":"127.0.0.1:2013","rpc_gob_tls":"127.0.0.1:2023","rpc_json":"127.0.0.1:2012","rpc_json_tls":"127.0.0.1:2022"},"loader":{"actions_conns":["*localhost"],"caches_conns":["*localhost"],"data_path":"./","disable_reverse":false,"field_separator":",","gapi_credentials":".gapi/credentials.json","gapi_token":".gapi/token.json","tpid":""},"loaders":[{"action":"*store","cache":{"*accounts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*action_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*attributes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*chargers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*dispatcher_hosts":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*dispatchers":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*filters":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*rate_profiles":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*resources":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*routes":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*stats":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"},"*thresholds":{"limit":-1,"precache":false,"replicate":false,"static_ttl":false,"ttl":"5s"}},"caches_conns":["*internal"],"data":[{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"new_branch":true,"path":"Rules.Type","tag":"Type","type":"*variable","value":"~*req.2"},{"path":"Rules.Element","tag":"Element","type":"*variable","value":"~*req.3"},{"path":"Rules.Values","tag":"Values","type":"*variable","value":"~*req.4"}],"file_name":"Filters.csv","flags":null,"type":"*filters"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"TenantID","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ProfileID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"new_branch":true,"path":"Attributes.FilterIDs","tag":"AttributeFilterIDs","type":"*variable","value":"~*req.4"},{"path":"Attributes.Path","tag":"Path","type":"*variable","value":"~*req.5"},{"path":"Attributes.Type","tag":"Type","type":"*variable","value":"~*req.6"},{"path":"Attributes.Value","tag":"Value","type":"*variable","value":"~*req.7"},{"path":"Blockers","tag":"Blockers","type":"*variable","value":"~*req.8"}],"file_name":"Attributes.csv","flags":null,"type":"*attributes"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"UsageTTL","tag":"TTL","type":"*variable","value":"~*req.4"},{"path":"Limit","tag":"Limit","type":"*variable","value":"~*req.5"},{"path":"AllocationMessage","tag":"AllocationMessage","type":"*variable","value":"~*req.6"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.7"},{"path":"Stored","tag":"Stored","type":"*variable","value":"~*req.8"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.9"}],"file_name":"Resources.csv","flags":null,"type":"*resources"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"QueueLength","tag":"QueueLength","type":"*variable","value":"~*req.4"},{"path":"TTL","tag":"TTL","type":"*variable","value":"~*req.5"},{"path":"MinItems","tag":"MinItems","type":"*variable","value":"~*req.6"},{"new_branch":true,"path":"Metrics.MetricID","tag":"MetricIDs","type":"*variable","value":"~*req.7"},{"path":"Metrics.FilterIDs","tag":"MetricFilterIDs","type":"*variable","value":"~*req.8"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.9"},{"path":"Stored","tag":"Stored","type":"*variable","value":"~*req.10"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.11"}],"file_name":"Stats.csv","flags":null,"type":"*stats"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"MaxHits","tag":"MaxHits","type":"*variable","value":"~*req.4"},{"path":"MinHits","tag":"MinHits","type":"*variable","value":"~*req.5"},{"path":"MinSleep","tag":"MinSleep","type":"*variable","value":"~*req.6"},{"path":"Blocker","tag":"Blocker","type":"*variable","value":"~*req.7"},{"path":"ActionProfileIDs","tag":"ActionProfileIDs","type":"*variable","value":"~*req.8"},{"path":"Async","tag":"Async","type":"*variable","value":"~*req.9"}],"file_name":"Thresholds.csv","flags":null,"type":"*thresholds"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Sorting","tag":"Sorting","type":"*variable","value":"~*req.4"},{"path":"SortingParameters","tag":"SortingParameters","type":"*variable","value":"~*req.5"},{"new_branch":true,"path":"Routes.ID","tag":"RouteID","type":"*variable","value":"~*req.6"},{"path":"Routes.FilterIDs","tag":"RouteFilterIDs","type":"*variable","value":"~*req.7"},{"path":"Routes.AccountIDs","tag":"RouteAccountIDs","type":"*variable","value":"~*req.8"},{"path":"Routes.RateProfileIDs","tag":"RouteRateProfileIDs","type":"*variable","value":"~*req.9"},{"path":"Routes.ResourceIDs","tag":"RouteResourceIDs","type":"*variable","value":"~*req.10"},{"path":"Routes.StatIDs","tag":"RouteStatIDs","type":"*variable","value":"~*req.11"},{"path":"Routes.Weights","tag":"RouteWeights","type":"*variable","value":"~*req.12"},{"path":"Routes.Blocker","tag":"RouteBlocker","type":"*variable","value":"~*req.13"},{"path":"Routes.RouteParameters","tag":"RouteParameters","type":"*variable","value":"~*req.14"}],"file_name":"Routes.csv","flags":null,"type":"*routes"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"RunID","tag":"RunID","type":"*variable","value":"~*req.4"},{"path":"AttributeIDs","tag":"AttributeIDs","type":"*variable","value":"~*req.5"}],"file_name":"Chargers.csv","flags":null,"type":"*chargers"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weight","tag":"Weight","type":"*variable","value":"~*req.3"},{"path":"Strategy","tag":"Strategy","type":"*variable","value":"~*req.4"},{"path":"StrategyParams","tag":"StrategyParameters","type":"*variable","value":"~*req.5"},{"new_branch":true,"path":"Hosts.ID","tag":"ConnID","type":"*variable","value":"~*req.6"},{"path":"Hosts.FilterIDs","tag":"ConnFilterIDs","type":"*variable","value":"~*req.7"},{"path":"Hosts.Weight","tag":"ConnWeight","type":"*variable","value":"~*req.8"},{"path":"Hosts.Blocker","tag":"ConnBlocker","type":"*variable","value":"~*req.9"},{"path":"Hosts.Params","tag":"ConnParameters","type":"*variable","value":"~*req.10"}],"file_name":"DispatcherProfiles.csv","flags":null,"type":"*dispatchers"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"Address","tag":"Address","type":"*variable","value":"~*req.2"},{"path":"Transport","tag":"Transport","type":"*variable","value":"~*req.3"},{"path":"ConnectAttempts","tag":"ConnectAttempts","type":"*variable","value":"~*req.4"},{"path":"Reconnects","tag":"Reconnects","type":"*variable","value":"~*req.5"},{"path":"ConnectTimeout","tag":"ConnectTimeout","type":"*variable","value":"~*req.6"},{"path":"ReplyTimeout","tag":"ReplyTimeout","type":"*variable","value":"~*req.7"},{"path":"TLS","tag":"TLS","type":"*variable","value":"~*req.8"},{"path":"ClientKey","tag":"ClientKey","type":"*variable","value":"~*req.9"},{"path":"ClientCertificate","tag":"ClientCertificate","type":"*variable","value":"~*req.10"},{"path":"CaCertificate","tag":"CaCertificate","type":"*variable","value":"~*req.11"}],"file_name":"DispatcherHosts.csv","flags":null,"type":"*dispatcher_hosts"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"MinCost","tag":"MinCost","type":"*variable","value":"~*req.4"},{"path":"MaxCost","tag":"MaxCost","type":"*variable","value":"~*req.5"},{"path":"MaxCostStrategy","tag":"MaxCostStrategy","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].FilterIDs","tag":"RateFilterIDs","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].ActivationTimes","tag":"RateActivationTimes","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].Weights","tag":"RateWeights","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].Blocker","tag":"RateBlocker","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.7:"],"new_branch":true,"path":"Rates[\u003c~*req.7\u003e].IntervalRates.IntervalStart","tag":"RateIntervalStart","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.FixedFee","tag":"RateFixedFee","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.RecurrentFee","tag":"RateRecurrentFee","type":"*variable","value":"~*req.14"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.Unit","tag":"RateUnit","type":"*variable","value":"~*req.15"},{"filters":["*notempty:~*req.7:"],"path":"Rates[\u003c~*req.7\u003e].IntervalRates.Increment","tag":"RateIncrement","type":"*variable","value":"~*req.16"}],"file_name":"Rates.csv","flags":null,"type":"*rate_profiles"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Schedule","tag":"Schedule","type":"*variable","value":"~*req.4"},{"path":"Targets[\u003c~*req.5\u003e]","tag":"TargetIDs","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].FilterIDs","tag":"ActionFilterIDs","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Blocker","tag":"ActionBlocker","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].TTL","tag":"ActionTTL","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Type","tag":"ActionType","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Opts","tag":"ActionOpts","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.7:"],"new_branch":true,"path":"Actions[\u003c~*req.7\u003e].Diktats.Path","tag":"ActionPath","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.7:"],"path":"Actions[\u003c~*req.7\u003e].Diktats.Value","tag":"ActionValue","type":"*variable","value":"~*req.14"}],"file_name":"Actions.csv","flags":null,"type":"*action_profiles"},{"fields":[{"mandatory":true,"path":"Tenant","tag":"Tenant","type":"*variable","value":"~*req.0"},{"mandatory":true,"path":"ID","tag":"ID","type":"*variable","value":"~*req.1"},{"path":"FilterIDs","tag":"FilterIDs","type":"*variable","value":"~*req.2"},{"path":"Weights","tag":"Weights","type":"*variable","value":"~*req.3"},{"path":"Opts","tag":"Opts","type":"*variable","value":"~*req.4"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].FilterIDs","tag":"BalanceFilterIDs","type":"*variable","value":"~*req.6"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Weights","tag":"BalanceWeights","type":"*variable","value":"~*req.7"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Type","tag":"BalanceType","type":"*variable","value":"~*req.8"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Units","tag":"BalanceUnits","type":"*variable","value":"~*req.9"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].UnitFactors","tag":"BalanceUnitFactors","type":"*variable","value":"~*req.10"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].Opts","tag":"BalanceOpts","type":"*variable","value":"~*req.11"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].CostIncrements","tag":"BalanceCostIncrements","type":"*variable","value":"~*req.12"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].AttributeIDs","tag":"BalanceAttributeIDs","type":"*variable","value":"~*req.13"},{"filters":["*notempty:~*req.5:"],"path":"Balances[\u003c~*req.5\u003e].RateProfileIDs","tag":"BalanceRateProfileIDs","type":"*variable","value":"~*req.14"},{"path":"ThresholdIDs","tag":"ThresholdIDs","type":"*variable","value":"~*req.15"}],"file_name":"Accounts.csv","flags":null,"type":"*accounts"}],"enabled":false,"field_separator":",","id":"*default","lockfile_path":".cgr.lck","opts":{"*cache":"","*forceLock":false,"*stopOnError":false,"*withIndex":true},"run_delay":"0","tenant":"","tp_in_dir":"/var/spool/cgrates/loader/in","tp_out_dir":"/var/spool/cgrates/loader/out"}],"migrator":{"out_datadb_encoding":"msgpack","out_datadb_host":"127.0.0.1","out_datadb_name":"10","out_datadb_opts":{"mongoQueryTimeout":"0s","redisCACertificate":"","redisClientCertificate":"","redisClientKey":"","redisCluster":false,"redisClusterOndownDelay":"0s","redisClusterSync":"5s","redisSentinel":"","redisTLS":false},"out_datadb_password":"","out_datadb_port":"6379","out_datadb_type":"redis","out_datadb_user":"cgrates","users_filters":null},"radius_agent":{"client_dictionaries":{"*default":"/usr/share/cgrates/radius/dict/"},"client_secrets":{"*default":"CGRateS.org"},"enabled":false,"listen_acct":"127.0.0.1:1813","listen_auth":"127.0.0.1:1812","listen_net":"udp","request_processors":[],"sessions_conns":["*internal"]},"rates":{"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*intervalStart":[],"*profileIDs":[],"*profileIgnoreFilters":[],"*startTime":[],"*usage":[]},"prefix_indexed_fields":[],"rate_exists_indexed_fields":[],"rate_indexed_selects":true,"rate_nested_fields":false,"rate_notexists_indexed_fields":[],"rate_prefix_indexed_fields":[],"rate_suffix_indexed_fields":[],"suffix_indexed_fields":[],"verbosity":1000},"registrarc":{"dispatchers":{"hosts":[],"refresh_interval":"5m0s","registrars_conns":[]},"rpc":{"hosts":[],"refresh_interval":"5m0s","registrars_conns":[]}},"resources":{"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*units":[],"*usageID":[],"*usageTTL":[]},"prefix_indexed_fields":[],"store_interval":"","suffix_indexed_fields":[],"thresholds_conns":[]},"routes":{"accounts_conns":[],"attributes_conns":[],"default_ratio":1,"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*context":[],"*ignoreErrors":[],"*limit":[],"*maxCost":[],"*maxItems":[],"*offset":[],"*profileCount":[],"*usage":[]},"prefix_indexed_fields":[],"rates_conns":[],"resources_conns":[],"stats_conns":[],"suffix_indexed_fields":[]},"rpc_conns":{"*bijson_localhost":{"conns":[{"address":"127.0.0.1:2014","transport":"*birpc_json"}],"poolSize":0,"strategy":"*first"},"*birpc_internal":{"conns":[{"address":"*birpc_internal","transport":""}],"poolSize":0,"strategy":"*first"},"*internal":{"conns":[{"address":"*internal","transport":""}],"poolSize":0,"strategy":"*first"},"*localhost":{"conns":[{"address":"127.0.0.1:2012","transport":"*json"}],"poolSize":0,"strategy":"*first"}},"sessions":{"accounts_conns":[],"actions_conns":[],"alterable_fields":[],"attributes_conns":[],"cdrs_conns":[],"channel_sync_interval":"0","chargers_conns":[],"client_protocol":1,"default_usage":{"*any":"3h0m0s","*data":"1048576","*sms":"1","*voice":"3h0m0s"},"enabled":false,"listen_bigob":"","listen_bijson":"127.0.0.1:2014","min_dur_low_balance":"0","opts":{"*accountS":[],"*attributeS":[],"*attributesDerivedReply":[],"*blockerError":[],"*cdrS":[],"*cdrsDerivedReply":[],"*chargeable":[],"*chargerS":[],"*debitInterval":[],"*forceDuration":[],"*initiate":[],"*maxUsage":[],"*message":[],"*resourceS":[],"*resourcesAllocate":[],"*resourcesAuthorize":[],"*resourcesDerivedReply":[],"*resourcesRelease":[],"*routeS":[],"*routesDerivedReply":[],"*statS":[],"*statsDerivedReply":[],"*terminate":[],"*thresholdS":[],"*thresholdsDerivedReply":[],"*ttl":[],"*ttlLastUsage":[],"*ttlLastUsed":[],"*ttlMaxDelay":[],"*ttlUsage":[],"*update":[]},"rates_conns":[],"replication_conns":[],"resources_conns":[],"routes_conns":[],"session_indexes":[],"stats_conns":[],"stir":{"allowed_attest":["*any"],"default_attest":"A","payload_maxduration":"-1","privatekey_path":"","publickey_path":""},"store_session_costs":false,"terminate_attempts":5,"thresholds_conns":[]},"sip_agent":{"enabled":false,"listen":"127.0.0.1:5060","listen_net":"udp","request_processors":[],"retransmission_timer":"1s","sessions_conns":["*internal"],"timezone":""},"stats":{"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*profileIDs":[],"*profileIgnoreFilters":[],"*prometheusStatIDs":[],"*roundingDecimals":[]},"prefix_indexed_fields":[],"store_interval":"","store_uncompressed_limit":0,"suffix_indexed_fields":[],"thresholds_conns":[]},"suretax":{"bill_to_number":"","business_unit":"","client_number":"","client_tracking":"~*opts.*originID","customer_number":"~*req.Subject","include_local_cost":false,"orig_number":"~*req.Subject","p2pplus4":"","p2pzipcode":"","plus4":"","regulatory_code":"03","response_group":"03","response_type":"D4","return_file_code":"0","sales_type_code":"R","tax_exemption_code_list":"","tax_included":"0","tax_situs_rule":"04","term_number":"~*req.Destination","timezone":"UTC","trans_type_code":"010101","unit_type":"00","units":"1","url":"","validation_key":"","zipcode":""},"templates":{"*asr":[{"mandatory":true,"path":"*diamreq.Session-Id","tag":"SessionId","type":"*variable","value":"~*req.Session-Id"},{"mandatory":true,"path":"*diamreq.Origin-Host","tag":"OriginHost","type":"*variable","value":"~*req.Destination-Host"},{"mandatory":true,"path":"*diamreq.Origin-Realm","tag":"OriginRealm","type":"*variable","value":"~*req.Destination-Realm"},{"mandatory":true,"path":"*diamreq.Destination-Realm","tag":"DestinationRealm","type":"*variable","value":"~*req.Origin-Realm"},{"mandatory":true,"path":"*diamreq.Destination-Host","tag":"DestinationHost","type":"*variable","value":"~*req.Origin-Host"},{"mandatory":true,"path":"*diamreq.Auth-Application-Id","tag":"AuthApplicationId","type":"*variable","value":"~*vars.*appid"}],"*cca":[{"mandatory":true,"path":"*rep.Session-Id","tag":"SessionId","type":"*variable","value":"~*req.Session-Id"},{"path":"*rep.Result-Code","tag":"ResultCode","type":"*constant","value":"2001"},{"mandatory":true,"path":"*rep.Origin-Host","tag":"OriginHost","type":"*variable","value":"~*vars.OriginHost"},{"mandatory":true,"path":"*rep.Origin-Realm","tag":"OriginRealm","type":"*variable","value":"~*vars.OriginRealm"},{"mandatory":true,"path":"*rep.Auth-Application-Id","tag":"AuthApplicationId","type":"*variable","value":"~*vars.*appid"},{"mandatory":true,"path":"*rep.CC-Request-Type","tag":"CCRequestType","type":"*variable","value":"~*req.CC-Request-Type"},{"mandatory":true,"path":"*rep.CC-Request-Number","tag":"CCRequestNumber","type":"*variable","value":"~*req.CC-Request-Number"}],"*cdrLog":[{"mandatory":true,"path":"*cdr.ToR","tag":"ToR","type":"*variable","value":"~*req.BalanceType"},{"mandatory":true,"path":"*cdr.OriginHost","tag":"OriginHost","type":"*constant","value":"127.0.0.1"},{"mandatory":true,"path":"*cdr.RequestType","tag":"RequestType","type":"*constant","value":"*none"},{"mandatory":true,"path":"*cdr.Tenant","tag":"Tenant","type":"*variable","value":"~*req.Tenant"},{"mandatory":true,"path":"*cdr.Account","tag":"Account","type":"*variable","value":"~*req.Account"},{"mandatory":true,"path":"*cdr.Subject","tag":"Subject","type":"*variable","value":"~*req.Account"},{"mandatory":true,"path":"*cdr.Cost","tag":"Cost","type":"*variable","value":"~*req.Cost"},{"mandatory":true,"path":"*cdr.Source","tag":"Source","type":"*constant","value":"*cdrLog"},{"mandatory":true,"path":"*cdr.Usage","tag":"Usage","type":"*constant","value":"1"},{"mandatory":true,"path":"*cdr.RunID","tag":"RunID","type":"*variable","value":"~*req.ActionType"},{"mandatory":true,"path":"*cdr.SetupTime","tag":"SetupTime","type":"*constant","value":"*now"},{"mandatory":true,"path":"*cdr.AnswerTime","tag":"AnswerTime","type":"*constant","value":"*now"},{"mandatory":true,"path":"*cdr.PreRated","tag":"PreRated","type":"*constant","value":"true"}],"*err":[{"mandatory":true,"path":"*rep.Session-Id","tag":"SessionId","type":"*variable","value":"~*req.Session-Id"},{"mandatory":true,"path":"*rep.Origin-Host","tag":"OriginHost","type":"*variable","value":"~*vars.OriginHost"},{"mandatory":true,"path":"*rep.Origin-Realm","tag":"OriginRealm","type":"*variable","value":"~*vars.OriginRealm"}],"*errSip":[{"mandatory":true,"path":"*rep.Request","tag":"Request","type":"*constant","value":"SIP/2.0 500 Internal Server Error"}],"*rar":[{"mandatory":true,"path":"*diamreq.Session-Id","tag":"SessionId","type":"*variable","value":"~*req.Session-Id"},{"mandatory":true,"path":"*diamreq.Origin-Host","tag":"OriginHost","type":"*variable","value":"~*req.Destination-Host"},{"mandatory":true,"path":"*diamreq.Origin-Realm","tag":"OriginRealm","type":"*variable","value":"~*req.Destination-Realm"},{"mandatory":true,"path":"*diamreq.Destination-Realm","tag":"DestinationRealm","type":"*variable","value":"~*req.Origin-Realm"},{"mandatory":true,"path":"*diamreq.Destination-Host","tag":"DestinationHost","type":"*variable","value":"~*req.Origin-Host"},{"mandatory":true,"path":"*diamreq.Auth-Application-Id","tag":"AuthApplicationId","type":"*variable","value":"~*vars.*appid"},{"path":"*diamreq.Re-Auth-Request-Type","tag":"ReAuthRequestType","type":"*constant","value":"0"}]},"thresholds":{"actions_conns":[],"enabled":false,"exists_indexed_fields":[],"indexed_selects":true,"nested_fields":false,"notexists_indexed_fields":[],"opts":{"*profileIDs":[],"*profileIgnoreFilters":[]},"prefix_indexed_fields":[],"store_interval":"","suffix_indexed_fields":[]},"tls":{"ca_certificate":"","client_certificate":"","client_key":"","server_certificate":"","server_key":"","server_name":"","server_policy":4},"tpes":{"enabled":false}}` cgrCfg, err := NewCGRConfigFromJSONStringWithDefaults(cfgJSON) if err != nil { t.Fatal(err) diff --git a/data/conf/samples/acc_generaltest_internal/cgrates.json b/data/conf/samples/acc_generaltest_internal/cgrates.json index c7c6c170f..488781059 100644 --- a/data/conf/samples/acc_generaltest_internal/cgrates.json +++ b/data/conf/samples/acc_generaltest_internal/cgrates.json @@ -33,19 +33,6 @@ }, ], -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000 -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"] -}, - "cdrs": { "enabled": true, @@ -91,7 +78,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"] + "rates_conns": ["*internal"] }, @@ -100,7 +87,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"] }, @@ -108,7 +95,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, diff --git a/data/conf/samples/acc_generaltest_mongo/cgrates.json b/data/conf/samples/acc_generaltest_mongo/cgrates.json index 1667aae0b..cf2209c0e 100644 --- a/data/conf/samples/acc_generaltest_mongo/cgrates.json +++ b/data/conf/samples/acc_generaltest_mongo/cgrates.json @@ -21,9 +21,6 @@ "db_port": 27017, }, - - - "loaders": [ { "id": "*default", @@ -35,19 +32,6 @@ }, ], -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], -}, - "cdrs": { "enabled": true, @@ -94,7 +78,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -103,7 +87,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -119,7 +103,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/acc_generaltest_mysql/cgrates.json b/data/conf/samples/acc_generaltest_mysql/cgrates.json index a616172a2..987429378 100644 --- a/data/conf/samples/acc_generaltest_mysql/cgrates.json +++ b/data/conf/samples/acc_generaltest_mysql/cgrates.json @@ -21,8 +21,6 @@ "db_name": "10", // data_db database name to connect to }, - - "loaders": [ { "id": "*default", @@ -34,20 +32,6 @@ }, ], -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -93,7 +77,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -102,7 +86,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -115,7 +99,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/actions_internal/cgradmin.json b/data/conf/samples/actions_internal/cgradmin.json index 6637bb58d..db2363cb9 100644 --- a/data/conf/samples/actions_internal/cgradmin.json +++ b/data/conf/samples/actions_internal/cgradmin.json @@ -20,17 +20,6 @@ "db_type": "*internal", }, - -"rals": { - "enabled": true, // enable Rater service: - "stats_conns": ["*internal"], -}, - -"schedulers": { - "enabled": true, // start Scheduler service: - "cdrs_conns": ["*internal"], -}, - "cdrs": { "enabled": true, // start the CDR Server service: "chargers_conns":["*localhost"], @@ -108,7 +97,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], "ees_conns": ["*localhost"] }, diff --git a/data/conf/samples/actions_internal_gob/cgradmin.json b/data/conf/samples/actions_internal_gob/cgradmin.json index cc8af9d2f..9e0bc0e9a 100644 --- a/data/conf/samples/actions_internal_gob/cgradmin.json +++ b/data/conf/samples/actions_internal_gob/cgradmin.json @@ -28,17 +28,6 @@ "db_type": "*internal", }, - -"rals": { - "enabled": true, - "stats_conns": ["*internal"], -}, - -"schedulers": { - "enabled": true, - "cdrs_conns": ["conn1"], -}, - "cdrs": { "enabled": true, "chargers_conns":["conn1"], @@ -117,7 +106,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], "ees_conns": ["*localhost"] }, diff --git a/data/conf/samples/actions_mongo/cgradmin.json b/data/conf/samples/actions_mongo/cgradmin.json index d988a2673..43e7f55d6 100644 --- a/data/conf/samples/actions_mongo/cgradmin.json +++ b/data/conf/samples/actions_mongo/cgradmin.json @@ -23,18 +23,6 @@ "db_port": 27017, }, - - -"rals": { - "enabled": true, - "stats_conns": ["*internal"], -}, - -"schedulers": { - "enabled": true, // start Scheduler service: - "cdrs_conns": ["*internal"], -}, - "cdrs": { "enabled": true, // start the CDR Server service: "chargers_conns":["*localhost"], @@ -112,7 +100,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], "ees_conns": ["*localhost"] }, diff --git a/data/conf/samples/actions_mongo_gob/cgradmin.json b/data/conf/samples/actions_mongo_gob/cgradmin.json index f1c2f9455..0b85c2528 100644 --- a/data/conf/samples/actions_mongo_gob/cgradmin.json +++ b/data/conf/samples/actions_mongo_gob/cgradmin.json @@ -23,19 +23,6 @@ "db_port": 27017, }, - - - -"rals": { - "enabled": true, - "stats_conns": ["*internal"], -}, - -"schedulers": { - "enabled": true, // start Scheduler service: - "cdrs_conns": ["conn1"], -}, - "cdrs": { "enabled": true, // start the CDR Server service: "chargers_conns":["conn1"], @@ -113,7 +100,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], "ees_conns": ["*localhost"] }, diff --git a/data/conf/samples/actions_mysql/cgradmin.json b/data/conf/samples/actions_mysql/cgradmin.json index 0e1546ffd..cf6ff771d 100644 --- a/data/conf/samples/actions_mysql/cgradmin.json +++ b/data/conf/samples/actions_mysql/cgradmin.json @@ -23,17 +23,6 @@ "db_name": "10", }, - -"rals": { - "enabled": true, - "stats_conns": ["*internal"], -}, - -"schedulers": { - "enabled": true, // start Scheduler service: - "cdrs_conns": ["*internal"], -}, - "cdrs": { "enabled": true, // start the CDR Server service: "chargers_conns":["*localhost"], @@ -49,13 +38,11 @@ "store_interval": "1s", }, - "stats": { "enabled": true, "store_interval": "1s", }, - "ees": { "enabled": true, "exporters": [ @@ -111,7 +98,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], "ees_conns": ["*localhost"] }, diff --git a/data/conf/samples/actions_mysql_gob/cgradmin.json b/data/conf/samples/actions_mysql_gob/cgradmin.json index 0b276d154..f6b2c084f 100644 --- a/data/conf/samples/actions_mysql_gob/cgradmin.json +++ b/data/conf/samples/actions_mysql_gob/cgradmin.json @@ -30,18 +30,6 @@ "db_name": "10", }, - - -"rals": { - "enabled": true, // enable Rater service: - "stats_conns": ["conn1"], -}, - -"schedulers": { - "enabled": true, // start Scheduler service: - "cdrs_conns": ["conn1"], -}, - "cdrs": { "enabled": true, // start the CDR Server service: "chargers_conns":["conn1"], @@ -118,7 +106,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], "ees_conns": ["*localhost"] }, diff --git a/data/conf/samples/apis_chargers_internal/cgrates.json b/data/conf/samples/apis_chargers_internal/cgrates.json index 4725f48b5..092d1f9a5 100644 --- a/data/conf/samples/apis_chargers_internal/cgrates.json +++ b/data/conf/samples/apis_chargers_internal/cgrates.json @@ -20,23 +20,6 @@ "db_type": "*internal" }, - - - -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000 -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"] -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"] @@ -81,7 +64,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"] + "rates_conns": ["*internal"] }, @@ -90,7 +73,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"] }, @@ -98,7 +81,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, diff --git a/data/conf/samples/apis_chargers_mongo/cgrates.json b/data/conf/samples/apis_chargers_mongo/cgrates.json index b434e88b0..00297c5c2 100644 --- a/data/conf/samples/apis_chargers_mongo/cgrates.json +++ b/data/conf/samples/apis_chargers_mongo/cgrates.json @@ -21,24 +21,6 @@ "db_port": 27017, }, - - - - -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -84,7 +66,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -93,7 +75,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -110,7 +92,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/apis_chargers_mysql/cgrates.json b/data/conf/samples/apis_chargers_mysql/cgrates.json index 6e1fae6bc..4cdd2bdd7 100644 --- a/data/conf/samples/apis_chargers_mysql/cgrates.json +++ b/data/conf/samples/apis_chargers_mysql/cgrates.json @@ -21,22 +21,6 @@ "db_name": "10", // data_db database name to connect to }, - - -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -82,7 +66,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -91,21 +75,19 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, "migrator":{ - "users_filters":["Account"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/apis_config_mongo/cgrates.json b/data/conf/samples/apis_config_mongo/cgrates.json index 5be9e9da3..092e99e10 100644 --- a/data/conf/samples/apis_config_mongo/cgrates.json +++ b/data/conf/samples/apis_config_mongo/cgrates.json @@ -21,24 +21,6 @@ "db_port": 27017, }, - - - - - "rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, - }, - - - "schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], - }, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -84,7 +66,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -93,7 +75,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -103,14 +85,12 @@ "out_datadb_type": "mongo", "out_datadb_port": "27017", "out_datadb_name": "10", - "users_filters":["Account"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/apis_config_mysql/cgrates.json b/data/conf/samples/apis_config_mysql/cgrates.json index 6728b0101..c6dcca655 100644 --- a/data/conf/samples/apis_config_mysql/cgrates.json +++ b/data/conf/samples/apis_config_mysql/cgrates.json @@ -21,22 +21,6 @@ "db_name": "10", // data_db database name to connect to }, - - - "rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, - }, - - - "schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], - }, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -82,7 +66,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -91,7 +75,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -105,7 +89,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/attributesindexes_mysql/cgrates.json b/data/conf/samples/attributesindexes_mysql/cgrates.json index d0f46468d..e94ed7509 100644 --- a/data/conf/samples/attributesindexes_mysql/cgrates.json +++ b/data/conf/samples/attributesindexes_mysql/cgrates.json @@ -13,8 +13,6 @@ }, - - "admins": { "enabled": true, }, diff --git a/data/conf/samples/cache_replicate/dispatcher_engine/cgrates.json b/data/conf/samples/cache_replicate/dispatcher_engine/cgrates.json index 5cf08515c..7d0a191af 100644 --- a/data/conf/samples/cache_replicate/dispatcher_engine/cgrates.json +++ b/data/conf/samples/cache_replicate/dispatcher_engine/cgrates.json @@ -29,11 +29,6 @@ }, }, - -"schedulers": { - "enabled": true, -}, - "dispatchers":{ "enabled": true, @@ -42,7 +37,7 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], + }, diff --git a/data/conf/samples/cache_replicate/dispatcher_engine2/cgrates.json b/data/conf/samples/cache_replicate/dispatcher_engine2/cgrates.json index 90541db82..93f5a81a3 100644 --- a/data/conf/samples/cache_replicate/dispatcher_engine2/cgrates.json +++ b/data/conf/samples/cache_replicate/dispatcher_engine2/cgrates.json @@ -28,12 +28,6 @@ "*dispatcher_routes": {"limit": -1, "ttl": "1h"} }, }, - - -"schedulers": { - "enabled": true, -}, - "dispatchers":{ "enabled": true, @@ -42,7 +36,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/cache_replicate/engine1/cgrates.json b/data/conf/samples/cache_replicate/engine1/cgrates.json index abb694cb2..ae7e2ef65 100644 --- a/data/conf/samples/cache_replicate/engine1/cgrates.json +++ b/data/conf/samples/cache_replicate/engine1/cgrates.json @@ -32,15 +32,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -50,7 +41,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/cache_rpl_active_active/dispatcher_engine/cgrates.json b/data/conf/samples/cache_rpl_active_active/dispatcher_engine/cgrates.json index 6f33bf860..06d8850af 100644 --- a/data/conf/samples/cache_rpl_active_active/dispatcher_engine/cgrates.json +++ b/data/conf/samples/cache_rpl_active_active/dispatcher_engine/cgrates.json @@ -28,13 +28,7 @@ "cacheReplication": { "conns": [{"address": "127.0.0.1:3013", "transport":"*gob"}], }, -}, - - -"schedulers": { - "enabled": true, -}, - +}, "dispatchers":{ "enabled": true, @@ -43,7 +37,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/cache_rpl_active_active/dispatcher_engine2/cgrates.json b/data/conf/samples/cache_rpl_active_active/dispatcher_engine2/cgrates.json index 902c78eb7..0ec3b7a0d 100644 --- a/data/conf/samples/cache_rpl_active_active/dispatcher_engine2/cgrates.json +++ b/data/conf/samples/cache_rpl_active_active/dispatcher_engine2/cgrates.json @@ -20,9 +20,6 @@ "db_name": "11", }, - - - "caches":{ "partitions": { "*dispatcher_routes": {"limit": -1, "ttl": "1h", "replicate": true}, @@ -37,11 +34,6 @@ "conns": [{"address": "127.0.0.1:2013", "transport":"*gob"}], }, }, - - -"schedulers": { - "enabled": true, -}, "dispatchers":{ @@ -51,7 +43,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/cache_rpl_active_active/engine1/cgrates.json b/data/conf/samples/cache_rpl_active_active/engine1/cgrates.json index abb694cb2..ae7e2ef65 100644 --- a/data/conf/samples/cache_rpl_active_active/engine1/cgrates.json +++ b/data/conf/samples/cache_rpl_active_active/engine1/cgrates.json @@ -32,15 +32,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -50,7 +41,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/cdrsonexpmaster_mongo/cdrsreplicationmaster.json b/data/conf/samples/cdrsonexpmaster_mongo/cdrsreplicationmaster.json index 43793389a..a88e74a3c 100644 --- a/data/conf/samples/cdrsonexpmaster_mongo/cdrsreplicationmaster.json +++ b/data/conf/samples/cdrsonexpmaster_mongo/cdrsreplicationmaster.json @@ -16,16 +16,10 @@ "db_port": 27017, }, - - -"rals": { - "enabled": true, // enable Rater service: -}, - "cdrs": { "enabled": true, // start the CDR Server service: "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "online_cdr_exports": ["http_localhost", "amqp_localhost", "http_test_file", "kafka_localhost", "eventcost_filter"], "ees_conns": ["*localhost"] }, @@ -134,6 +128,9 @@ ], }, +"rates": { + "enabled": true, +}, "admins": { "enabled": true, diff --git a/data/conf/samples/cdrsonexpmaster_mysql/cdrsreplicationmaster.json b/data/conf/samples/cdrsonexpmaster_mysql/cdrsreplicationmaster.json index d4c0e6940..4f82d86dd 100644 --- a/data/conf/samples/cdrsonexpmaster_mysql/cdrsreplicationmaster.json +++ b/data/conf/samples/cdrsonexpmaster_mysql/cdrsreplicationmaster.json @@ -16,16 +16,10 @@ "db_name": "10", }, - - -"rals": { - "enabled": true, // enable Rater service: -}, - "cdrs": { "enabled": true, // start the CDR Server service: "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "online_cdr_exports": ["http_localhost", "amqp_localhost", "http_test_file", "kafka_localhost", "eventcost_filter"], "ees_conns": ["*localhost"] }, @@ -134,6 +128,10 @@ ], }, +"rates": { + "enabled": true, +}, + "admins": { "enabled": true, diff --git a/data/conf/samples/cdrsonexpslave_mongo/cdrsreplicationslave.json b/data/conf/samples/cdrsonexpslave_mongo/cdrsreplicationslave.json index 0f6fba9c2..5721b9b41 100644 --- a/data/conf/samples/cdrsonexpslave_mongo/cdrsreplicationslave.json +++ b/data/conf/samples/cdrsonexpslave_mongo/cdrsreplicationslave.json @@ -14,22 +14,22 @@ "db_type": "mongo", "db_name": "10", "db_port": 27017, - - -"rals": { - "enabled": true, // enable Rater service: }, "cdrs": { "enabled": true, // start the CDR Server service: "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "chargers": { "enabled": true, }, +"rates": { + "enabled": true, +}, + "admins": { "enabled": true, diff --git a/data/conf/samples/cdrsonexpslave_mysql/cdrsreplicationslave.json b/data/conf/samples/cdrsonexpslave_mysql/cdrsreplicationslave.json index c0bf18e37..4e5ce0023 100644 --- a/data/conf/samples/cdrsonexpslave_mysql/cdrsreplicationslave.json +++ b/data/conf/samples/cdrsonexpslave_mysql/cdrsreplicationslave.json @@ -16,16 +16,14 @@ "db_name": "10", }, - - -"rals": { - "enabled": true, // enable Rater service: +"rates": { + "enabled": true, }, "cdrs": { "enabled": true, // start the CDR Server service: "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "chargers": { diff --git a/data/conf/samples/cdrsv1processevent/cgrates.json b/data/conf/samples/cdrsv1processevent/cgrates.json index 22080ebf3..b145dfe5d 100644 --- a/data/conf/samples/cdrsv1processevent/cgrates.json +++ b/data/conf/samples/cdrsv1processevent/cgrates.json @@ -53,19 +53,9 @@ "store_interval": "-1", }, -"rals": { - "enabled": true -}, - - -"schedulers": { - "enabled": true -}, - - "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "attributes_conns": ["*internal"], "chargers_conns": ["*internal"], "stats_conns": ["*internal"], @@ -77,7 +67,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "caches":{ diff --git a/data/conf/samples/cdrsv1processeventmongo/cgrates.json b/data/conf/samples/cdrsv1processeventmongo/cgrates.json index 8e755893f..9e9ae5a99 100644 --- a/data/conf/samples/cdrsv1processeventmongo/cgrates.json +++ b/data/conf/samples/cdrsv1processeventmongo/cgrates.json @@ -54,19 +54,10 @@ "store_interval": "-1", }, -"rals": { - "enabled": true -}, - - -"schedulers": { - "enabled": true -}, - "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "attributes_conns": ["*internal"], "chargers_conns": ["*internal"], "stats_conns": ["*internal"], @@ -78,7 +69,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "caches":{ diff --git a/data/conf/samples/cdrsv1processeventmysql/cgrates.json b/data/conf/samples/cdrsv1processeventmysql/cgrates.json index a5efc3502..f14ee9a38 100644 --- a/data/conf/samples/cdrsv1processeventmysql/cgrates.json +++ b/data/conf/samples/cdrsv1processeventmysql/cgrates.json @@ -15,8 +15,6 @@ "db_name": "10", // data_db database name to connect to }, - - "attributes": { "enabled": true, }, @@ -54,19 +52,9 @@ "store_interval": "-1", }, -"rals": { - "enabled": true -}, - - -"schedulers": { - "enabled": true -}, - - "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "attributes_conns": ["*internal"], "chargers_conns": ["*internal"], "stats_conns": ["*internal"], diff --git a/data/conf/samples/cdrsv2internal/cgrates.json b/data/conf/samples/cdrsv2internal/cgrates.json index ee6175dde..792381f07 100644 --- a/data/conf/samples/cdrsv2internal/cgrates.json +++ b/data/conf/samples/cdrsv2internal/cgrates.json @@ -7,11 +7,6 @@ "enabled": true }, - "schedulers": { - "enabled": true, - "thresholds_conns": ["*localhost"] - }, - "cdrs": { "enabled": true, "attributes_conns":["*internal"], @@ -19,7 +14,6 @@ "rates_conns": ["*localhost"], "stats_conns": ["*localhost"], "thresholds_conns": ["*localhost"], - "scheduler_conns": ["*localhost"] }, "attributes": { @@ -45,7 +39,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, "actions": { diff --git a/data/conf/samples/cdrsv2internal_gob/cgrates.json b/data/conf/samples/cdrsv2internal_gob/cgrates.json index 60bfe5d3f..27493d40f 100644 --- a/data/conf/samples/cdrsv2internal_gob/cgrates.json +++ b/data/conf/samples/cdrsv2internal_gob/cgrates.json @@ -15,11 +15,6 @@ "enabled": true }, - "schedulers": { - "enabled": true, - "thresholds_conns": ["conn1"] - }, - "cdrs": { "enabled": true, "attributes_conns":["*internal"], @@ -27,7 +22,6 @@ "rates_conns": ["conn1"], "stats_conns": ["conn1"], "thresholds_conns": ["conn1"], - "scheduler_conns": ["conn1"] }, "attributes": { @@ -53,7 +47,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, "actions": { diff --git a/data/conf/samples/cdrsv2mongo/cgrates.json b/data/conf/samples/cdrsv2mongo/cgrates.json index cb67d743c..df012a37e 100644 --- a/data/conf/samples/cdrsv2mongo/cgrates.json +++ b/data/conf/samples/cdrsv2mongo/cgrates.json @@ -7,11 +7,6 @@ "enabled": true }, - "schedulers": { - "enabled": true, - "thresholds_conns": ["*localhost"] - }, - "cdrs": { "enabled": true, "attributes_conns":["*internal"], @@ -19,7 +14,6 @@ "rates_conns": ["*localhost"], "stats_conns": ["*localhost"], "thresholds_conns": ["*localhost"], - "scheduler_conns": ["*localhost"] }, "attributes": { @@ -45,7 +39,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, "actions": { diff --git a/data/conf/samples/cdrsv2mongo_gob/cgrates.json b/data/conf/samples/cdrsv2mongo_gob/cgrates.json index e05b0475a..e0bb5f069 100644 --- a/data/conf/samples/cdrsv2mongo_gob/cgrates.json +++ b/data/conf/samples/cdrsv2mongo_gob/cgrates.json @@ -16,11 +16,6 @@ "enabled": true }, - "schedulers": { - "enabled": true, - "thresholds_conns": ["*localhost"] - }, - "cdrs": { "enabled": true, "attributes_conns":["*internal"], @@ -28,7 +23,6 @@ "rates_conns": ["conn1"], "stats_conns": ["conn1"], "thresholds_conns": ["conn1"], - "scheduler_conns": ["conn1"] }, "attributes": { @@ -53,7 +47,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, "actions": { diff --git a/data/conf/samples/cdrsv2mysql/cdrsv2mysql.json b/data/conf/samples/cdrsv2mysql/cdrsv2mysql.json index cb67d743c..df012a37e 100644 --- a/data/conf/samples/cdrsv2mysql/cdrsv2mysql.json +++ b/data/conf/samples/cdrsv2mysql/cdrsv2mysql.json @@ -7,11 +7,6 @@ "enabled": true }, - "schedulers": { - "enabled": true, - "thresholds_conns": ["*localhost"] - }, - "cdrs": { "enabled": true, "attributes_conns":["*internal"], @@ -19,7 +14,6 @@ "rates_conns": ["*localhost"], "stats_conns": ["*localhost"], "thresholds_conns": ["*localhost"], - "scheduler_conns": ["*localhost"] }, "attributes": { @@ -45,7 +39,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, "actions": { diff --git a/data/conf/samples/cdrsv2mysql_gob/cdrsv2mysql.json b/data/conf/samples/cdrsv2mysql_gob/cdrsv2mysql.json index 251bc0f5f..77ad36ea4 100644 --- a/data/conf/samples/cdrsv2mysql_gob/cdrsv2mysql.json +++ b/data/conf/samples/cdrsv2mysql_gob/cdrsv2mysql.json @@ -17,7 +17,6 @@ "schedulers": { "enabled": true, - "thresholds_conns": ["*localhost"] }, "cdrs": { @@ -53,7 +52,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, "actions": { diff --git a/data/conf/samples/cdrsv2psql/cdrsv2psql.json b/data/conf/samples/cdrsv2psql/cdrsv2psql.json index 76456a8c9..7e8fa3a2b 100644 --- a/data/conf/samples/cdrsv2psql/cdrsv2psql.json +++ b/data/conf/samples/cdrsv2psql/cdrsv2psql.json @@ -9,22 +9,11 @@ }, -"rals": { - "enabled": true, - "thresholds_conns": ["*localhost"], - "dynaprepaid_actionplans": ["PACKAGE_1001"], -}, - -"schedulers": { - "enabled": true, - "thresholds_conns": ["*localhost"], -}, - "cdrs": { "enabled": true, "attributes_conns":["*internal"], "chargers_conns":["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "stats_conns": ["*localhost"], "thresholds_conns": ["*localhost"], "scheduler_conns": ["*localhost"], @@ -52,7 +41,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/cdrsv_failover_internal/cgrates.json b/data/conf/samples/cdrsv_failover_internal/cgrates.json index 73ae60c03..18010967f 100644 --- a/data/conf/samples/cdrsv_failover_internal/cgrates.json +++ b/data/conf/samples/cdrsv_failover_internal/cgrates.json @@ -8,21 +8,15 @@ "failed_posts_dir": "/tmp/failed_posts" }, - - "rals": { - "enabled": true, - "thresholds_conns": ["*localhost"] - }, - - "schedulers": { - "enabled": true + "rates": { + "enabled": true, }, "cdrs": { "enabled": true, "attributes_conns":["*internal"], "chargers_conns":["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "stats_conns": ["*localhost"], "thresholds_conns": ["*localhost"], "online_cdr_exports": ["s3_test_file"], @@ -51,7 +45,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, "ees": { diff --git a/data/conf/samples/cdrsv_failover_mongo/cgrates.json b/data/conf/samples/cdrsv_failover_mongo/cgrates.json index ecaac4250..bea0eb49e 100644 --- a/data/conf/samples/cdrsv_failover_mongo/cgrates.json +++ b/data/conf/samples/cdrsv_failover_mongo/cgrates.json @@ -13,22 +13,11 @@ "db_port": 27017 }, - - - "rals": { - "enabled": true, - "thresholds_conns": ["*localhost"] - }, - - "schedulers": { - "enabled": true - }, - "cdrs": { "enabled": true, "attributes_conns":["*internal"], "chargers_conns":["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "stats_conns": ["*localhost"], "thresholds_conns": ["*localhost"], "online_cdr_exports": ["s3_test_file"], @@ -57,7 +46,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, @@ -84,6 +72,10 @@ ] }, + "rates": { + "enabled": true, + }, + "loaders": [ { "id": "*default", diff --git a/data/conf/samples/cdrsv_failover_mysql/cgrates.json b/data/conf/samples/cdrsv_failover_mysql/cgrates.json index 778d6f280..c70ada509 100644 --- a/data/conf/samples/cdrsv_failover_mysql/cgrates.json +++ b/data/conf/samples/cdrsv_failover_mysql/cgrates.json @@ -18,22 +18,11 @@ "db_name": "10" // data_db database name to connect to }, - - -"rals": { - "enabled": true, // enable Rater service: - "thresholds_conns": ["*localhost"] -}, - -"schedulers": { - "enabled": true -}, - "cdrs": { "enabled": true, "attributes_conns":["*internal"], "chargers_conns":["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "stats_conns": ["*localhost"], "thresholds_conns": ["*localhost"], "online_cdr_exports": ["s3_test_file"], @@ -62,7 +51,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, "ees": { @@ -91,6 +79,10 @@ ] }, +"rates": { + "enabled": true, +}, + "loaders": [ { "id": "*default", @@ -100,7 +92,7 @@ "tp_in_dir": "/usr/share/cgrates/tariffplans/testit", "tp_out_dir": "" } -] +], -}, +} diff --git a/data/conf/samples/cluelrn/cgrates.json b/data/conf/samples/cluelrn/cgrates.json index aaf9824e3..54fe88a8d 100644 --- a/data/conf/samples/cluelrn/cgrates.json +++ b/data/conf/samples/cluelrn/cgrates.json @@ -23,18 +23,6 @@ }, - - -"rals": { - "enabled": true, -}, - - -"schedulers": { - "enabled": true, -}, - - "cdrs": { "enabled": true, }, @@ -58,7 +46,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagent_internal/cgrates.json b/data/conf/samples/diamagent_internal/cgrates.json index 468b06947..78911d4f8 100644 --- a/data/conf/samples/diamagent_internal/cgrates.json +++ b/data/conf/samples/diamagent_internal/cgrates.json @@ -19,15 +19,6 @@ "db_type": "*internal", }, - -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "cdrs": { "enabled": true, }, @@ -41,12 +32,15 @@ "attributes_conns": ["*internal"], }, +"rates": { + "enabled": true, +}, "sessions": { "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -59,7 +53,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagent_internal_gobbirpc/cgrates.json b/data/conf/samples/diamagent_internal_gobbirpc/cgrates.json index 3c560955b..9506ee5ba 100644 --- a/data/conf/samples/diamagent_internal_gobbirpc/cgrates.json +++ b/data/conf/samples/diamagent_internal_gobbirpc/cgrates.json @@ -26,14 +26,6 @@ }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "cdrs": { "enabled": true, }, @@ -47,13 +39,16 @@ "attributes_conns": ["*internal"], }, +"rates": { + "enabled": true, +}, "sessions": { "enabled": true, "listen_bigob": "127.0.0.1:2015", "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -67,7 +62,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagent_internal_jsonbirpc/cgrates.json b/data/conf/samples/diamagent_internal_jsonbirpc/cgrates.json index bbab2e227..ca061c7d9 100644 --- a/data/conf/samples/diamagent_internal_jsonbirpc/cgrates.json +++ b/data/conf/samples/diamagent_internal_jsonbirpc/cgrates.json @@ -25,16 +25,6 @@ "db_type": "*internal", }, - - -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "cdrs": { "enabled": true, }, @@ -48,12 +38,16 @@ "attributes_conns": ["*internal"], }, +"rates": { + "enabled": true, +}, + "sessions": { "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -67,7 +61,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagent_mongo/cgrates.json b/data/conf/samples/diamagent_mongo/cgrates.json index ded18d283..6335ec168 100644 --- a/data/conf/samples/diamagent_mongo/cgrates.json +++ b/data/conf/samples/diamagent_mongo/cgrates.json @@ -22,15 +22,6 @@ "db_password": "", }, - -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "cdrs": { "enabled": true, }, @@ -39,6 +30,11 @@ "enabled": true, }, +"rates": { + "enabled": true, +}, + + "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -49,7 +45,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -62,7 +58,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagent_mongo_gobbirpc/cgrates.json b/data/conf/samples/diamagent_mongo_gobbirpc/cgrates.json index 8c8ef85d8..a29183888 100644 --- a/data/conf/samples/diamagent_mongo_gobbirpc/cgrates.json +++ b/data/conf/samples/diamagent_mongo_gobbirpc/cgrates.json @@ -29,14 +29,6 @@ }, }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "cdrs": { "enabled": true, }, @@ -50,13 +42,16 @@ "attributes_conns": ["*internal"], }, +"rates": { + "enabled": true, +}, "sessions": { "enabled": true, "listen_bigob": "127.0.0.1:2015", "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -70,7 +65,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagent_mongo_jsonbirpc/cgrates.json b/data/conf/samples/diamagent_mongo_jsonbirpc/cgrates.json index d4248c608..0f82c45c3 100644 --- a/data/conf/samples/diamagent_mongo_jsonbirpc/cgrates.json +++ b/data/conf/samples/diamagent_mongo_jsonbirpc/cgrates.json @@ -29,13 +29,10 @@ }, }, -"rals": { +"rates": { "enabled": true, }, -"schedulers": { - "enabled": true, -}, "cdrs": { "enabled": true, @@ -55,7 +52,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -69,7 +66,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagent_mysql/cgrates.json b/data/conf/samples/diamagent_mysql/cgrates.json index 330871bf6..6adad0010 100644 --- a/data/conf/samples/diamagent_mysql/cgrates.json +++ b/data/conf/samples/diamagent_mysql/cgrates.json @@ -21,13 +21,7 @@ "db_name": "10", // data_db database name to connect to }, - - -"rals": { - "enabled": true, -}, - -"schedulers": { +"rates": { "enabled": true, }, @@ -49,7 +43,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -62,7 +56,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagent_mysql_gobbirpc/cgrates.json b/data/conf/samples/diamagent_mysql_gobbirpc/cgrates.json index e1984da55..f393b4df5 100644 --- a/data/conf/samples/diamagent_mysql_gobbirpc/cgrates.json +++ b/data/conf/samples/diamagent_mysql_gobbirpc/cgrates.json @@ -29,13 +29,10 @@ }, }, -"rals": { +"rates": { "enabled": true, }, -"schedulers": { - "enabled": true, -}, "cdrs": { "enabled": true, @@ -56,7 +53,7 @@ "listen_bigob": "127.0.0.1:2015", "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -70,7 +67,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagent_mysql_jsonbirpc/cgrates.json b/data/conf/samples/diamagent_mysql_jsonbirpc/cgrates.json index ef635439e..23dfea207 100644 --- a/data/conf/samples/diamagent_mysql_jsonbirpc/cgrates.json +++ b/data/conf/samples/diamagent_mysql_jsonbirpc/cgrates.json @@ -29,11 +29,7 @@ }, }, -"rals": { - "enabled": true, -}, - -"schedulers": { +"rates": { "enabled": true, }, @@ -55,7 +51,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -69,7 +65,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagentmaxconn_internal/cgrates.json b/data/conf/samples/diamagentmaxconn_internal/cgrates.json index a3984e5cc..08b88acaa 100755 --- a/data/conf/samples/diamagentmaxconn_internal/cgrates.json +++ b/data/conf/samples/diamagentmaxconn_internal/cgrates.json @@ -18,14 +18,7 @@ "db_type": "*internal", }, - - - -"rals": { - "enabled": true, -}, - -"schedulers": { +"rates": { "enabled": true, }, @@ -47,7 +40,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -68,7 +61,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagentmaxconn_mongo/cgrates.json b/data/conf/samples/diamagentmaxconn_mongo/cgrates.json index b0040712a..808404544 100755 --- a/data/conf/samples/diamagentmaxconn_mongo/cgrates.json +++ b/data/conf/samples/diamagentmaxconn_mongo/cgrates.json @@ -21,15 +21,10 @@ "db_password": "", }, - - -"rals": { +"rates": { "enabled": true, }, -"schedulers": { - "enabled": true, -}, "cdrs": { "enabled": true, @@ -49,7 +44,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -70,7 +65,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamagentmaxconn_mysql/cgrates.json b/data/conf/samples/diamagentmaxconn_mysql/cgrates.json index bd5e54d1e..af047db59 100755 --- a/data/conf/samples/diamagentmaxconn_mysql/cgrates.json +++ b/data/conf/samples/diamagentmaxconn_mysql/cgrates.json @@ -20,13 +20,7 @@ "db_name": "10", // data_db database name to connect to }, - - -"rals": { - "enabled": true, -}, - -"schedulers": { +"rates": { "enabled": true, }, @@ -48,7 +42,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -69,7 +63,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamsctpagent_internal/cgrates.json b/data/conf/samples/diamsctpagent_internal/cgrates.json index 72a9afb45..a92a4a791 100755 --- a/data/conf/samples/diamsctpagent_internal/cgrates.json +++ b/data/conf/samples/diamsctpagent_internal/cgrates.json @@ -19,15 +19,7 @@ "db_type": "*internal", }, - - - - -"rals": { - "enabled": true, -}, - -"schedulers": { +"rates": { "enabled": true, }, @@ -49,7 +41,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -63,7 +55,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamsctpagent_mongo/cgrates.json b/data/conf/samples/diamsctpagent_mongo/cgrates.json index 71b86277a..2abf2827a 100755 --- a/data/conf/samples/diamsctpagent_mongo/cgrates.json +++ b/data/conf/samples/diamsctpagent_mongo/cgrates.json @@ -22,14 +22,10 @@ "db_password": "", }, - -"rals": { +"rates": { "enabled": true, }, -"schedulers": { - "enabled": true, -}, "cdrs": { "enabled": true, @@ -49,7 +45,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -63,7 +59,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/diamsctpagent_mysql/cgrates.json b/data/conf/samples/diamsctpagent_mysql/cgrates.json index 010e84d8f..ccab8c9ac 100755 --- a/data/conf/samples/diamsctpagent_mysql/cgrates.json +++ b/data/conf/samples/diamsctpagent_mysql/cgrates.json @@ -21,15 +21,10 @@ "db_name": "10", // data_db database name to connect to }, - - -"rals": { +"rates": { "enabled": true, }, -"schedulers": { - "enabled": true, -}, "cdrs": { "enabled": true, @@ -49,7 +44,7 @@ "enabled": true, "attributes_conns": ["*localhost"], "chargers_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, @@ -63,7 +58,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/dispatchers/all/cgrates.json b/data/conf/samples/dispatchers/all/cgrates.json index dca8611c1..a5bd481f4 100644 --- a/data/conf/samples/dispatchers/all/cgrates.json +++ b/data/conf/samples/dispatchers/all/cgrates.json @@ -38,13 +38,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, "chargers": { "enabled": true, @@ -88,7 +81,7 @@ "cdrs": { "enabled": true, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { @@ -97,7 +90,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "chargers_conns": ["*internal"], "cdrs_conns": ["*internal"], }, @@ -105,7 +98,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/dispatchers/all2/cgrates.json b/data/conf/samples/dispatchers/all2/cgrates.json index 889d7bea1..58b7265a2 100644 --- a/data/conf/samples/dispatchers/all2/cgrates.json +++ b/data/conf/samples/dispatchers/all2/cgrates.json @@ -34,14 +34,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -84,7 +76,7 @@ "cdrs": { "enabled": true, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { @@ -93,7 +85,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -101,7 +93,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/dispatchers/all2_mongo/cgrates.json b/data/conf/samples/dispatchers/all2_mongo/cgrates.json index b4bd14cc9..3906c836d 100644 --- a/data/conf/samples/dispatchers/all2_mongo/cgrates.json +++ b/data/conf/samples/dispatchers/all2_mongo/cgrates.json @@ -34,14 +34,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -84,7 +76,7 @@ "cdrs": { "enabled": true, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { @@ -93,7 +85,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -101,7 +93,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/dispatchers/all2_mysql/cgrates.json b/data/conf/samples/dispatchers/all2_mysql/cgrates.json index e67d8df0a..d6f450cd0 100644 --- a/data/conf/samples/dispatchers/all2_mysql/cgrates.json +++ b/data/conf/samples/dispatchers/all2_mysql/cgrates.json @@ -34,14 +34,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -84,7 +76,7 @@ "cdrs": { "enabled": true, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { @@ -93,7 +85,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -101,7 +93,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/dispatchers/all_mongo/cgrates.json b/data/conf/samples/dispatchers/all_mongo/cgrates.json index 0fea64575..3ea0e1ebc 100644 --- a/data/conf/samples/dispatchers/all_mongo/cgrates.json +++ b/data/conf/samples/dispatchers/all_mongo/cgrates.json @@ -22,9 +22,6 @@ }, - - - "rpc_conns": { "conn1": { "strategy": "*first", @@ -40,14 +37,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -90,7 +79,7 @@ "cdrs": { "enabled": true, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { @@ -99,7 +88,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "chargers_conns": ["*internal"], "cdrs_conns": ["*internal"], }, @@ -107,7 +96,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/dispatchers/all_mysql/cgrates.json b/data/conf/samples/dispatchers/all_mysql/cgrates.json index 0e6cf3902..4d7894b64 100644 --- a/data/conf/samples/dispatchers/all_mysql/cgrates.json +++ b/data/conf/samples/dispatchers/all_mysql/cgrates.json @@ -22,8 +22,6 @@ }, - - "rpc_conns": { "conn1": { "strategy": "*first", @@ -40,14 +38,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -90,7 +80,7 @@ "cdrs": { "enabled": true, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { @@ -99,7 +89,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "chargers_conns": ["*internal"], "cdrs_conns": ["*internal"], }, @@ -107,7 +97,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/dispatchers/diamagent/cgrates.json b/data/conf/samples/dispatchers/diamagent/cgrates.json index 832695350..071422a23 100644 --- a/data/conf/samples/dispatchers/diamagent/cgrates.json +++ b/data/conf/samples/dispatchers/diamagent/cgrates.json @@ -29,14 +29,6 @@ "enabled": true }, -"schedulers": { - "enabled": true -}, - -"rals": { - "enabled": true -}, - "dispatchers":{ "enabled": true, "attributes_conns": ["*internal"] @@ -52,6 +44,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] } } diff --git a/data/conf/samples/dispatchers/dispatchers_internal/cgrates.json b/data/conf/samples/dispatchers/dispatchers_internal/cgrates.json index 2f5a12892..7bca2581d 100644 --- a/data/conf/samples/dispatchers/dispatchers_internal/cgrates.json +++ b/data/conf/samples/dispatchers/dispatchers_internal/cgrates.json @@ -18,26 +18,17 @@ "db_type": "*internal", }, - - - "caches":{ "partitions": { "*dispatcher_routes": {"limit": -1, "ttl": "2s"} }, }, - -"schedulers": { - "enabled": true, -}, - - "attributes": { "enabled": true }, - -"rals": { + +"rates": { "enabled": true, }, @@ -50,7 +41,7 @@ "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "resources_conns": ["*localhost"], "chargers_conns": ["*localhost"], "listen_bijson": ":3014", @@ -58,14 +49,13 @@ "dispatchers":{ - "enabled": true, - "attributes_conns": ["*internal"], + "enabled": true, + "attributes_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/dispatchers/dispatchers_internal_gob/cgrates.json b/data/conf/samples/dispatchers/dispatchers_internal_gob/cgrates.json index 238b8c7be..26e788f6d 100644 --- a/data/conf/samples/dispatchers/dispatchers_internal_gob/cgrates.json +++ b/data/conf/samples/dispatchers/dispatchers_internal_gob/cgrates.json @@ -24,24 +24,17 @@ "db_type": "*internal", }, - - - "caches":{ "partitions": { "*dispatcher_routes": {"limit": -1, "ttl": "2s"} }, }, - "schedulers": { - "enabled": true, - }, - "attributes": { "enabled": true }, - "rals": { + "rates": { "enabled": true, }, @@ -60,7 +53,7 @@ "sessions": { "enabled": true, "attributes_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "resources_conns": ["conn1"], "chargers_conns": ["conn1"], "listen_bijson": ":3014", @@ -75,6 +68,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/dispatchers/dispatchers_mongo/cgrates.json b/data/conf/samples/dispatchers/dispatchers_mongo/cgrates.json index 122128164..7e78df9b0 100644 --- a/data/conf/samples/dispatchers/dispatchers_mongo/cgrates.json +++ b/data/conf/samples/dispatchers/dispatchers_mongo/cgrates.json @@ -34,18 +34,14 @@ }, }, -"schedulers": { - "enabled": true, +"rates": { + "enabled": true, }, "attributes": { "enabled": true }, -"rals": { - "enabled": true, -}, - "chargers": { "enabled": true, @@ -54,7 +50,7 @@ "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "resources_conns": ["*localhost"], "chargers_conns": ["*localhost"], "listen_bijson": ":3014", @@ -69,6 +65,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/dispatchers/dispatchers_mongo_gob/cgrates.json b/data/conf/samples/dispatchers/dispatchers_mongo_gob/cgrates.json index 3b8189e51..8a137a62d 100644 --- a/data/conf/samples/dispatchers/dispatchers_mongo_gob/cgrates.json +++ b/data/conf/samples/dispatchers/dispatchers_mongo_gob/cgrates.json @@ -34,18 +34,15 @@ }, }, -"schedulers": { - "enabled": true, +"rates": { + "enabled": true, }, + "attributes": { "enabled": true }, -"rals": { - "enabled": true, -}, - "chargers": { "enabled": true, @@ -61,7 +58,7 @@ "sessions": { "enabled": true, "attributes_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "resources_conns": ["conn1"], "chargers_conns": ["conn1"], "listen_bijson": ":3014", @@ -76,6 +73,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/dispatchers/dispatchers_mysql/cgrates.json b/data/conf/samples/dispatchers/dispatchers_mysql/cgrates.json index 2bdd8a72a..c76c04322 100755 --- a/data/conf/samples/dispatchers/dispatchers_mysql/cgrates.json +++ b/data/conf/samples/dispatchers/dispatchers_mysql/cgrates.json @@ -26,19 +26,10 @@ }, }, - "attributes": { "enabled": true }, -"schedulers": { - "enabled": true, -}, - -"rals": { - "enabled": true, -}, - "chargers": { "enabled": true, }, @@ -46,7 +37,7 @@ "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "resources_conns": ["*localhost"], "chargers_conns": ["*localhost"], "listen_bijson": ":3014", @@ -59,6 +50,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/dispatchers/dispatchers_mysql_gob/cgrates.json b/data/conf/samples/dispatchers/dispatchers_mysql_gob/cgrates.json index 5b47235cb..38a8d55de 100755 --- a/data/conf/samples/dispatchers/dispatchers_mysql_gob/cgrates.json +++ b/data/conf/samples/dispatchers/dispatchers_mysql_gob/cgrates.json @@ -35,18 +35,10 @@ }, }, - "schedulers": { - "enabled": true, - }, - "attributes": { "enabled": true }, - - "rals": { - "enabled": true, - }, - + "chargers": { "enabled": true, @@ -62,7 +54,7 @@ "sessions": { "enabled": true, "attributes_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "resources_conns": ["conn1"], "chargers_conns": ["conn1"], "listen_bijson": ":3014", @@ -77,6 +69,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/dispatchers/dispatchers_no_attributes/cgrates.json b/data/conf/samples/dispatchers/dispatchers_no_attributes/cgrates.json index 62a223866..1e9ba9d01 100755 --- a/data/conf/samples/dispatchers/dispatchers_no_attributes/cgrates.json +++ b/data/conf/samples/dispatchers/dispatchers_no_attributes/cgrates.json @@ -26,13 +26,6 @@ }, }, -"schedulers": { - "enabled": true, -}, - -"rals": { - "enabled": true, -}, "sessions": { "enabled": true, @@ -45,6 +38,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/dnsagent_internal/cgrates.json b/data/conf/samples/dnsagent_internal/cgrates.json index b7adf39d8..17f2c02c5 100644 --- a/data/conf/samples/dnsagent_internal/cgrates.json +++ b/data/conf/samples/dnsagent_internal/cgrates.json @@ -16,33 +16,25 @@ }, - - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], -}, - - "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], "routes_conns": ["*localhost"], }, -"rals": { +"rates": { "enabled": true, }, + "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -70,6 +62,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/dnsagent_mongo/cgrates.json b/data/conf/samples/dnsagent_mongo/cgrates.json index bf8f77301..d895d9eb2 100644 --- a/data/conf/samples/dnsagent_mongo/cgrates.json +++ b/data/conf/samples/dnsagent_mongo/cgrates.json @@ -18,34 +18,24 @@ }, - - - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], -}, - - "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], "routes_conns": ["*localhost"], }, -"rals": { +"rates": { "enabled": true, }, "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, diff --git a/data/conf/samples/dnsagent_mysql/cgrates.json b/data/conf/samples/dnsagent_mysql/cgrates.json index 18a3f18d9..66ef2065a 100644 --- a/data/conf/samples/dnsagent_mysql/cgrates.json +++ b/data/conf/samples/dnsagent_mysql/cgrates.json @@ -12,33 +12,24 @@ }, - - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], -}, - - "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], "routes_conns": ["*localhost"], }, -"rals": { +"rates": { "enabled": true, }, "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, diff --git a/data/conf/samples/dnsagent_reload/cgrates.json b/data/conf/samples/dnsagent_reload/cgrates.json index 0e564d03c..38152aedc 100644 --- a/data/conf/samples/dnsagent_reload/cgrates.json +++ b/data/conf/samples/dnsagent_reload/cgrates.json @@ -12,33 +12,24 @@ }, - - - - "schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - }, - - "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], "routes_conns": ["*localhost"], }, - "rals": { + "rates": { "enabled": true, }, "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, diff --git a/data/conf/samples/docker/cgrates.json b/data/conf/samples/docker/cgrates.json index 808b7c7af..fd25be9f4 100644 --- a/data/conf/samples/docker/cgrates.json +++ b/data/conf/samples/docker/cgrates.json @@ -34,19 +34,8 @@ }, - - - -"rals": { +"rates": { "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], }, @@ -91,7 +80,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -101,7 +90,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -109,7 +98,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ees_internal/cgrates.json b/data/conf/samples/ees_internal/cgrates.json index 435179b44..a5d9fe505 100644 --- a/data/conf/samples/ees_internal/cgrates.json +++ b/data/conf/samples/ees_internal/cgrates.json @@ -18,24 +18,14 @@ "db_type": "*internal", }, - - - - -"rals": { +"rates": { "enabled": true, }, - -"schedulers": { - "enabled": true, -}, - - "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "session_cost_retries": 0, }, @@ -141,7 +131,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], "ees_conns": ["*localhost"], }, diff --git a/data/conf/samples/ees_mongo/cgrates.json b/data/conf/samples/ees_mongo/cgrates.json index 7aadf3722..c63045e7e 100644 --- a/data/conf/samples/ees_mongo/cgrates.json +++ b/data/conf/samples/ees_mongo/cgrates.json @@ -20,16 +20,7 @@ "db_port": 27017 }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -37,7 +28,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "session_cost_retries": 0, }, @@ -143,7 +134,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], "ees_conns": ["*localhost"], }, diff --git a/data/conf/samples/ees_mysql/cgrates.json b/data/conf/samples/ees_mysql/cgrates.json index c33af2df9..f67943814 100644 --- a/data/conf/samples/ees_mysql/cgrates.json +++ b/data/conf/samples/ees_mysql/cgrates.json @@ -20,15 +20,7 @@ "db_name": "10" }, - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -36,7 +28,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "session_cost_retries": 0, }, @@ -142,7 +134,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], "ees_conns": ["*localhost"], }, diff --git a/data/conf/samples/ees_ooma/cgrates.json b/data/conf/samples/ees_ooma/cgrates.json index 895566f61..121210cec 100644 --- a/data/conf/samples/ees_ooma/cgrates.json +++ b/data/conf/samples/ees_ooma/cgrates.json @@ -25,12 +25,7 @@ }, -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -38,7 +33,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "session_cost_retries": 0, }, @@ -453,7 +448,6 @@ "apiers": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_example/cgrates.json b/data/conf/samples/ers_example/cgrates.json index 9a68f561a..5fd1f8f53 100644 --- a/data/conf/samples/ers_example/cgrates.json +++ b/data/conf/samples/ers_example/cgrates.json @@ -15,16 +15,7 @@ "http": ":2080", }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -48,14 +39,14 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -93,6 +84,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/ers_internal/cgrates.json b/data/conf/samples/ers_internal/cgrates.json index 1b6fafa95..f431fbbc7 100644 --- a/data/conf/samples/ers_internal/cgrates.json +++ b/data/conf/samples/ers_internal/cgrates.json @@ -22,16 +22,7 @@ "db_type": "*internal", }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -56,7 +47,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "session_cost_retries": 0, }, @@ -64,7 +55,7 @@ "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -561,7 +552,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_mongo/cgrates.json b/data/conf/samples/ers_mongo/cgrates.json index a249b5890..c64492005 100644 --- a/data/conf/samples/ers_mongo/cgrates.json +++ b/data/conf/samples/ers_mongo/cgrates.json @@ -24,16 +24,7 @@ "db_port": 27017, }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -57,7 +48,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "session_cost_retries": 0, }, @@ -65,7 +56,7 @@ "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -561,7 +552,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_mysql/cgrates.json b/data/conf/samples/ers_mysql/cgrates.json index d0eb587de..69d19a15c 100644 --- a/data/conf/samples/ers_mysql/cgrates.json +++ b/data/conf/samples/ers_mysql/cgrates.json @@ -23,20 +23,10 @@ "db_name": "10", }, - - - - -"rals": { +"rates": { "enabled": true, }, - -"schedulers": { - "enabled": true, -}, - - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -56,7 +46,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "session_cost_retries": 0, }, @@ -64,7 +54,7 @@ "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -560,7 +550,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_postgres/cgrates.json b/data/conf/samples/ers_postgres/cgrates.json index 65ad3cf62..67b4fa11b 100644 --- a/data/conf/samples/ers_postgres/cgrates.json +++ b/data/conf/samples/ers_postgres/cgrates.json @@ -18,16 +18,7 @@ }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -51,7 +42,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "session_cost_retries": 0, }, @@ -59,7 +50,7 @@ "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -555,7 +546,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_reload/disabled/cgrates.json b/data/conf/samples/ers_reload/disabled/cgrates.json index 83e956c09..4d9b7d4d3 100644 --- a/data/conf/samples/ers_reload/disabled/cgrates.json +++ b/data/conf/samples/ers_reload/disabled/cgrates.json @@ -15,16 +15,7 @@ "http": ":2080", }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -48,14 +39,14 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -64,7 +55,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_reload/disabled_internal/cgrates.json b/data/conf/samples/ers_reload/disabled_internal/cgrates.json index 9a0de821c..fa6340f1a 100644 --- a/data/conf/samples/ers_reload/disabled_internal/cgrates.json +++ b/data/conf/samples/ers_reload/disabled_internal/cgrates.json @@ -20,16 +20,7 @@ "db_type": "*internal", }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -54,14 +45,14 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -70,7 +61,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_reload/disabled_mongo/cgrates.json b/data/conf/samples/ers_reload/disabled_mongo/cgrates.json index 079b411f3..936885c71 100644 --- a/data/conf/samples/ers_reload/disabled_mongo/cgrates.json +++ b/data/conf/samples/ers_reload/disabled_mongo/cgrates.json @@ -22,15 +22,7 @@ "db_port": 27017, }, - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -54,14 +46,14 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -70,7 +62,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_reload/disabled_mysql/cgrates.json b/data/conf/samples/ers_reload/disabled_mysql/cgrates.json index d33482365..a1e5fd424 100644 --- a/data/conf/samples/ers_reload/disabled_mysql/cgrates.json +++ b/data/conf/samples/ers_reload/disabled_mysql/cgrates.json @@ -22,16 +22,7 @@ "db_name": "10", }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -55,14 +46,14 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -71,7 +62,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_reload/disabled_postgres/cgrates.json b/data/conf/samples/ers_reload/disabled_postgres/cgrates.json index 7b54adeed..a1e5fd424 100644 --- a/data/conf/samples/ers_reload/disabled_postgres/cgrates.json +++ b/data/conf/samples/ers_reload/disabled_postgres/cgrates.json @@ -22,15 +22,7 @@ "db_name": "10", }, - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -54,14 +46,14 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -70,7 +62,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_reload/first_reload/cgrates.json b/data/conf/samples/ers_reload/first_reload/cgrates.json index 8bd65e377..15436b456 100644 --- a/data/conf/samples/ers_reload/first_reload/cgrates.json +++ b/data/conf/samples/ers_reload/first_reload/cgrates.json @@ -15,20 +15,10 @@ "http": ":2080", }, - - - - -"rals": { +"rates": { "enabled": true, }, - -"schedulers": { - "enabled": true, -}, - - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -48,14 +38,14 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -107,7 +97,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/ers_reload/internal/cgrates.json b/data/conf/samples/ers_reload/internal/cgrates.json index d98aba652..a78c80070 100644 --- a/data/conf/samples/ers_reload/internal/cgrates.json +++ b/data/conf/samples/ers_reload/internal/cgrates.json @@ -15,16 +15,7 @@ "http": ":2080", }, - - - - - "rals": { - "enabled": true, - }, - - - "schedulers": { + "rates": { "enabled": true, }, @@ -48,14 +39,14 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -93,7 +84,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/ers_reload/second_reload/cgrates.json b/data/conf/samples/ers_reload/second_reload/cgrates.json index 953eb1197..e8311a98b 100644 --- a/data/conf/samples/ers_reload/second_reload/cgrates.json +++ b/data/conf/samples/ers_reload/second_reload/cgrates.json @@ -15,16 +15,7 @@ "http": ":2080", }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -48,14 +39,14 @@ "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], @@ -194,7 +185,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/export_it_test_internal/cgrates.json b/data/conf/samples/export_it_test_internal/cgrates.json index ae4ff0d5b..597f3c0a5 100644 --- a/data/conf/samples/export_it_test_internal/cgrates.json +++ b/data/conf/samples/export_it_test_internal/cgrates.json @@ -21,23 +21,6 @@ }, - - - - "rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000 - }, - - - "schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"] - }, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"] @@ -82,7 +65,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"] + "rates_conns": ["*internal"] }, @@ -91,7 +74,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"] }, @@ -99,7 +82,7 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] + }, diff --git a/data/conf/samples/export_it_test_mongo/cgrates.json b/data/conf/samples/export_it_test_mongo/cgrates.json index a54b3a5cb..e1d2c96e5 100644 --- a/data/conf/samples/export_it_test_mongo/cgrates.json +++ b/data/conf/samples/export_it_test_mongo/cgrates.json @@ -21,24 +21,6 @@ "db_port": 27017, }, - - - - -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -84,7 +66,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -93,7 +75,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -110,7 +92,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/export_it_test_mysql/cgrates.json b/data/conf/samples/export_it_test_mysql/cgrates.json index 47f965daa..e0d8ea9a4 100644 --- a/data/conf/samples/export_it_test_mysql/cgrates.json +++ b/data/conf/samples/export_it_test_mysql/cgrates.json @@ -22,22 +22,6 @@ }, - - -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -83,7 +67,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -92,7 +76,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -106,7 +90,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/filter_indexes_internal/cgrates.json b/data/conf/samples/filter_indexes_internal/cgrates.json index a17f2984c..415ac14dc 100644 --- a/data/conf/samples/filter_indexes_internal/cgrates.json +++ b/data/conf/samples/filter_indexes_internal/cgrates.json @@ -30,4 +30,4 @@ "enabled": true }, -}, \ No newline at end of file +} \ No newline at end of file diff --git a/data/conf/samples/filter_indexes_mongo/cgrates.json b/data/conf/samples/filter_indexes_mongo/cgrates.json index 083d6fdb8..88141782a 100644 --- a/data/conf/samples/filter_indexes_mongo/cgrates.json +++ b/data/conf/samples/filter_indexes_mongo/cgrates.json @@ -32,4 +32,4 @@ "enabled": true }, -}, \ No newline at end of file +} \ No newline at end of file diff --git a/data/conf/samples/filter_indexes_mysql/cgrates.json b/data/conf/samples/filter_indexes_mysql/cgrates.json index 36d444822..7ee98aef2 100644 --- a/data/conf/samples/filter_indexes_mysql/cgrates.json +++ b/data/conf/samples/filter_indexes_mysql/cgrates.json @@ -32,4 +32,4 @@ "enabled": true }, -}, \ No newline at end of file +} \ No newline at end of file diff --git a/data/conf/samples/filtered_replication/engine1_mongo/cgrates.json b/data/conf/samples/filtered_replication/engine1_mongo/cgrates.json index b0760f396..b8960fc3a 100644 --- a/data/conf/samples/filtered_replication/engine1_mongo/cgrates.json +++ b/data/conf/samples/filtered_replication/engine1_mongo/cgrates.json @@ -49,22 +49,8 @@ }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { - "enabled": true, -}, - "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "thresholds": { diff --git a/data/conf/samples/filtered_replication/engine1_redis/cgrates.json b/data/conf/samples/filtered_replication/engine1_redis/cgrates.json index 9f7603c1c..c35775676 100644 --- a/data/conf/samples/filtered_replication/engine1_redis/cgrates.json +++ b/data/conf/samples/filtered_replication/engine1_redis/cgrates.json @@ -48,21 +48,8 @@ }, - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { - "enabled": true, -}, - "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "thresholds": { diff --git a/data/conf/samples/filtered_replication/engine2_mongo/cgrates.json b/data/conf/samples/filtered_replication/engine2_mongo/cgrates.json index 122f10e2e..3d5d24d47 100644 --- a/data/conf/samples/filtered_replication/engine2_mongo/cgrates.json +++ b/data/conf/samples/filtered_replication/engine2_mongo/cgrates.json @@ -49,21 +49,8 @@ }, - - -"rals": { - "enabled": true, -}, - - -"schedulers": { - "enabled": true, -}, - - "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "thresholds": { diff --git a/data/conf/samples/filtered_replication/engine2_redis/cgrates.json b/data/conf/samples/filtered_replication/engine2_redis/cgrates.json index 03e36ffec..a966667c8 100644 --- a/data/conf/samples/filtered_replication/engine2_redis/cgrates.json +++ b/data/conf/samples/filtered_replication/engine2_redis/cgrates.json @@ -49,21 +49,8 @@ }, - - -"rals": { - "enabled": true, -}, - - -"schedulers": { - "enabled": true, -}, - - "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "thresholds": { diff --git a/data/conf/samples/filtered_replication/internal/cgrates.json b/data/conf/samples/filtered_replication/internal/cgrates.json index d8b8c1448..445a08654 100644 --- a/data/conf/samples/filtered_replication/internal/cgrates.json +++ b/data/conf/samples/filtered_replication/internal/cgrates.json @@ -58,13 +58,6 @@ - - -"rals": { - "enabled": true, -}, - - "thresholds": { "enabled": true, "store_interval": "-1", @@ -78,14 +71,9 @@ }, -"schedulers": { - "enabled": true, -}, - "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "stats": { @@ -93,9 +81,4 @@ "store_interval": "-1", }, -"resources": { - "enabled": true, - "store_interval": "-1", -}, - } diff --git a/data/conf/samples/filters/cgrates.json b/data/conf/samples/filters/cgrates.json index 1db3a2245..609c9e781 100644 --- a/data/conf/samples/filters/cgrates.json +++ b/data/conf/samples/filters/cgrates.json @@ -23,18 +23,6 @@ }, - - - -"rals": { - "enabled": true, - "thresholds_conns": ["*localhost"], -}, - -"schedulers": { - "enabled": true, -}, - "filters": { "stats_conns": ["*localhost"], "resources_conns": ["*localhost"], @@ -81,7 +69,6 @@ "admins": { "enabled": true, "caches_conns":["*localhost"], - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/filters_gob/cgrates.json b/data/conf/samples/filters_gob/cgrates.json index 6a0816852..07dc32b54 100644 --- a/data/conf/samples/filters_gob/cgrates.json +++ b/data/conf/samples/filters_gob/cgrates.json @@ -30,18 +30,6 @@ }, - - - -"rals": { - "enabled": true, - "thresholds_conns": ["conn1"], -}, - -"schedulers": { - "enabled": true, -}, - "filters": { "stats_conns": ["conn1"], "resources_conns": ["conn1"], @@ -88,7 +76,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/filters_internal/cgrates.json b/data/conf/samples/filters_internal/cgrates.json index 420343749..d58239dbb 100644 --- a/data/conf/samples/filters_internal/cgrates.json +++ b/data/conf/samples/filters_internal/cgrates.json @@ -76,7 +76,6 @@ "admins": { "enabled": true, "caches_conns":["*localhost"], - "scheduler_conns": ["*internal"] }, "loaders": [ diff --git a/data/conf/samples/filters_mongo/cgrates.json b/data/conf/samples/filters_mongo/cgrates.json index 8ed170312..c62057e48 100644 --- a/data/conf/samples/filters_mongo/cgrates.json +++ b/data/conf/samples/filters_mongo/cgrates.json @@ -21,17 +21,6 @@ }, - - -"rals": { - "enabled": true, - "thresholds_conns": ["*localhost"] -}, - -"schedulers": { - "enabled": true -}, - "filters": { "stats_conns": ["*localhost"], "resources_conns": ["*localhost"], @@ -81,7 +70,6 @@ "admins": { "enabled": true, "caches_conns":["*localhost"], - "scheduler_conns": ["*internal"] }, "loaders": [ diff --git a/data/conf/samples/filters_mysql/cgrates.json b/data/conf/samples/filters_mysql/cgrates.json index a2678652d..87e19c0fe 100644 --- a/data/conf/samples/filters_mysql/cgrates.json +++ b/data/conf/samples/filters_mysql/cgrates.json @@ -80,7 +80,6 @@ "admins": { "enabled": true, "caches_conns":["*localhost"], - "scheduler_conns": ["*internal"] }, "loaders": [ diff --git a/data/conf/samples/freeswitch_reload/cgrates.json b/data/conf/samples/freeswitch_reload/cgrates.json index 184190471..4709b5826 100644 --- a/data/conf/samples/freeswitch_reload/cgrates.json +++ b/data/conf/samples/freeswitch_reload/cgrates.json @@ -3,8 +3,8 @@ // Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments // Copyright (C) ITsysCOM GmbH - "rals": { - "enabled": true, // enable Rater service: + "rates": { + "enabled": true, }, "sessions": { diff --git a/data/conf/samples/gocs/au_site/cgrates.json b/data/conf/samples/gocs/au_site/cgrates.json index 1a949b3e3..ba1588833 100644 --- a/data/conf/samples/gocs/au_site/cgrates.json +++ b/data/conf/samples/gocs/au_site/cgrates.json @@ -45,14 +45,7 @@ }, - - "rals": { - "enabled": true, - "max_increments":3000000, - }, - - - "schedulers": { + "rates": { "enabled": true, }, @@ -63,13 +56,12 @@ "sessions": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["conn1"], } } diff --git a/data/conf/samples/gocs/dsp_site/cgrates.json b/data/conf/samples/gocs/dsp_site/cgrates.json index a142db024..5995b2f08 100644 --- a/data/conf/samples/gocs/dsp_site/cgrates.json +++ b/data/conf/samples/gocs/dsp_site/cgrates.json @@ -26,16 +26,8 @@ }, }, - - - - "rals": { - "enabled": true - }, - - - "schedulers": { - "enabled": true + "rates": { + "enabled": true, }, "dispatchers":{ @@ -44,7 +36,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] } diff --git a/data/conf/samples/gocs/us_site/cgrates.json b/data/conf/samples/gocs/us_site/cgrates.json index 0dfdab271..954c18c8a 100644 --- a/data/conf/samples/gocs/us_site/cgrates.json +++ b/data/conf/samples/gocs/us_site/cgrates.json @@ -57,16 +57,10 @@ }, - "schedulers": { - "enabled": true, - "cdrs_conns": ["conn1"] - }, - - "cdrs": { "enabled": true, "chargers_conns":["conn1"], - "rals_conns": ["*internal"] + "rates_conns": ["*internal"] }, @@ -78,7 +72,7 @@ "sessions": { "enabled": true, "listen_bijson": ":4014", - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"] }, @@ -87,7 +81,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["conn1"] }, "accounts": { diff --git a/data/conf/samples/httpagent_internal/cgrates.json b/data/conf/samples/httpagent_internal/cgrates.json index 6e62263ee..b3f1610be 100644 --- a/data/conf/samples/httpagent_internal/cgrates.json +++ b/data/conf/samples/httpagent_internal/cgrates.json @@ -14,14 +14,7 @@ "http": ":2080", }, - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -29,7 +22,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -47,14 +40,13 @@ "enabled": true, "attributes_conns": ["*localhost"], "cdrs_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagent_internal_gob/cgrates.json b/data/conf/samples/httpagent_internal_gob/cgrates.json index 19c648a69..60e6fbafb 100644 --- a/data/conf/samples/httpagent_internal_gob/cgrates.json +++ b/data/conf/samples/httpagent_internal_gob/cgrates.json @@ -21,15 +21,7 @@ }, }, - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -37,7 +29,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -55,14 +47,13 @@ "enabled": true, "attributes_conns": ["conn1"], "cdrs_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagent_mongo/cgrates.json b/data/conf/samples/httpagent_mongo/cgrates.json index 9857adf72..b3f1610be 100644 --- a/data/conf/samples/httpagent_mongo/cgrates.json +++ b/data/conf/samples/httpagent_mongo/cgrates.json @@ -14,17 +14,7 @@ "http": ":2080", }, - - - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -32,7 +22,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -50,14 +40,13 @@ "enabled": true, "attributes_conns": ["*localhost"], "cdrs_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagent_mongo_gob/cgrates.json b/data/conf/samples/httpagent_mongo_gob/cgrates.json index 19c648a69..60e6fbafb 100644 --- a/data/conf/samples/httpagent_mongo_gob/cgrates.json +++ b/data/conf/samples/httpagent_mongo_gob/cgrates.json @@ -21,15 +21,7 @@ }, }, - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -37,7 +29,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -55,14 +47,13 @@ "enabled": true, "attributes_conns": ["conn1"], "cdrs_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagent_mysql/cgrates.json b/data/conf/samples/httpagent_mysql/cgrates.json index 4b35a789e..b3f1610be 100644 --- a/data/conf/samples/httpagent_mysql/cgrates.json +++ b/data/conf/samples/httpagent_mysql/cgrates.json @@ -14,16 +14,7 @@ "http": ":2080", }, - - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -31,7 +22,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -49,14 +40,13 @@ "enabled": true, "attributes_conns": ["*localhost"], "cdrs_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagent_mysql_gob/cgrates.json b/data/conf/samples/httpagent_mysql_gob/cgrates.json index 26ab83e22..60e6fbafb 100644 --- a/data/conf/samples/httpagent_mysql_gob/cgrates.json +++ b/data/conf/samples/httpagent_mysql_gob/cgrates.json @@ -21,16 +21,7 @@ }, }, - - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -38,7 +29,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -56,14 +47,13 @@ "enabled": true, "attributes_conns": ["conn1"], "cdrs_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagenttls_internal/cgrates.json b/data/conf/samples/httpagenttls_internal/cgrates.json index 2d72eff39..847aa4fe7 100755 --- a/data/conf/samples/httpagenttls_internal/cgrates.json +++ b/data/conf/samples/httpagenttls_internal/cgrates.json @@ -25,16 +25,7 @@ "ca_certificate":"/usr/share/cgrates/tls/ca.crt", }, - - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -42,7 +33,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -59,14 +50,13 @@ "enabled": true, "attributes_conns": ["*localhost"], "cdrs_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagenttls_internal_gob/cgrates.json b/data/conf/samples/httpagenttls_internal_gob/cgrates.json index 7e4ae538c..2580fe6b2 100755 --- a/data/conf/samples/httpagenttls_internal_gob/cgrates.json +++ b/data/conf/samples/httpagenttls_internal_gob/cgrates.json @@ -34,15 +34,7 @@ "ca_certificate":"/usr/share/cgrates/tls/ca.crt", }, - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -50,7 +42,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -67,14 +59,13 @@ "enabled": true, "attributes_conns": ["conn1"], "cdrs_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagenttls_mongo/cgrates.json b/data/conf/samples/httpagenttls_mongo/cgrates.json index 997c301e0..847aa4fe7 100755 --- a/data/conf/samples/httpagenttls_mongo/cgrates.json +++ b/data/conf/samples/httpagenttls_mongo/cgrates.json @@ -25,15 +25,7 @@ "ca_certificate":"/usr/share/cgrates/tls/ca.crt", }, - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -41,7 +33,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -58,14 +50,13 @@ "enabled": true, "attributes_conns": ["*localhost"], "cdrs_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagenttls_mongo_gob/cgrates.json b/data/conf/samples/httpagenttls_mongo_gob/cgrates.json index 7e4ae538c..2580fe6b2 100755 --- a/data/conf/samples/httpagenttls_mongo_gob/cgrates.json +++ b/data/conf/samples/httpagenttls_mongo_gob/cgrates.json @@ -34,15 +34,7 @@ "ca_certificate":"/usr/share/cgrates/tls/ca.crt", }, - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -50,7 +42,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -67,14 +59,13 @@ "enabled": true, "attributes_conns": ["conn1"], "cdrs_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagenttls_mysql/cgrates.json b/data/conf/samples/httpagenttls_mysql/cgrates.json index 2d72eff39..8fc08f976 100755 --- a/data/conf/samples/httpagenttls_mysql/cgrates.json +++ b/data/conf/samples/httpagenttls_mysql/cgrates.json @@ -25,24 +25,14 @@ "ca_certificate":"/usr/share/cgrates/tls/ca.crt", }, - - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, - "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -59,14 +49,13 @@ "enabled": true, "attributes_conns": ["*localhost"], "cdrs_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/httpagenttls_mysql_gob/cgrates.json b/data/conf/samples/httpagenttls_mysql_gob/cgrates.json index c595a2890..2580fe6b2 100755 --- a/data/conf/samples/httpagenttls_mysql_gob/cgrates.json +++ b/data/conf/samples/httpagenttls_mysql_gob/cgrates.json @@ -34,16 +34,7 @@ "ca_certificate":"/usr/share/cgrates/tls/ca.crt", }, - - - -"rals": { - "enabled": true, - "max_increments":3000000, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -51,7 +42,7 @@ "cdrs": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -68,14 +59,13 @@ "enabled": true, "attributes_conns": ["conn1"], "cdrs_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/internal_broadcast_replication/cgrates.json b/data/conf/samples/internal_broadcast_replication/cgrates.json index 9754207f7..abd61e891 100644 --- a/data/conf/samples/internal_broadcast_replication/cgrates.json +++ b/data/conf/samples/internal_broadcast_replication/cgrates.json @@ -30,17 +30,8 @@ "db_type": "*internal", }, - -"rals": { +"rates": { "enabled": true, - "thresholds_conns": ["broadcast_conn"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["broadcast_conn"], }, @@ -94,7 +85,7 @@ "routes_conns": ["broadcast_conn"], "resources_conns": ["broadcast_conn"], "attributes_conns": ["broadcast_conn"], - "rals_conns": ["broadcast_conn"], + "rates_conns": ["broadcast_conn"], "cdrs_conns": ["broadcast_conn"], "chargers_conns": ["broadcast_conn"], }, @@ -102,7 +93,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["broadcast_conn"], }, diff --git a/data/conf/samples/loader_mongo/cgrates.json b/data/conf/samples/loader_mongo/cgrates.json index 50b6faaa3..35f967047 100644 --- a/data/conf/samples/loader_mongo/cgrates.json +++ b/data/conf/samples/loader_mongo/cgrates.json @@ -21,19 +21,8 @@ "db_port": 27017, }, - - - -"rals": { +"rates": { "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*localhost"], }, @@ -72,7 +61,7 @@ "enabled": true, "stats_conns": ["*localhost"], "resources_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -83,7 +72,7 @@ "sessions": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -100,7 +89,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/loaders/tutinternal/cgrates.json b/data/conf/samples/loaders/tutinternal/cgrates.json index 71ad244ed..d3f97c609 100644 --- a/data/conf/samples/loaders/tutinternal/cgrates.json +++ b/data/conf/samples/loaders/tutinternal/cgrates.json @@ -20,20 +20,11 @@ "db_type": "*internal", }, - - - -"rals": { +"rates": { "enabled": true, }, -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -200,13 +191,12 @@ {"path": "Attributes.Path", "type": "*variable", "value": "~*req.5"}, {"path": "Attributes.Type", "type": "*variable", "value": "~*req.6"}, {"path": "Attributes.Value", "type": "*variable", "value": "~*req.7"}, - {"path": "Blocker", "type": "*variable", "value": "~*req.8"}, + {"path": "Blockers", "type": "*variable", "value": "~*req.8"}, ], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/loaders/tutmongo/cgrates.json b/data/conf/samples/loaders/tutmongo/cgrates.json index 01ae0070e..994a8bdfc 100644 --- a/data/conf/samples/loaders/tutmongo/cgrates.json +++ b/data/conf/samples/loaders/tutmongo/cgrates.json @@ -22,17 +22,8 @@ }, - - -"rals": { +"rates": { "enabled": true, - "thresholds_conns": ["*internal"], -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*localhost"], }, @@ -219,7 +210,7 @@ "sessions": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -243,13 +234,12 @@ {"path": "Attributes.Path", "type": "*variable", "value": "~*req.5"}, {"path": "Attributes.Type", "type": "*variable", "value": "~*req.6"}, {"path": "Attributes.Value", "type": "*variable", "value": "~*req.7"}, - {"path": "Blocker", "type": "*variable", "value": "~*req.8"}, + {"path": "Blockers", "type": "*variable", "value": "~*req.8"}, ], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/loaders/tutmysql/cgrates.json b/data/conf/samples/loaders/tutmysql/cgrates.json index e19d5ebe3..320ee4753 100644 --- a/data/conf/samples/loaders/tutmysql/cgrates.json +++ b/data/conf/samples/loaders/tutmysql/cgrates.json @@ -22,16 +22,8 @@ }, - -"rals": { +"rates": { "enabled": true, - "thresholds_conns": ["*internal"], -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], }, @@ -223,7 +215,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -245,14 +237,13 @@ {"path": "Attributes.Path", "type": "*variable", "value": "~*req.5"}, {"path": "Attributes.Type", "type": "*variable", "value": "~*req.6"}, {"path": "Attributes.Value", "type": "*variable", "value": "~*req.7"}, - {"path": "Blocker", "type": "*variable", "value": "~*req.8"}, + {"path": "Blockers", "type": "*variable", "value": "~*req.8"}, ], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/multiral1_internal/cgrates.json b/data/conf/samples/multiral1_internal/cgrates.json index d7f06b223..297dcb82e 100644 --- a/data/conf/samples/multiral1_internal/cgrates.json +++ b/data/conf/samples/multiral1_internal/cgrates.json @@ -19,10 +19,8 @@ }, - - -"rals": { - "enabled": true, // enable Rater service: +"rates": { + "enabled": true, }, } diff --git a/data/conf/samples/multiral1_mongo/cgrates.json b/data/conf/samples/multiral1_mongo/cgrates.json index 6232a5f1a..f7ca2b01c 100644 --- a/data/conf/samples/multiral1_mongo/cgrates.json +++ b/data/conf/samples/multiral1_mongo/cgrates.json @@ -20,11 +20,8 @@ "db_port": 27017, }, - - - -"rals": { - "enabled": true, // enable Rater service: +"rates": { + "enabled": true, }, } diff --git a/data/conf/samples/multiral1_mysql/cgrates.json b/data/conf/samples/multiral1_mysql/cgrates.json index cd4f226c2..b13194d6c 100644 --- a/data/conf/samples/multiral1_mysql/cgrates.json +++ b/data/conf/samples/multiral1_mysql/cgrates.json @@ -20,8 +20,8 @@ "db_name": "10", }, -"rals": { - "enabled": true, // enable Rater service: +"rates": { + "enabled": true, }, } diff --git a/data/conf/samples/multiral2_internal/cgrates.json b/data/conf/samples/multiral2_internal/cgrates.json index e1827c34a..25dc759e1 100644 --- a/data/conf/samples/multiral2_internal/cgrates.json +++ b/data/conf/samples/multiral2_internal/cgrates.json @@ -18,10 +18,7 @@ "db_type": "*internal", }, - - - -"rals": { +"rates": { "enabled": true, }, diff --git a/data/conf/samples/multiral2_mongo/cgrates.json b/data/conf/samples/multiral2_mongo/cgrates.json index f67a94944..e2d156d83 100644 --- a/data/conf/samples/multiral2_mongo/cgrates.json +++ b/data/conf/samples/multiral2_mongo/cgrates.json @@ -20,9 +20,7 @@ "db_port": 27017, }, - - -"rals": { +"rates": { "enabled": true, }, diff --git a/data/conf/samples/multiral2_mysql/cgrates.json b/data/conf/samples/multiral2_mysql/cgrates.json index a28fb4dc6..8b6dfbfe2 100644 --- a/data/conf/samples/multiral2_mysql/cgrates.json +++ b/data/conf/samples/multiral2_mysql/cgrates.json @@ -20,9 +20,7 @@ "db_name": "10", }, - - -"rals": { +"rates": { "enabled": true, }, diff --git a/data/conf/samples/precache/tutmongo/cgrates.json b/data/conf/samples/precache/tutmongo/cgrates.json index edd295808..6b7f3680a 100644 --- a/data/conf/samples/precache/tutmongo/cgrates.json +++ b/data/conf/samples/precache/tutmongo/cgrates.json @@ -49,16 +49,6 @@ }, -"rals": { - "enabled": true, -}, - - -"schedulers": { - "enabled": true, -}, - - "migrator": { "out_datadb_type": "mongo", "out_datadb_port": "27017", @@ -69,7 +59,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/precache/tutmongo_apiban/cgrates.json b/data/conf/samples/precache/tutmongo_apiban/cgrates.json index ffdf1ec6c..067ce2d27 100644 --- a/data/conf/samples/precache/tutmongo_apiban/cgrates.json +++ b/data/conf/samples/precache/tutmongo_apiban/cgrates.json @@ -50,16 +50,6 @@ }, -"rals": { - "enabled": true, -}, - - -"schedulers": { - "enabled": true, -}, - - "migrator": { "out_datadb_type": "mongo", "out_datadb_port": "27017", @@ -71,7 +61,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/precache/tutmysql/cgrates.json b/data/conf/samples/precache/tutmysql/cgrates.json index a00a01d37..19610a1db 100644 --- a/data/conf/samples/precache/tutmysql/cgrates.json +++ b/data/conf/samples/precache/tutmysql/cgrates.json @@ -46,11 +46,6 @@ }, }, -"schedulers": { - "enabled": true, -}, - - "migrator":{ "users_filters":["Account"], }, @@ -58,7 +53,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/precache/tutmysql_apiban/cgrates.json b/data/conf/samples/precache/tutmysql_apiban/cgrates.json index ed30d2849..f15d2a9e4 100644 --- a/data/conf/samples/precache/tutmysql_apiban/cgrates.json +++ b/data/conf/samples/precache/tutmysql_apiban/cgrates.json @@ -48,16 +48,6 @@ }, -"rals": { - "enabled": true, -}, - - -"schedulers": { - "enabled": true, -}, - - "migrator":{ "users_filters":["Account"], }, @@ -65,7 +55,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/registrarc/all2_mongo/cgrates.json b/data/conf/samples/registrarc/all2_mongo/cgrates.json index 5cdcb076e..99a5affd2 100644 --- a/data/conf/samples/registrarc/all2_mongo/cgrates.json +++ b/data/conf/samples/registrarc/all2_mongo/cgrates.json @@ -23,8 +23,6 @@ - - "rpc_conns": { "conn1": { "strategy": "*first", @@ -40,14 +38,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -59,7 +49,7 @@ "routes": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "stats": { @@ -79,7 +69,7 @@ "cdrs": { "enabled": true, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { @@ -88,7 +78,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -96,7 +86,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/registrarc/all2_mysql/cgrates.json b/data/conf/samples/registrarc/all2_mysql/cgrates.json index b98930655..1b218c128 100644 --- a/data/conf/samples/registrarc/all2_mysql/cgrates.json +++ b/data/conf/samples/registrarc/all2_mysql/cgrates.json @@ -40,13 +40,6 @@ "enabled": true }, - "rals": { - "enabled": true, - }, - - "schedulers": { - "enabled": true, - }, "chargers": { "enabled": true, @@ -59,7 +52,7 @@ "routes": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "stats": { diff --git a/data/conf/samples/registrarc/all_mongo/cgrates.json b/data/conf/samples/registrarc/all_mongo/cgrates.json index a872ccec3..1c6abf980 100644 --- a/data/conf/samples/registrarc/all_mongo/cgrates.json +++ b/data/conf/samples/registrarc/all_mongo/cgrates.json @@ -22,9 +22,6 @@ }, - - - "rpc_conns": { "conn1": { "strategy": "*first", @@ -44,14 +41,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -63,7 +52,7 @@ "routes": { "enabled": true, - "rals_conns": ["*internal"] + "rates_conns": ["*internal"] }, "stats": { @@ -83,7 +72,7 @@ "cdrs": { "enabled": true, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { @@ -92,7 +81,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "chargers_conns": ["*internal"], "cdrs_conns": ["*internal"], }, @@ -100,7 +89,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/registrarc/all_mysql/cgrates.json b/data/conf/samples/registrarc/all_mysql/cgrates.json index 2cb125b0d..8bbd8169d 100644 --- a/data/conf/samples/registrarc/all_mysql/cgrates.json +++ b/data/conf/samples/registrarc/all_mysql/cgrates.json @@ -44,14 +44,6 @@ "enabled": true }, -"rals": { - "enabled": true, -}, - -"schedulers": { - "enabled": true, -}, - "chargers": { "enabled": true, "attributes_conns": ["*internal"], @@ -63,7 +55,7 @@ "routes": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "stats": { @@ -83,7 +75,7 @@ "cdrs": { "enabled": true, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, "sessions": { @@ -92,7 +84,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "chargers_conns": ["*internal"], "cdrs_conns": ["*internal"], }, @@ -100,7 +92,6 @@ "admins": { "enabled": true, "caches_conns":["conn1"], - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/registrarc/dispatchers_mongo/cgrates.json b/data/conf/samples/registrarc/dispatchers_mongo/cgrates.json index 4d507be8b..96e7c5f66 100644 --- a/data/conf/samples/registrarc/dispatchers_mongo/cgrates.json +++ b/data/conf/samples/registrarc/dispatchers_mongo/cgrates.json @@ -35,23 +35,17 @@ }, }, -"schedulers": { - "enabled": true, -}, - - -"rals": { +"chargers": { "enabled": true, }, - -"chargers": { +"rates": { "enabled": true, }, "sessions": { "enabled": true, - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "resources_conns": ["*localhost"], "chargers_conns": ["*localhost"], "listen_bijson": ":3014", @@ -65,6 +59,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/registrarc/dispatchers_mysql/cgrates.json b/data/conf/samples/registrarc/dispatchers_mysql/cgrates.json index 4b66ab670..42823ca68 100755 --- a/data/conf/samples/registrarc/dispatchers_mysql/cgrates.json +++ b/data/conf/samples/registrarc/dispatchers_mysql/cgrates.json @@ -31,17 +31,13 @@ "enabled": true, }, -"rals": { - "enabled": true, -}, - -"chargers": { +"rates": { "enabled": true, }, "sessions": { "enabled": true, - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "resources_conns": ["*localhost"], "chargers_conns": ["*localhost"], "listen_bijson": ":3014", @@ -53,6 +49,5 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } \ No newline at end of file diff --git a/data/conf/samples/registrarc/registrarc_rpc_mongo/cgrates.json b/data/conf/samples/registrarc/registrarc_rpc_mongo/cgrates.json index 4b1fb1122..faffac812 100644 --- a/data/conf/samples/registrarc/registrarc_rpc_mongo/cgrates.json +++ b/data/conf/samples/registrarc/registrarc_rpc_mongo/cgrates.json @@ -32,20 +32,6 @@ }, -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*localhost"], - "stats_conns": ["*localhost"], -}, - - "cdrs": { "enabled": true, }, @@ -81,7 +67,7 @@ "enabled": true, "stats_conns": ["*localhost"], "resources_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -95,7 +81,7 @@ "sessions": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -112,7 +98,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/registrarc/registrarc_rpc_mysql/cgrates.json b/data/conf/samples/registrarc/registrarc_rpc_mysql/cgrates.json index 687962456..9dc0583eb 100644 --- a/data/conf/samples/registrarc/registrarc_rpc_mysql/cgrates.json +++ b/data/conf/samples/registrarc/registrarc_rpc_mysql/cgrates.json @@ -31,20 +31,6 @@ }, -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*localhost"], - "stats_conns": ["*localhost"], -}, - - "cdrs": { "enabled": true, }, @@ -80,7 +66,7 @@ "enabled": true, "stats_conns": ["*localhost"], "resources_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -94,7 +80,7 @@ "sessions": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -111,7 +97,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/routes_cases_internal/cgrates.json b/data/conf/samples/routes_cases_internal/cgrates.json index 88b80664d..c3ee3b556 100644 --- a/data/conf/samples/routes_cases_internal/cgrates.json +++ b/data/conf/samples/routes_cases_internal/cgrates.json @@ -77,7 +77,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"] }, diff --git a/data/conf/samples/routes_cases_mongo/cgrates.json b/data/conf/samples/routes_cases_mongo/cgrates.json index 6378ff4f6..8cf1c1a2c 100644 --- a/data/conf/samples/routes_cases_mongo/cgrates.json +++ b/data/conf/samples/routes_cases_mongo/cgrates.json @@ -78,7 +78,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"] }, diff --git a/data/conf/samples/routes_cases_mysql/cgrates.json b/data/conf/samples/routes_cases_mysql/cgrates.json index d5750a198..505ebc470 100644 --- a/data/conf/samples/routes_cases_mysql/cgrates.json +++ b/data/conf/samples/routes_cases_mysql/cgrates.json @@ -70,7 +70,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"] }, diff --git a/data/conf/samples/routes_generaltests_internal/cgrates.json b/data/conf/samples/routes_generaltests_internal/cgrates.json index 7d92c486c..5cfe81293 100644 --- a/data/conf/samples/routes_generaltests_internal/cgrates.json +++ b/data/conf/samples/routes_generaltests_internal/cgrates.json @@ -47,7 +47,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, diff --git a/data/conf/samples/routes_generaltests_mongo/cgrates.json b/data/conf/samples/routes_generaltests_mongo/cgrates.json index 2d358e470..fe4c63d9e 100644 --- a/data/conf/samples/routes_generaltests_mongo/cgrates.json +++ b/data/conf/samples/routes_generaltests_mongo/cgrates.json @@ -47,7 +47,7 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] + }, diff --git a/data/conf/samples/routes_generaltests_mysql/cgrates.json b/data/conf/samples/routes_generaltests_mysql/cgrates.json index 1c0de0563..5d0d476f8 100644 --- a/data/conf/samples/routes_generaltests_mysql/cgrates.json +++ b/data/conf/samples/routes_generaltests_mysql/cgrates.json @@ -47,7 +47,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, diff --git a/data/conf/samples/routes_mongo/cgrates.json b/data/conf/samples/routes_mongo/cgrates.json index 6d12569a9..d064c8e51 100644 --- a/data/conf/samples/routes_mongo/cgrates.json +++ b/data/conf/samples/routes_mongo/cgrates.json @@ -22,23 +22,6 @@ }, - - - -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -84,7 +67,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -93,7 +76,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -110,7 +93,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/routes_mysql/cgrates.json b/data/conf/samples/routes_mysql/cgrates.json index 731a64197..e3f57077b 100644 --- a/data/conf/samples/routes_mysql/cgrates.json +++ b/data/conf/samples/routes_mysql/cgrates.json @@ -67,7 +67,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -76,7 +76,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -89,7 +89,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/sessinternal/cgrates.json b/data/conf/samples/sessinternal/cgrates.json index 262b3a77e..cdd5d7c65 100644 --- a/data/conf/samples/sessinternal/cgrates.json +++ b/data/conf/samples/sessinternal/cgrates.json @@ -13,19 +13,8 @@ "db_type": "*internal", }, - - - - -"rals": { +"rates": { "enabled": true, - "thresholds_conns": ["*internal"], -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], }, @@ -78,7 +67,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -86,7 +75,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/sessintjson/cgrates.json b/data/conf/samples/sessintjson/cgrates.json index e14925400..d46c0e6a3 100644 --- a/data/conf/samples/sessintjson/cgrates.json +++ b/data/conf/samples/sessintjson/cgrates.json @@ -13,19 +13,8 @@ "db_type": "*internal", }, - - - - -"rals": { +"rates": { "enabled": true, - "thresholds_conns": ["*localhost"], -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*localhost"], }, @@ -78,7 +67,7 @@ "routes_conns": ["*localhost"], "resources_conns": ["*localhost"], "attributes_conns": ["*localhost"], - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "cdrs_conns": ["*localhost"], "chargers_conns": ["*localhost"], }, @@ -86,7 +75,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*localhost"], }, diff --git a/data/conf/samples/sessions_internal/cgrates.json b/data/conf/samples/sessions_internal/cgrates.json index 9e6e381fe..748dddfe0 100644 --- a/data/conf/samples/sessions_internal/cgrates.json +++ b/data/conf/samples/sessions_internal/cgrates.json @@ -20,15 +20,7 @@ "db_type": "*internal", }, - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -37,7 +29,7 @@ "enabled": true, "session_cost_retries": 1, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -80,7 +72,7 @@ "enabled": true, "session_ttl": "50ms", "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "thresholds_conns": ["*internal"], @@ -93,7 +85,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/sessions_mongo/cgrates.json b/data/conf/samples/sessions_mongo/cgrates.json index 5db275e53..91edea095 100644 --- a/data/conf/samples/sessions_mongo/cgrates.json +++ b/data/conf/samples/sessions_mongo/cgrates.json @@ -23,16 +23,7 @@ "db_port": 27017, }, - - - - -"rals": { - "enabled": true, -}, - - -"schedulers": { +"rates": { "enabled": true, }, @@ -41,7 +32,7 @@ "enabled": true, "session_cost_retries": 1, "chargers_conns":["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -83,7 +74,7 @@ "enabled": true, "session_ttl": "50ms", "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "resources_conns": ["*internal"], "thresholds_conns": ["*internal"], @@ -96,7 +87,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/sessions_mysql/cgrates.json b/data/conf/samples/sessions_mysql/cgrates.json index d2211c616..ae94071cd 100644 --- a/data/conf/samples/sessions_mysql/cgrates.json +++ b/data/conf/samples/sessions_mysql/cgrates.json @@ -24,17 +24,11 @@ "enabled": true }, - - "schedulers": { - "enabled": true - }, - - "cdrs": { "enabled": true, "session_cost_retries": 1, "chargers_conns":["*internal"], - "rals_conns": ["*internal"] + "rates_conns": ["*internal"] }, @@ -89,7 +83,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, "loaders": [ diff --git a/data/conf/samples/sipagent_internal/cgrates.json b/data/conf/samples/sipagent_internal/cgrates.json index e10cbea28..6992959fc 100644 --- a/data/conf/samples/sipagent_internal/cgrates.json +++ b/data/conf/samples/sipagent_internal/cgrates.json @@ -23,32 +23,24 @@ "db_type": "*internal", // stor database type to use: }, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], -}, - - "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], "routes_conns": ["*localhost"], }, -"rals": { +"rates": { "enabled": true, }, "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -66,7 +58,7 @@ "routes": { "enabled": true, - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], }, @@ -77,7 +69,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "templates": { diff --git a/data/conf/samples/sipagent_mongo/cgrates.json b/data/conf/samples/sipagent_mongo/cgrates.json index b7f9e4e98..ecca164c3 100644 --- a/data/conf/samples/sipagent_mongo/cgrates.json +++ b/data/conf/samples/sipagent_mongo/cgrates.json @@ -18,30 +18,23 @@ "db_name": "10", }, -"schedulers": { +"rates": { "enabled": true, - "cdrs_conns": ["*internal"], }, - "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], "routes_conns": ["*localhost"], }, -"rals": { - "enabled": true, -}, - - "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -59,7 +52,7 @@ "routes": { "enabled": true, - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], }, @@ -70,7 +63,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "templates": { diff --git a/data/conf/samples/sipagent_mysql/cgrates.json b/data/conf/samples/sipagent_mysql/cgrates.json index c1db5e2f6..916852bf6 100644 --- a/data/conf/samples/sipagent_mysql/cgrates.json +++ b/data/conf/samples/sipagent_mysql/cgrates.json @@ -11,34 +11,23 @@ "log_level": 7, // control the level of messages logged (0-emerg to 7-debug) }, - - - - -"schedulers": { +"rates": { "enabled": true, - "cdrs_conns": ["*internal"], }, - "sessions": { "enabled": true, "attributes_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], "routes_conns": ["*localhost"], }, -"rals": { - "enabled": true, -}, - - "cdrs": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -56,7 +45,7 @@ "routes": { "enabled": true, - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], }, @@ -67,7 +56,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, "templates": { diff --git a/data/conf/samples/smg_automatic_debits_internal/cgrates.json b/data/conf/samples/smg_automatic_debits_internal/cgrates.json index dc561417b..200dd2431 100644 --- a/data/conf/samples/smg_automatic_debits_internal/cgrates.json +++ b/data/conf/samples/smg_automatic_debits_internal/cgrates.json @@ -11,15 +11,8 @@ "db_type": "*internal", }, - - - -"rals": { - "enabled": true, // enable Rater service: -}, - -"schedulers": { - "enabled": true, // start Scheduler service: +"rates": { + "enabled": true, }, "cdrs": { @@ -38,7 +31,7 @@ "sessions": { "enabled": true, "debit_interval": "1ms", // interval to perform debits on. - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -46,7 +39,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/smg_automatic_debits_mongo/cgrates.json b/data/conf/samples/smg_automatic_debits_mongo/cgrates.json index 35e45fc00..97ae65190 100644 --- a/data/conf/samples/smg_automatic_debits_mongo/cgrates.json +++ b/data/conf/samples/smg_automatic_debits_mongo/cgrates.json @@ -14,13 +14,8 @@ "db_password": "", }, - -"rals": { - "enabled": true, // enable Rater service: -}, - -"schedulers": { - "enabled": true, // start Scheduler service: +"rates": { + "enabled": true, }, "cdrs": { @@ -39,7 +34,7 @@ "sessions": { "enabled": true, "debit_interval": "1ms", // interval to perform debits on. - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -47,7 +42,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/smg_automatic_debits_mysql/cgrates.json b/data/conf/samples/smg_automatic_debits_mysql/cgrates.json index 145aee71b..af217a281 100644 --- a/data/conf/samples/smg_automatic_debits_mysql/cgrates.json +++ b/data/conf/samples/smg_automatic_debits_mysql/cgrates.json @@ -13,13 +13,8 @@ "db_name": "10", }, - -"rals": { - "enabled": true, // enable Rater service: -}, - -"schedulers": { - "enabled": true, // start Scheduler service: +"rates": { + "enabled": true, }, "cdrs": { @@ -38,7 +33,7 @@ "sessions": { "enabled": true, "debit_interval": "1ms", // interval to perform debits on. - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -46,7 +41,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/smgreplcmaster_mongo/cgrates.json b/data/conf/samples/smgreplcmaster_mongo/cgrates.json index 9f228ce04..05119117f 100644 --- a/data/conf/samples/smgreplcmaster_mongo/cgrates.json +++ b/data/conf/samples/smgreplcmaster_mongo/cgrates.json @@ -27,12 +27,7 @@ }, }, - -"rals": { - "enabled": true, -}, - -"schedulers": { +"rates": { "enabled": true, }, @@ -53,14 +48,13 @@ "sessions": { "enabled": true, "replication_conns": ["rplConn"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/smgreplcmaster_mongo_gob/cgrates.json b/data/conf/samples/smgreplcmaster_mongo_gob/cgrates.json index 0804308e0..8d293dd83 100644 --- a/data/conf/samples/smgreplcmaster_mongo_gob/cgrates.json +++ b/data/conf/samples/smgreplcmaster_mongo_gob/cgrates.json @@ -27,12 +27,7 @@ "db_password": "", }, - -"rals": { - "enabled": true, -}, - -"schedulers": { +"rates": { "enabled": true, }, @@ -53,14 +48,13 @@ "sessions": { "enabled": true, "replication_conns": ["rplConn"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/smgreplcmaster_mysql/cgrates.json b/data/conf/samples/smgreplcmaster_mysql/cgrates.json index f1ed64115..aa1bb7a77 100644 --- a/data/conf/samples/smgreplcmaster_mysql/cgrates.json +++ b/data/conf/samples/smgreplcmaster_mysql/cgrates.json @@ -20,12 +20,7 @@ }, }, - -"rals": { - "enabled": true, -}, - -"schedulers": { +"rates": { "enabled": true, }, @@ -46,14 +41,13 @@ "sessions": { "enabled": true, "replication_conns": ["rplConn"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/smgreplcmaster_mysql_gob/cgrates.json b/data/conf/samples/smgreplcmaster_mysql_gob/cgrates.json index 8fc1fbd3e..9da31d6d3 100644 --- a/data/conf/samples/smgreplcmaster_mysql_gob/cgrates.json +++ b/data/conf/samples/smgreplcmaster_mysql_gob/cgrates.json @@ -20,12 +20,7 @@ }, }, - -"rals": { - "enabled": true, -}, - -"schedulers": { +"rates": { "enabled": true, }, @@ -46,14 +41,13 @@ "sessions": { "enabled": true, "replication_conns": ["rplConn"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/smgreplcslave_mongo/cgrates.json b/data/conf/samples/smgreplcslave_mongo/cgrates.json index 4494916f7..dd9468fdf 100644 --- a/data/conf/samples/smgreplcslave_mongo/cgrates.json +++ b/data/conf/samples/smgreplcslave_mongo/cgrates.json @@ -32,15 +32,11 @@ }, -"rals": { - "enabled": true, // enable Rater service: -}, - "cdrs": { "enabled": true, // start the CDR Server service: }, -"schedulers": { +"rates": { "enabled": true, }, @@ -58,14 +54,13 @@ "enabled": true, // starts SessionManager service: "listen_bijson": "127.0.0.1:22014", // address where to listen for bidirectional JSON-RPC requests "replication_conns": ["rplConn"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/smgreplcslave_mongo_gob/cgrates.json b/data/conf/samples/smgreplcslave_mongo_gob/cgrates.json index f39bec1c8..0ba5f0990 100644 --- a/data/conf/samples/smgreplcslave_mongo_gob/cgrates.json +++ b/data/conf/samples/smgreplcslave_mongo_gob/cgrates.json @@ -19,17 +19,11 @@ "db_password": "", }, -"rals": { - "enabled": true, // enable Rater service: -}, "cdrs": { "enabled": true, // start the CDR Server service: }, -"schedulers": { - "enabled": true, -}, "attributes": { "enabled": true, @@ -56,14 +50,13 @@ "enabled": true, // starts SessionManager service: "listen_bijson": "127.0.0.1:22014", // address where to listen for bidirectional JSON-RPC requests "replication_conns": ["rplConn"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/smgreplcslave_mysql/cgrates.json b/data/conf/samples/smgreplcslave_mysql/cgrates.json index 67ef1f229..bdd0499e7 100644 --- a/data/conf/samples/smgreplcslave_mysql/cgrates.json +++ b/data/conf/samples/smgreplcslave_mysql/cgrates.json @@ -23,18 +23,10 @@ } }, - -"rals": { - "enabled": true, // enable Rater service: -}, - "cdrs": { "enabled": true, // start the CDR Server service: }, -"schedulers": { - "enabled": true, -}, "attributes": { "enabled": true, @@ -50,14 +42,13 @@ "enabled": true, // starts SessionManager service: "listen_bijson": "127.0.0.1:22014", // address where to listen for bidirectional JSON-RPC requests "replication_conns": ["rplConn"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/smgreplcslave_mysql_gob/cgrates.json b/data/conf/samples/smgreplcslave_mysql_gob/cgrates.json index 574910eb3..ae8afba0e 100644 --- a/data/conf/samples/smgreplcslave_mysql_gob/cgrates.json +++ b/data/conf/samples/smgreplcslave_mysql_gob/cgrates.json @@ -12,19 +12,14 @@ "http": "127.0.0.1:22080", // HTTP listening address }, - - -"rals": { - "enabled": true, // enable Rater service: +"rates": { + "enabled": true, }, "cdrs": { "enabled": true, // start the CDR Server service: }, -"schedulers": { - "enabled": true, -}, "attributes": { "enabled": true, @@ -51,14 +46,13 @@ "enabled": true, // starts SessionManager service: "listen_bijson": "127.0.0.1:22014", // address where to listen for bidirectional JSON-RPC requests "replication_conns": ["rplConn"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, } diff --git a/data/conf/samples/tls/cgrates.json b/data/conf/samples/tls/cgrates.json index d2119c8df..c55536d50 100755 --- a/data/conf/samples/tls/cgrates.json +++ b/data/conf/samples/tls/cgrates.json @@ -42,12 +42,10 @@ "db_name": "10", // data_db database name to connect to }, - -"rals": { +"rates": { "enabled": true, }, - "resources": { "enabled": true, "store_interval": "1s", @@ -68,7 +66,7 @@ "sessions": { "enabled": true, - "rals_conns": ["*localhost"], + "rates_conns": ["*localhost"], "resources_conns": ["*localhost"], "attributes_conns": ["*localhost"], }, diff --git a/data/conf/samples/tls_gob/cgrates.json b/data/conf/samples/tls_gob/cgrates.json index 727962721..eebe3d689 100755 --- a/data/conf/samples/tls_gob/cgrates.json +++ b/data/conf/samples/tls_gob/cgrates.json @@ -42,10 +42,7 @@ "db_name": "10", // data_db database name to connect to }, - - - -"rals": { +"rates": { "enabled": true, }, @@ -78,7 +75,7 @@ "sessions": { "enabled": true, - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "resources_conns": ["conn1"], "attributes_conns": ["conn1"], }, diff --git a/data/conf/samples/tp_internal/cgrates.json b/data/conf/samples/tp_internal/cgrates.json index 528e98257..f18b9bf4a 100644 --- a/data/conf/samples/tp_internal/cgrates.json +++ b/data/conf/samples/tp_internal/cgrates.json @@ -20,23 +20,6 @@ "db_type": "*internal" }, - - - -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000 -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"] -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"] @@ -81,7 +64,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"] + "rates_conns": ["*internal"] }, @@ -90,7 +73,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"] }, @@ -98,7 +81,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"] }, diff --git a/data/conf/samples/tp_mongo/cgrates.json b/data/conf/samples/tp_mongo/cgrates.json index 20bd5a210..dae5729e0 100644 --- a/data/conf/samples/tp_mongo/cgrates.json +++ b/data/conf/samples/tp_mongo/cgrates.json @@ -22,21 +22,6 @@ }, - -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], -}, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -82,7 +67,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -91,7 +76,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -107,7 +92,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/tp_mysql/cgrates.json b/data/conf/samples/tp_mysql/cgrates.json index 80829bfc6..26ab8a2f9 100644 --- a/data/conf/samples/tp_mysql/cgrates.json +++ b/data/conf/samples/tp_mysql/cgrates.json @@ -66,7 +66,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -75,7 +75,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -88,7 +88,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/tutinternal_gob/cgrates.json b/data/conf/samples/tutinternal_gob/cgrates.json index 53b52ac36..174843383 100644 --- a/data/conf/samples/tutinternal_gob/cgrates.json +++ b/data/conf/samples/tutinternal_gob/cgrates.json @@ -27,17 +27,8 @@ }, - -"rals": { +"rates": { "enabled": true, - "thresholds_conns": ["conn1"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["conn1"], }, @@ -90,7 +81,7 @@ "routes_conns": ["conn1"], "resources_conns": ["conn1"], "attributes_conns": ["conn1"], - "rals_conns": ["conn1"], + "rates_conns": ["conn1"], "cdrs_conns": ["conn1"], "chargers_conns": ["conn1"], }, @@ -98,7 +89,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["conn1"], }, diff --git a/data/conf/samples/tutmongo_gob/cgrates.json b/data/conf/samples/tutmongo_gob/cgrates.json index d993caf96..e0ba6659e 100644 --- a/data/conf/samples/tutmongo_gob/cgrates.json +++ b/data/conf/samples/tutmongo_gob/cgrates.json @@ -28,19 +28,8 @@ "db_port": 27017, }, - - - -"rals": { +"rates": { "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, -}, - - -"schedulers": { - "enabled": true, - "cdrs_conns": ["conn1"], }, @@ -89,7 +78,7 @@ "sessions": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -106,7 +95,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/tutmongojson/cgrates.json b/data/conf/samples/tutmongojson/cgrates.json index 249c39066..08da9206c 100644 --- a/data/conf/samples/tutmongojson/cgrates.json +++ b/data/conf/samples/tutmongojson/cgrates.json @@ -22,23 +22,6 @@ "db_port": 27017, }, - - - - "rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, - }, - - - "schedulers": { - "enabled": true, - "cdrs_conns": ["*localhost"], - "stats_conns": ["*localhost"], - }, - - "cdrs": { "enabled": true, }, @@ -74,7 +57,7 @@ "enabled": true, "stats_conns": ["*localhost"], "resources_conns": ["*localhost"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -88,7 +71,7 @@ "sessions": { "enabled": true, - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -105,7 +88,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/tutmysqljson/cgrates.json b/data/conf/samples/tutmysqljson/cgrates.json index ec2a1d62d..b4f4f7242 100644 --- a/data/conf/samples/tutmysqljson/cgrates.json +++ b/data/conf/samples/tutmysqljson/cgrates.json @@ -21,22 +21,6 @@ "db_name": "11", // data_db database name to connect to }, - - - "rals": { - "enabled": true, - "thresholds_conns": ["*internal"], - "max_increments":3000000, - }, - - - "schedulers": { - "enabled": true, - "cdrs_conns": ["*internal"], - "stats_conns": ["*localhost"], - }, - - "cdrs": { "enabled": true, "chargers_conns":["*internal"], @@ -81,7 +65,7 @@ "prefix_indexed_fields":["*req.Destination"], "stats_conns": ["*internal"], "resources_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], }, @@ -90,7 +74,7 @@ "routes_conns": ["*internal"], "resources_conns": ["*internal"], "attributes_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], "chargers_conns": ["*internal"], }, @@ -104,7 +88,6 @@ "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/tutpostgres/cgrates.json b/data/conf/samples/tutpostgres/cgrates.json index 63ab80064..42fff8299 100644 --- a/data/conf/samples/tutpostgres/cgrates.json +++ b/data/conf/samples/tutpostgres/cgrates.json @@ -19,17 +19,6 @@ }, -"rals": { - "enabled": true, - "thresholds_conns": ["*internal"], -}, - - -"schedulers": { - "enabled": true, // start Scheduler service: -}, - - "cdrs": { "enabled": true, // start the CDR Server service: }, @@ -81,14 +70,13 @@ "sessions": { "enabled": true, "chargers_conns": ["*internal"], - "rals_conns": ["*internal"], + "rates_conns": ["*internal"], "cdrs_conns": ["*internal"], }, "admins": { "enabled": true, - "scheduler_conns": ["*internal"], }, diff --git a/data/conf/samples/twoengines/engine1/cgrates.json b/data/conf/samples/twoengines/engine1/cgrates.json index 9d64a99e6..5af433da7 100644 --- a/data/conf/samples/twoengines/engine1/cgrates.json +++ b/data/conf/samples/twoengines/engine1/cgrates.json @@ -29,13 +29,6 @@ "db_name": "10", }, - - -"rals": { - "enabled": true, -}, - - "admins": { "enabled": true, "caches_conns":["cacheConn"] diff --git a/data/conf/samples/twoengines/engine2/cgrates.json b/data/conf/samples/twoengines/engine2/cgrates.json index e4979ef9e..5564b3ef2 100644 --- a/data/conf/samples/twoengines/engine2/cgrates.json +++ b/data/conf/samples/twoengines/engine2/cgrates.json @@ -18,13 +18,6 @@ "db_name": "10", }, - - -"rals": { - "enabled": true, -}, - - "admins": { "enabled": true, }, diff --git a/dispatchers/attributes_it_test.go b/dispatchers/attributes_it_test.go index b27f7cb33..562f7147a 100644 --- a/dispatchers/attributes_it_test.go +++ b/dispatchers/attributes_it_test.go @@ -233,6 +233,11 @@ func testDspAttrGetAttrFailover(t *testing.T) { Type: utils.MetaConstant, Value: "CGRateS.org", }}, + Blockers: utils.Blockers{ + { + Blocker: false, + }, + }, Weights: utils.DynamicWeights{ { Weight: 20, @@ -420,6 +425,11 @@ func testDspAttrTestAuthKey2(t *testing.T) { Type: utils.MetaConstant, Value: "CGRateS.org", }}, + Blockers: utils.Blockers{ + { + Blocker: false, + }, + }, Weights: utils.DynamicWeights{ { Weight: 20, @@ -514,6 +524,11 @@ func testDspAttrGetAttrRoundRobin(t *testing.T) { Type: utils.MetaConstant, Value: "CGRateS.org", }}, + Blockers: utils.Blockers{ + { + Blocker: false, + }, + }, Weights: utils.DynamicWeights{ { Weight: 20, diff --git a/engine/libtest.go b/engine/libtest.go index 66ef5ff25..d44cd8f9f 100644 --- a/engine/libtest.go +++ b/engine/libtest.go @@ -122,7 +122,7 @@ cgrates.org,RoutePrf1,,,,,route1,,,,ResGroup4,Stat3,;10,, AttributesCSVContent = ` #Tenant,ID,FilterIDs,Weights,AttributeFilterIDs,Path,Type,Value,Blockers cgrates.org,ALS1,*string:~*req.Account:1001;*string:~*opts.*context:con1,;20,*string:~*req.Field1:Initial,*req.Field1,*variable,Sub1,;true -cgrates.org,ALS1,*string:~*opts.*context:con2|con3,,,*req.Field2,*variable,Sub2,;true +cgrates.org,ALS1,*string:~*opts.*context:con2|con3,,,*req.Field2,*variable,Sub2, ` ChargersCSVContent = ` #Tenant,ID,FilterIDs,Weights,RunID,AttributeIDs diff --git a/engine/z_datamanager_it_test.go b/engine/z_datamanager_it_test.go index 3278e8f43..0f324fe72 100644 --- a/engine/z_datamanager_it_test.go +++ b/engine/z_datamanager_it_test.go @@ -57,7 +57,7 @@ func TestDMitinitDB(t *testing.T) { if err != nil { t.Fatal("Could not connect to Redis", err.Error()) } - case utils.MetaPostgres: + case utils.MetaPostgres, utils.MetaMongo: t.SkipNow() default: t.Fatal("Unknown Database type") diff --git a/engine/z_filterindexer_it_test.go b/engine/z_filterindexer_it_test.go index 6ccbb0bc6..4954a2a47 100644 --- a/engine/z_filterindexer_it_test.go +++ b/engine/z_filterindexer_it_test.go @@ -110,7 +110,7 @@ func TestFilterIndexerIT(t *testing.T) { cfgDBName = cfg.DataDbCfg().Name defer redisDB.Close() dataManager = NewDataManager(redisDB, config.CgrConfig().CacheCfg(), nil) - case utils.MetaPostgres: + case utils.MetaPostgres, utils.MetaMongo: t.SkipNow() default: t.Fatal("Unknown Database type") diff --git a/engine/z_onstor_it_test.go b/engine/z_onstor_it_test.go index 80c194754..3d8dffd24 100644 --- a/engine/z_onstor_it_test.go +++ b/engine/z_onstor_it_test.go @@ -85,7 +85,7 @@ func TestOnStorIT(t *testing.T) { } onStorCfg = cfg.DataDbCfg().Name onStor = NewDataManager(rdsITdb, config.CgrConfig().CacheCfg(), nil) - case utils.MetaPostgres: + case utils.MetaPostgres, utils.MetaMongo: t.SkipNow() default: t.Fatal("Unknown Database type") diff --git a/general_tests/loaders_internal_indexes_it_test.go b/general_tests/loaders_internal_indexes_it_test.go index e89e067bd..fa484845a 100644 --- a/general_tests/loaders_internal_indexes_it_test.go +++ b/general_tests/loaders_internal_indexes_it_test.go @@ -135,6 +135,11 @@ func testLoadersIDBIdxCheckAttributes(t *testing.T) { Type: utils.MetaConstant, Value: "CGRateS.org", }}, + Blockers: utils.Blockers{ + { + Blocker: false, + }, + }, Weights: utils.DynamicWeights{ { Weight: 20,