Tested all attributes apis for all databases

This commit is contained in:
porosnicuadrian
2021-04-21 13:49:53 +03:00
committed by Dan Christian Bogos
parent 51e5953c78
commit 0d807e6a16
3 changed files with 527 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
{
// CGRateS Configuration file
// will be used in apis/attributes_it_test.go
"data_db": {
"db_type": "mongo",
"db_name": "10",
"db_port": 27017,
},
"stor_db": {
"db_type": "mongo",
"db_name": "cgrates",
"db_port": 27017,
},
"attributes": {
"enabled": true,
},
"admins": {
"enabled": true,
}
},

View File

@@ -0,0 +1,23 @@
{
// CGRateS Configuration file
// will be used in apis/attributes_it_test.go
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
"db_type": "redis", // data_db type: <redis|mongo>
"db_port": 6379, // data_db port to reach the database
"db_name": "10", // data_db database name to connect to
},
"stor_db": {
"db_password": "CGRateS.org",
},
"attributes": {
"enabled": true,
},
"admins": {
"enabled": true,
}
},