Updated filter indexing

This commit is contained in:
Trial97
2021-05-18 14:01:11 +03:00
committed by Dan Christian Bogos
parent 00cece8943
commit 0a75016833
33 changed files with 742 additions and 175 deletions

View File

@@ -0,0 +1,22 @@
{
// CGRateS Configuration file
// used in general_tests/attributes_filters_index_it_test.go
"general": {
"log_level": 7,
},
"stor_db": {
"db_password": "CGRateS.org"
},
"admins": {
"enabled": true,
},
"attributes": {
"enabled": true,
"string_indexed_fields": [],
"prefix_indexed_fields": ["*req.Subject"],
},
}

View File

@@ -0,0 +1,33 @@
{
// CGRateS Configuration file
// used in general_tests/attributes_filters_index_it_test.go
"general": {
"log_level": 7,
},
"data_db": {
"db_type": "mongo",
"db_name": "10",
"db_port": 27017,
},
"stor_db": {
"db_type": "mongo",
"db_name": "cgrates",
"db_port": 27017,
},
"admins": {
"enabled": true,
},
"attributes": {
"enabled": true,
"string_indexed_fields": [],
"prefix_indexed_fields": ["*req.Subject"],
},
}