Add & to utils.AttrReloadCacheWithAPIOpts

This commit is contained in:
ionutboangiu
2021-05-27 17:09:07 +03:00
committed by Dan Christian Bogos
parent 21ef078e5c
commit 9daba04d77
24 changed files with 197 additions and 95 deletions

View File

@@ -0,0 +1,51 @@
{
// CGRateS Configuration file
// Used in general_tests/
"general": {
"node_id": "fltr_update_e1_mongo",
"log_level": 7
},
"listen": {
"rpc_json": ":22012",
"rpc_gob": ":22013",
"http": ":22080",
},
"data_db": {
"db_type": "mongo",
"db_name": "10",
"db_port": 27017,
},
"stor_db": {
"db_type": "mongo",
"db_name": "cgrates",
"db_port": 27017,
},
"rpc_conns": {
"cache_conn": {
"strategy": "*broadcast_sync",
"conns": [{"address": "127.0.0.1:22012", "transport": "*json"}, {"address": "127.0.0.1:2012", "transport": "*json"}],
},
},
"attributes": {
"enabled": true
},
"apiers": {
"enabled": true,
"caches_conns":["cache_conn"],
},
}

View File

@@ -0,0 +1,45 @@
{
// CGRateS Configuration file
//
"general": {
"node_id": "fltr_update_e1_mysql",
"log_level": 7
},
"listen": {
"rpc_json": ":22012",
"rpc_gob": ":22013",
"http": ":22080",
},
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
"db_type": "redis", // data_db type: <redis|mongo>
"db_port": 6379, // data_db port to reach the database
"db_name": "10", // data_db database name to connect to
},
"stor_db": {
"db_password": "CGRateS.org",
},
"rpc_conns": {
"cache_conn": {
"strategy": "*broadcast_sync",
"conns": [{"address": "127.0.0.1:22012", "transport":"*json"},{"address": "127.0.0.1:2012", "transport": "*json"}],
},
},
"attributes": {
"enabled": true
},
"apiers": {
"enabled": true,
"caches_conns":["cache_conn"],
},
}