mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 06:38:45 +05:00
Repair tests in general_tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
84a70e50c9
commit
91e2563a77
@@ -1,42 +1,36 @@
|
||||
{
|
||||
// CGRateS Configuration file
|
||||
//
|
||||
|
||||
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"node_id": "CGRFilterS",
|
||||
"node_id": "CGRFilterS"
|
||||
},
|
||||
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2012",
|
||||
"rpc_gob": ":2013",
|
||||
"http": ":2080",
|
||||
"http": ":2080"
|
||||
},
|
||||
|
||||
|
||||
"data_db": {
|
||||
"db_type": "*internal",
|
||||
"db_type": "*internal"
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"rals": {
|
||||
"enabled": true,
|
||||
"thresholds_conns": ["*localhost"],
|
||||
"thresholds_conns": ["*localhost"]
|
||||
},
|
||||
|
||||
"schedulers": {
|
||||
"enabled": true,
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"filters": {
|
||||
"stats_conns": ["*localhost"],
|
||||
"resources_conns": ["*localhost"],
|
||||
"accounts_conns": ["*localhost"],
|
||||
"accounts_conns": ["*localhost"]
|
||||
},
|
||||
|
||||
"accounts": {
|
||||
@@ -46,42 +40,58 @@
|
||||
"resources": {
|
||||
"enabled": true,
|
||||
"indexed_selects":false,
|
||||
"store_interval": "-1",
|
||||
"store_interval": "-1"
|
||||
},
|
||||
|
||||
|
||||
"stats": {
|
||||
"enabled": true,
|
||||
"indexed_selects":false,
|
||||
"store_interval": "-1",
|
||||
"store_interval": "-1"
|
||||
},
|
||||
|
||||
|
||||
"thresholds": {
|
||||
"enabled": true,
|
||||
"indexed_selects":false,
|
||||
"store_interval": "-1",
|
||||
"actions_conns": ["*localhost"],
|
||||
"store_interval": "-1"
|
||||
},
|
||||
|
||||
"actions": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
|
||||
"attributes": {
|
||||
"enabled": true,
|
||||
"prefix_indexed_fields": ["*req.CustomField"],
|
||||
"prefix_indexed_fields": ["*req.CustomField"]
|
||||
},
|
||||
|
||||
|
||||
"chargers": {
|
||||
"enabled": true,
|
||||
"suffix_indexed_fields": ["*req.Subject"],
|
||||
"attributes_conns": ["*internal"],
|
||||
"attributes_conns": ["*internal"]
|
||||
},
|
||||
|
||||
|
||||
"admins": {
|
||||
"enabled": true,
|
||||
"caches_conns":["*localhost"],
|
||||
"scheduler_conns": ["*internal"],
|
||||
"scheduler_conns": ["*internal"]
|
||||
},
|
||||
|
||||
"loaders": [
|
||||
{
|
||||
"id": "*default",
|
||||
"enabled": true,
|
||||
"tenant": "cgrates.org",
|
||||
"lockfile_path": ".cgr.lck",
|
||||
"tp_in_dir": "/usr/share/cgrates/tariffplans/testit",
|
||||
"tp_out_dir": ""
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
{
|
||||
// CGRateS Configuration file
|
||||
//
|
||||
|
||||
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"node_id": "CGRFilterS",
|
||||
"node_id": "CGRFilterS"
|
||||
},
|
||||
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2012",
|
||||
"rpc_gob": ":2013",
|
||||
"http": ":2080",
|
||||
"http": ":2080"
|
||||
},
|
||||
|
||||
|
||||
@@ -20,26 +17,25 @@
|
||||
"data_db": {
|
||||
"db_type": "mongo",
|
||||
"db_name": "10",
|
||||
"db_port": 27017,
|
||||
"db_port": 27017
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"rals": {
|
||||
"enabled": true,
|
||||
"thresholds_conns": ["*localhost"],
|
||||
"thresholds_conns": ["*localhost"]
|
||||
},
|
||||
|
||||
"schedulers": {
|
||||
"enabled": true,
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"filters": {
|
||||
"stats_conns": ["*localhost"],
|
||||
"resources_conns": ["*localhost"],
|
||||
"accounts_conns": ["*localhost"],
|
||||
"accounts_conns": ["*localhost"]
|
||||
},
|
||||
|
||||
"accounts": {
|
||||
@@ -50,42 +46,58 @@
|
||||
"resources": {
|
||||
"enabled": true,
|
||||
"indexed_selects":false,
|
||||
"store_interval": "1s",
|
||||
"store_interval": "1s"
|
||||
},
|
||||
|
||||
|
||||
"stats": {
|
||||
"enabled": true,
|
||||
"indexed_selects":false,
|
||||
"store_interval": "1s",
|
||||
"store_interval": "1s"
|
||||
},
|
||||
|
||||
|
||||
"thresholds": {
|
||||
"enabled": true,
|
||||
"indexed_selects":false,
|
||||
"store_interval": "1s",
|
||||
"actions_conns": ["*localhost"],
|
||||
"store_interval": "1s"
|
||||
},
|
||||
|
||||
|
||||
"attributes": {
|
||||
"enabled": true,
|
||||
"prefix_indexed_fields": ["*req.CustomField"],
|
||||
"prefix_indexed_fields": ["*req.CustomField"]
|
||||
},
|
||||
|
||||
|
||||
"chargers": {
|
||||
"enabled": true,
|
||||
"suffix_indexed_fields": ["*req.Subject"],
|
||||
"attributes_conns": ["*internal"],
|
||||
"attributes_conns": ["*internal"]
|
||||
},
|
||||
|
||||
|
||||
"admins": {
|
||||
"enabled": true,
|
||||
"caches_conns":["*localhost"],
|
||||
"scheduler_conns": ["*internal"],
|
||||
"scheduler_conns": ["*internal"]
|
||||
},
|
||||
|
||||
"loaders": [
|
||||
{
|
||||
"id": "*default",
|
||||
"enabled": true,
|
||||
"tenant": "cgrates.org",
|
||||
"lockfile_path": ".cgr.lck",
|
||||
"tp_in_dir": "/usr/share/cgrates/tariffplans/testit",
|
||||
"tp_out_dir": ""
|
||||
}
|
||||
],
|
||||
|
||||
"actions": {
|
||||
"enabled": true
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,25 +1,22 @@
|
||||
{
|
||||
// CGRateS Configuration file
|
||||
//
|
||||
|
||||
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"node_id": "CGRFilterS",
|
||||
"node_id": "CGRFilterS"
|
||||
},
|
||||
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2012",
|
||||
"rpc_gob": ":2013",
|
||||
"http": ":2080",
|
||||
"http": ":2080"
|
||||
},
|
||||
|
||||
|
||||
"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
|
||||
"data_db": {
|
||||
"db_type": "redis",
|
||||
"db_port": 6379,
|
||||
"db_name": "10"
|
||||
},
|
||||
|
||||
|
||||
@@ -27,17 +24,17 @@
|
||||
|
||||
"rals": {
|
||||
"enabled": true,
|
||||
"thresholds_conns": ["*localhost"],
|
||||
"thresholds_conns": ["*localhost"]
|
||||
},
|
||||
|
||||
"schedulers": {
|
||||
"enabled": true,
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"filters": {
|
||||
"stats_conns": ["*localhost"],
|
||||
"resources_conns": ["*localhost"],
|
||||
"accounts_conns": ["*localhost"],
|
||||
"accounts_conns": ["*localhost"]
|
||||
},
|
||||
|
||||
"accounts": {
|
||||
@@ -48,42 +45,58 @@
|
||||
"resources": {
|
||||
"enabled": true,
|
||||
"indexed_selects":false,
|
||||
"store_interval": "1s",
|
||||
"store_interval": "1s"
|
||||
},
|
||||
|
||||
|
||||
"stats": {
|
||||
"enabled": true,
|
||||
"indexed_selects":false,
|
||||
"store_interval": "1s",
|
||||
"store_interval": "1s"
|
||||
},
|
||||
|
||||
|
||||
"thresholds": {
|
||||
"enabled": true,
|
||||
"indexed_selects":false,
|
||||
"store_interval": "1s",
|
||||
"indexed_selects":false,
|
||||
"actions_conns": ["*localhost"],
|
||||
"store_interval": "1s"
|
||||
},
|
||||
|
||||
"actions": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
|
||||
"attributes": {
|
||||
"enabled": true,
|
||||
"prefix_indexed_fields": ["*req.CustomField"],
|
||||
"prefix_indexed_fields": ["*req.CustomField"]
|
||||
},
|
||||
|
||||
|
||||
"chargers": {
|
||||
"enabled": true,
|
||||
"suffix_indexed_fields": ["*req.Subject"],
|
||||
"attributes_conns": ["*internal"],
|
||||
"attributes_conns": ["*internal"]
|
||||
},
|
||||
|
||||
|
||||
"admins": {
|
||||
"enabled": true,
|
||||
"caches_conns":["*localhost"],
|
||||
"scheduler_conns": ["*internal"],
|
||||
"scheduler_conns": ["*internal"]
|
||||
},
|
||||
|
||||
"loaders": [
|
||||
{
|
||||
"id": "*default",
|
||||
"enabled": true,
|
||||
"tenant": "cgrates.org",
|
||||
"lockfile_path": ".cgr.lck",
|
||||
"tp_in_dir": "/usr/share/cgrates/tariffplans/testit",
|
||||
"tp_out_dir": ""
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user