{ // CGRateS Configuration file // will be used in apis/attributes_it_test.go "logger": { "level": 7 }, "db": { "db_conns": { "*default": { "db_type": "redis", "db_host": "127.0.0.1", "db_port": 6379, "db_name": "10", "db_user": "cgrates" }, "StorDB": { // The id of the DB connection "db_type": "postgres", // db type: "db_host": "127.0.0.1", "db_port": 5432, // db port to reach the database "db_name": "cgrates", // the host to connect to "db_user": "cgrates", "db_password": "CGRateS.org" // password to use when connecting to the database } }, "items": { "*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}, "*attribute_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"} } }, "attributes": { "enabled": true, "prefix_indexed_fields": ["*req.Destination"], "exists_indexed_fields": ["*opts.*usage"], "notexists_indexed_fields": ["*req.ToR"], }, "admins": { "enabled": true, } }