{
// CGRateS Configuration file
//
// Used in apier_local_tests
// Starts rater, cdrs and mediator connecting over internal channel

"general": {
	"log_level": 7,
},

"stor_db": {
	"db_type": "postgres",					// stor database type to use: <mysql|postgres>
	"db_port": 5432, 						// the port to reach the stordb
	"db_password": "CGRateS.org"
},

"rals": {
	"enabled": true,						// enable Rater service: <true|false>
	"thresholds_conns": [
		{"address": "127.0.0.1:2012", "transport":"*json"},
	],
},

"scheduler": {
	"enabled": true,
},

"cdrs": {
	"enabled": true,
	"attributes_conns":[
		{"address": "*internal"}
	],
	"chargers_conns":[
		{"address": "127.0.0.1:2012", "transport":"*json"},
	],
	"rals_conns": [
		{"address": "127.0.0.1:2012", "transport":"*json"},
	],
	"stats_conns": [
		{"address": "127.0.0.1:2012", "transport":"*json"},
	],				
	"thresholds_conns": [
		{"address": "127.0.0.1:2012", "transport":"*json"},
	],
},

"attributes": {
	"enabled": true,
},

"stats": {
	"enabled": true,
	"store_interval": "1s",
	"thresholds_conns": [
		{"address": "*internal"}
	],
},

"thresholds": {
	"enabled": true,
	"store_interval": "1s",
},

"chargers": {
	"enabled": true,
	"attributes_conns": [
		{"address": "*internal"}
	],
},

"apier": {
	"scheduler_conns": [					// connections to SchedulerS for reloads
		{"address": "*internal"},
	],
},

}
