more hapool tests conf files

This commit is contained in:
Radu Ioan Fericean
2015-12-21 16:42:46 +02:00
parent d4fff10e20
commit d91dc98ebc
6 changed files with 16 additions and 32 deletions

View File

@@ -88,6 +88,10 @@ func TestHaPoolStartEngine(t *testing.T) {
if _, err := engine.StartEngine(cgrSmg2, *waitRater); err != nil {
t.Fatal("cgrSmg2: ", err)
}
cgrDa := path.Join(*dataDir, "conf", "samples", "hapool", "dagent")
if _, err := engine.StartEngine(cgrDa, *waitRater); err != nil {
t.Fatal("cgrSmg2: ", err)
}
}

View File

@@ -1,9 +1,4 @@
{
// CGRateS Configuration file
//
// Used for cgradmin
// Starts rater, scheduler
"listen": {
"rpc_json": ":2014", // RPC JSON listening address
"rpc_gob": ":2015", // RPC GOB listening address

View File

@@ -1,8 +1,4 @@
{
// CGRateS Configuration file
//
// Used for cgradmin
// Starts rater, scheduler
"listen": {
"rpc_json": ":2016", // RPC JSON listening address

View File

@@ -1,10 +1,4 @@
{
// CGRateS Configuration file
//
// Used for cgradmin
// Starts rater, scheduler
"cdrs": {
"enabled": true, // start the CDR Server service: <true|false>
"rater": "127.0.0.1:2014", // address where to reach the Rater for cost calculation, empty to disable functionality: <""|internal|x.y.z.y:1234>
@@ -13,6 +7,7 @@
"sm_generic": {
"enabled": true,
"listen_bijson": "127.0.0.1:3014",
"rater_conns": [
{"server": "127.0.0.1:2014"},
{"server": "127.0.0.1:2016"}
@@ -21,10 +16,4 @@
{"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
],
},
"diameter_agent": {
"enabled": true,
},
}

View File

@@ -1,10 +1,4 @@
{
// CGRateS Configuration file
//
// Used for cgradmin
// Starts rater, scheduler
"cdrs": {
"enabled": true, // start the CDR Server service: <true|false>
"rater": "127.0.0.1:2014", // address where to reach the Rater for cost calculation, empty to disable functionality: <""|internal|x.y.z.y:1234>
@@ -13,6 +7,7 @@
"sm_generic": {
"enabled": true,
"listen_bijson": "127.0.0.1:3015",
"rater_conns": [
{"server": "127.0.0.1:2014"},
{"server": "127.0.0.1:2016"}
@@ -22,9 +17,4 @@
],
},
"diameter_agent": {
"enabled": true,
},
}

View File

@@ -0,0 +1,10 @@
{
"diameter_agent": {
"enabled": true,
"listen": "127.0.0.1:3868",
"sm_generic_conns": [
{"server": "127.0.0.1:3014"},
{"server": "127.0.0.1:3015"},
],
},
}