mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 07:38:45 +05:00
Modify tests and samples for BiRPC SessionS<->ThresholdS
This commit is contained in:
committed by
Dan Christian Bogos
parent
78e537bc36
commit
8f6995d185
@@ -1,45 +1,39 @@
|
||||
{
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"node_id" : "EngineMongo1",
|
||||
},
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"node_id": "EngineMongo1"
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2022",
|
||||
"rpc_gob": ":2023",
|
||||
"http": ":2280",
|
||||
"birpc_json": ":2024"
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2022",
|
||||
"rpc_gob": ":2023",
|
||||
"http": ":2280",
|
||||
},
|
||||
"data_db": {
|
||||
"db_type": "mongo",
|
||||
"db_name": "10",
|
||||
"db_port": 27017
|
||||
},
|
||||
|
||||
"stor_db": {
|
||||
"db_type": "mongo",
|
||||
"db_name": "cgrates",
|
||||
"db_port": 27017,
|
||||
"db_password": ""
|
||||
},
|
||||
|
||||
"data_db": {
|
||||
"db_type": "mongo",
|
||||
"db_name": "10",
|
||||
"db_port": 27017,
|
||||
},
|
||||
|
||||
|
||||
"stor_db": {
|
||||
"db_type": "mongo",
|
||||
"db_name": "cgrates",
|
||||
"db_port": 27017,
|
||||
"db_password": "",
|
||||
},
|
||||
|
||||
|
||||
"rals": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
|
||||
"schedulers": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
"apiers": {
|
||||
"enabled": true,
|
||||
"scheduler_conns": ["*internal"],
|
||||
},
|
||||
"rals": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"schedulers": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"apiers": {
|
||||
"enabled": true,
|
||||
"scheduler_conns": ["*internal"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,41 +1,36 @@
|
||||
{
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"node_id": "EngineRedis1"
|
||||
},
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"node_id": "EngineRedis1"
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2022",
|
||||
"rpc_gob": ":2023",
|
||||
"http": ":2280",
|
||||
"birpc_json": ":2024"
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2022",
|
||||
"rpc_gob": ":2023",
|
||||
"http": ":2280",
|
||||
},
|
||||
"data_db": {
|
||||
"db_type": "redis",
|
||||
"db_port": 6379,
|
||||
"db_name": "10"
|
||||
},
|
||||
|
||||
"data_db": {
|
||||
"db_type": "redis",
|
||||
"db_port": 6379,
|
||||
"db_name": "10",
|
||||
},
|
||||
"stor_db": {
|
||||
"db_password": "CGRateS.org"
|
||||
},
|
||||
|
||||
"stor_db": {
|
||||
"db_password": "CGRateS.org",
|
||||
},
|
||||
|
||||
|
||||
"rals": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
|
||||
"schedulers": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
|
||||
"apiers": {
|
||||
"enabled": true,
|
||||
"scheduler_conns": ["*internal"],
|
||||
},
|
||||
"rals": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"schedulers": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"apiers": {
|
||||
"enabled": true,
|
||||
"scheduler_conns": ["*internal"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"rpc_json": ":2032",
|
||||
"rpc_gob": ":2033",
|
||||
"http": ":2380",
|
||||
"birpc_json": ":2034"
|
||||
},
|
||||
|
||||
"rpc_conns": {
|
||||
|
||||
@@ -1,52 +1,47 @@
|
||||
{
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"node_id": "EngineRedis2"
|
||||
},
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"node_id": "EngineRedis2"
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2032",
|
||||
"rpc_gob": ":2033",
|
||||
"http": ":2380",
|
||||
"birpc_json": ":2034"
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2032",
|
||||
"rpc_gob": ":2033",
|
||||
"http": ":2380",
|
||||
},
|
||||
"data_db": {
|
||||
"db_type": "redis",
|
||||
"db_port": 6379,
|
||||
"db_name": "11"
|
||||
},
|
||||
|
||||
"data_db": {
|
||||
"db_type": "redis",
|
||||
"db_port": 6379,
|
||||
"db_name": "11",
|
||||
},
|
||||
"stor_db": {
|
||||
"db_password": "CGRateS.org"
|
||||
},
|
||||
|
||||
"stor_db": {
|
||||
"db_password": "CGRateS.org",
|
||||
},
|
||||
"rpc_conns": {
|
||||
"replicateToCache": {
|
||||
"strategy": "*broadcast_sync",
|
||||
"conns": [
|
||||
{ "address": "*internal" },
|
||||
{ "address": "127.0.0.1:2012", "transport": "*json" }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"rals": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"rpc_conns": {
|
||||
"replicateToCache": {
|
||||
"strategy": "*broadcast_sync",
|
||||
"conns": [
|
||||
{"address": "*internal"},
|
||||
{"address": "127.0.0.1:2012", "transport":"*json"},
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"rals": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
|
||||
"schedulers": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
|
||||
"apiers": {
|
||||
"enabled": true,
|
||||
"scheduler_conns": ["*internal"],
|
||||
"caches_conns": ["replicateToCache"],
|
||||
},
|
||||
"schedulers": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"apiers": {
|
||||
"enabled": true,
|
||||
"scheduler_conns": ["*internal"],
|
||||
"caches_conns": ["replicateToCache"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user