mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 07:08:45 +05:00
Tested all attributes apis for all databases
This commit is contained in:
committed by
Dan Christian Bogos
parent
51e5953c78
commit
0d807e6a16
25
data/conf/samples/attributes_mongo/cgrates.json
Normal file
25
data/conf/samples/attributes_mongo/cgrates.json
Normal 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,
|
||||
}
|
||||
},
|
||||
23
data/conf/samples/attributes_mysql/cgrates.json
Normal file
23
data/conf/samples/attributes_mysql/cgrates.json
Normal 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,
|
||||
}
|
||||
},
|
||||
Reference in New Issue
Block a user