mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
Implement start/stop/status methods for servmanager + tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
ad7bd111d1
commit
60a4da69e0
18
data/conf/samples/apis_srvmng_internal/cgrates.json
Normal file
18
data/conf/samples/apis_srvmng_internal/cgrates.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"reply_timeout": "50s"
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2012",
|
||||
"rpc_gob": ":2013",
|
||||
"http": ":2080"
|
||||
},
|
||||
|
||||
"data_db": {
|
||||
"db_type": "*internal"
|
||||
}
|
||||
|
||||
}
|
||||
20
data/conf/samples/apis_srvmng_mongo/cgrates.json
Normal file
20
data/conf/samples/apis_srvmng_mongo/cgrates.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"reply_timeout": "50s"
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2012",
|
||||
"rpc_gob": ":2013",
|
||||
"http": ":2080"
|
||||
},
|
||||
|
||||
"data_db": {
|
||||
"db_type": "mongo",
|
||||
"db_name": "10",
|
||||
"db_port": 27017
|
||||
}
|
||||
|
||||
}
|
||||
20
data/conf/samples/apis_srvmng_mysql/cgrates.json
Normal file
20
data/conf/samples/apis_srvmng_mysql/cgrates.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
"reply_timeout": "50s"
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2012",
|
||||
"rpc_gob": ":2013",
|
||||
"http": ":2080"
|
||||
},
|
||||
|
||||
"data_db": {
|
||||
"db_type": "redis",
|
||||
"db_port": 6379,
|
||||
"db_name": "10"
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user