{
// CGRateS Configuration file
//
// Used in general_tests

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

"data_db":{
	"db_type": "*internal"
},


"stor_db": {
	"db_type": "*internal"
},

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

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


"ees": {
	"enabled": true,
	"attributes_conns": ["*internal"],
	"failed_posts": {
	    "dir": "/tmp/failed_posts",
	    "ttl": "1"
	},
	"exporters": [
		{
			"id": "amqp_test_file",
			"type": "*amqp_json_map",
			"export_path": "amqps://guest:guest@localhost:256733/",
			"failed_posts_dir": "/tmp/failed_posts",
			"attempts": 1,
			"synchronous": true,
			"fields":[
				{"tag": "CGRID", "path": "*exp.CGRID", "type": "*variable", "value": "~*req.CGRID"},
			],
		}
	]
},



"stats": {									
	"enabled": true,
	"store_interval": "-1",
},

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

"rals": {
	"enabled": true
},


"schedulers": {
	"enabled": true
},


"cdrs": {
	"enabled": true,
	"rals_conns": ["*internal"],
	"attributes_conns": ["*internal"],
	"chargers_conns": ["*internal"],
	"stats_conns": ["*internal"],
	"thresholds_conns": ["*internal"],
	"online_cdr_exports": ["amqp_test_file"],
	"ees_conns": ["*localhost"]
},


"apiers": {
	"enabled": true,
	"scheduler_conns": ["*internal"],
},

"caches":{
	"partitions": {
		"*rpc_responses": {"limit": -1, "ttl": "2s", "static_ttl": false}
	},
},

}
