From 96edabe539d84ff8737bc8c769d3338e01603b58 Mon Sep 17 00:00:00 2001 From: andronache Date: Tue, 2 Nov 2021 12:42:48 +0200 Subject: [PATCH] Updated sample config --- data/conf/cgrates/cgrates.json | 131 ++++++++++++++------------------- 1 file changed, 56 insertions(+), 75 deletions(-) diff --git a/data/conf/cgrates/cgrates.json b/data/conf/cgrates/cgrates.json index 7f32c599d..4c9c1d453 100755 --- a/data/conf/cgrates/cgrates.json +++ b/data/conf/cgrates/cgrates.json @@ -76,31 +76,39 @@ // "replication_filtered": false, // if this is enabled the replication will be made only to the conns that received a get // "replication_cache": "", // the caching action that is executed on the replication_conns when the items are replicated // "items":{ -// "*accounts":{"remote":false, "replicate":false}, -// "*reverse_destinations": {"remote":false, "replicate":false}, -// "*destinations": {"remote":false, "replicate":false}, -// "*rating_plans": {"remote":false, "replicate":false}, -// "*rating_profiles":{"remote":false, "replicate":false}, -// "*actions":{"remote":false, "replicate":false}, -// "*action_plans": {"remote":false, "replicate":false}, -// "*account_action_plans":{"remote":false, "replicate":false}, -// "*action_triggers":{"remote":false, "replicate":false}, -// "*shared_groups":{"remote":false, "replicate":false}, -// "*timings": {"remote":false, "replicate":false}, -// "*resource_profiles":{"remote":false, "replicate":false}, -// "*resources":{"remote":false, "replicate":false}, -// "*statqueue_profiles": {"remote":false, "replicate":false}, -// "*statqueues": {"remote":false, "replicate":false}, -// "*threshold_profiles": {"remote":false, "replicate":false}, -// "*thresholds": {"remote":false, "replicate":false}, -// "*filters": {"remote":false, "replicate":false}, -// "*route_profiles":{"remote":false, "replicate":false}, -// "*attribute_profiles":{"remote":false, "replicate":false}, -// "*charger_profiles": {"remote":false, "replicate":false}, -// "*dispatcher_profiles":{"remote":false, "replicate":false}, -// "*dispatcher_hosts":{"remote":false, "replicate":false}, -// "*load_ids":{"remote":false, "replicate":false}, -// "*indexes":{"remote":false, "replicate":false}, +// "*accounts": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*reverse_destinations": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*destinations": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*rating_plans": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*rating_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*actions": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*action_plans": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*account_action_plans": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*action_triggers": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*shared_groups": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*timings": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*resource_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*resources": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*statqueue_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*statqueues": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*threshold_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*thresholds": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*filters": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*route_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*attribute_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*charger_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*dispatcher_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*dispatcher_hosts": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*load_ids": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*versions": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*resource_filter_indexes" : {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*stat_filter_indexes" : {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*threshold_filter_indexes" : {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*route_filter_indexes" : {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*attribute_filter_indexes" : {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*charger_filter_indexes" : {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*dispatcher_filter_indexes" : {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*reverse_filter_indexes" : {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, // }, // "opts":{ // "redisSentinel": "", // the name of sentinel when used @@ -134,29 +142,29 @@ // "mysqlLocation": "Local", // the location the time from mysql is retrived // }, // "items":{ -// "*session_costs": {"remote":false, "replicate":false}, -// "*cdrs": {"remote":false, "replicate":false}, -// "*tp_timings":{"remote":false, "replicate":false}, -// "*tp_destinations": {"remote":false, "replicate":false}, -// "*tp_rates": {"remote":false, "replicate":false}, -// "*tp_destination_rates": {"remote":false, "replicate":false}, -// "*tp_rating_plans":{"remote":false, "replicate":false}, -// "*tp_rating_profiles":{"remote":false, "replicate":false}, -// "*tp_shared_groups": {"remote":false, "replicate":false}, -// "*tp_actions":{"remote":false, "replicate":false}, -// "*tp_action_plans":{"remote":false, "replicate":false}, -// "*tp_action_triggers":{"remote":false, "replicate":false}, -// "*tp_account_actions": {"remote":false, "replicate":false}, -// "*tp_resources":{"remote":false, "replicate":false}, -// "*tp_stats":{"remote":false, "replicate":false}, -// "*tp_thresholds": {"remote":false, "replicate":false}, -// "*tp_filters": {"remote":false, "replicate":false}, -// "*tp_routes": {"remote":false, "replicate":false}, -// "*tp_attributes":{"remote":false, "replicate":false}, -// "*tp_chargers":{"remote":false, "replicate":false}, -// "*versions": {"remote":false, "replicate":false}, -// "*tp_dispatcher_profiles":{"remote":false, "replicate":false}, -// "*tp_dispatcher_hosts":{"remote":false, "replicate":false}, +// "*session_costs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_timings": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_destinations": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_rates": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_destination_rates": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_rating_plans": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_rating_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_shared_groups": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_actions": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_action_plans": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_action_triggers": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_account_actions": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_resources": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_stats": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_thresholds": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_filters": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_routes": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_attributes": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_chargers": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*versions": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_dispatcher_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, +// "*tp_dispatcher_hosts": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false}, // }, // }, @@ -269,33 +277,6 @@ // "*apiban":{"limit": -1, "ttl": "2m", "static_ttl": false, "replicate": false}, // "*caps_events": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, // caps cached samples // "*replication_hosts": {"limit": 0, "ttl": "", "static_ttl": false, "replicate": false}, // the replication hosts cache(used when replication_filtered is enbled) - -// // only for *internal database -// "*versions": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, // for version storing -// "*accounts": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, // for account storing -// // internal storDB tabels -// "*session_costs": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_timings":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_destinations": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_rates": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_destination_rates": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_rating_plans":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_rating_profiles":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_shared_groups": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_actions":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_action_plans":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_action_triggers":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_account_actions": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_resources":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_stats":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_thresholds": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_filters": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_routes": {"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_attributes":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_chargers":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_dispatcher_profiles":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, -// "*tp_dispatcher_hosts":{"limit": -1, "ttl": "", "static_ttl": false, "replicate": false}, // }, // "replication_conns": [], // },