mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 23:58:44 +05:00
Make registrarc hosts as slice
This commit is contained in:
committed by
Dan Christian Bogos
parent
b5ae57e8ec
commit
d208a0dbed
@@ -975,13 +975,13 @@
|
||||
// "rpc":{
|
||||
// "enabled": false,
|
||||
// "registrars_conns": [],
|
||||
// "hosts": {},
|
||||
// "hosts": [],
|
||||
// "refresh_interval": "5m",
|
||||
// },
|
||||
// "dispatchers":{
|
||||
// "enabled": false,
|
||||
// "registrars_conns": [],
|
||||
// "hosts": {},
|
||||
// "hosts": [],
|
||||
// "refresh_interval": "5m",
|
||||
// },
|
||||
// },
|
||||
|
||||
@@ -108,9 +108,14 @@
|
||||
"dispatchers":{
|
||||
"enabled": true,
|
||||
"registrars_conns": ["dispConn"],
|
||||
"hosts": {
|
||||
"*default":[{"ID":"ALL2", "transport": "*json", "tls": false}]
|
||||
},
|
||||
"hosts": [
|
||||
{
|
||||
"Tenant": "*default",
|
||||
"ID":"ALL2",
|
||||
"transport": "*json",
|
||||
"tls": false
|
||||
},
|
||||
],
|
||||
"refresh_interval": "1s",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -106,9 +106,14 @@
|
||||
"dispatchers":{
|
||||
"enabled": true,
|
||||
"registrars_conns": ["dispConn"],
|
||||
"hosts": {
|
||||
"*default":[{"ID":"ALL2", "transport": "*json", "tls": false}]
|
||||
},
|
||||
"hosts": [
|
||||
{
|
||||
"Tenant": "*default",
|
||||
"ID":"ALL2",
|
||||
"transport": "*json",
|
||||
"tls": false
|
||||
},
|
||||
],
|
||||
"refresh_interval": "1s",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -112,9 +112,14 @@
|
||||
"dispatchers":{
|
||||
"enabled": true,
|
||||
"registrars_conns": ["dispConn"],
|
||||
"hosts": {
|
||||
"*default":[{"ID":"ALL2", "transport": "*json", "tls": false}]
|
||||
},
|
||||
"hosts": [
|
||||
{
|
||||
"Tenant": "*default",
|
||||
"ID":"ALL2",
|
||||
"transport": "*json",
|
||||
"tls": false
|
||||
},
|
||||
],
|
||||
"refresh_interval": "1s",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -110,9 +110,14 @@
|
||||
"dispatchers":{
|
||||
"enabled": true,
|
||||
"registrars_conns": ["dispConn"],
|
||||
"hosts": {
|
||||
"*default":[{"ID":"ALL2", "transport": "*json", "tls": false}]
|
||||
},
|
||||
"hosts": [
|
||||
{
|
||||
"Tenant": "*default",
|
||||
"ID":"ALL2",
|
||||
"transport": "*json",
|
||||
"tls": false
|
||||
},
|
||||
],
|
||||
"refresh_interval": "1s",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -146,9 +146,14 @@
|
||||
"rpc":{
|
||||
"enabled": true,
|
||||
"registrars_conns": ["regConn"],
|
||||
"hosts": {
|
||||
"*default":[{"ID":"attributes", "transport": "*json"}]
|
||||
},
|
||||
"hosts": [
|
||||
{
|
||||
"Tenant": "*default",
|
||||
"ID":"attributes",
|
||||
"transport": "*json",
|
||||
"tls": false
|
||||
},
|
||||
],
|
||||
"refresh_interval": "1s",
|
||||
},
|
||||
},
|
||||
|
||||
@@ -143,9 +143,14 @@
|
||||
"rpc":{
|
||||
"enabled": true,
|
||||
"registrars_conns": ["regConn"],
|
||||
"hosts": {
|
||||
"*default":[{"ID":"attributes", "transport": "*json"}]
|
||||
},
|
||||
"hosts": [
|
||||
{
|
||||
"Tenant": "*default",
|
||||
"ID":"attributes",
|
||||
"transport": "*json",
|
||||
"tls": false
|
||||
},
|
||||
],
|
||||
"refresh_interval": "1s",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user