Commit Graph

32 Commits

Author SHA1 Message Date
ionutboangiu
392b0c30e0 Fix failing unit tests due to redis dependency 2023-07-18 16:37:06 +02:00
ionutboangiu
a7c785d925 Upgrade MongoDB driver to v1.12
- Set (but comment) serverAPI options (currently distinct api and
create.size BSON field are deprecated + possible others that are untested)
- Rename and refactor 'TimeDecodeValue1' to 'decodeTimeValue', add
nil case handling
- Implement 'buildURL' function to connect to mongo (can also be
used for mysql and postgres)
- Update function names, variable names, and comments for clarity
- Replace 'bsonx.Regex' with the Regex primitive for v1.12 compatibility
- Use simple concatenation instead of Sprintf
- Declare 'timeType' locally, replace global 'tTime'
- Use 'RegisterTypeDecoder' to replace deprecated 'RegisterDecoder'
- Simplify several functions without altering functionality
- Remove redundant 'storageType' field in 'mongoStorage',
use 'isDataDB' instead
2023-07-04 13:19:31 +02:00
ionutboangiu
a748ab629e Apply gofmt simplify code 2022-12-02 14:24:18 +02:00
Trial97
db3bf9f40d Updated build tags 2021-08-30 17:55:51 +03:00
porosnicuadrian
166670b0d7 Updated internal and mongo db code for removing cases 2021-08-18 14:40:06 +02:00
porosnicuadrian
997a990db1 Removed any* for rating-profile ID 2021-07-19 17:12:16 +02:00
TeoV
b3f7769cb7 Add support for Mongo for different Marshaler 2020-03-01 17:28:31 +01:00
adragusin
35e5fb2f9d renamed dbType *sql to *mysql 2020-01-29 16:54:54 +01:00
adragusin
d7a5fc7ebf Updated IT tests in engine 2020-01-15 03:05:02 -05:00
TeoV
7b72c943a0 Add connections from remote and replicate throuh ConnManager 2020-01-06 09:27:34 -05:00
TeoV
714e37fa63 Populate in data manager rmtDataDbConns and rplDataDBConns 2019-11-03 12:59:10 +01:00
Trial97
c718f90b89 Updated engine integration tests 2019-10-30 12:19:31 +01:00
Trial97
8d655d8b57 Added sslmode for storDB config. Fixes#1715 2019-10-28 18:00:32 +01:00
Trial97
61fc8c98a3 Added DataManager as Service 2019-10-28 12:17:15 +01:00
Tripon Alexandru-Ionut
33a243d3f4 Added tests for CompressFactor 2019-04-05 16:14:53 +02:00
Tripon Alexandru-Ionut
19d3cf4fd9 Updated stat metrics with CompressFactor 2019-04-05 16:14:53 +02:00
Tripon Alexandru-Ionut
7b6674e4b5 Added CompressFactor to StatMetric 2019-04-05 16:14:53 +02:00
Trial97
a68c76c952 Updated config_path to accept url as path to file 2019-03-14 12:40:19 +01:00
Trial97
7446aea042 Separeted mongo storeDB and dataDB Versions 2018-12-17 13:42:10 +01:00
Trial97
a4896dbc32 Added General config 2018-10-05 20:33:28 +03:00
Trial97
fefa4317bf Added StroreDb config 2018-10-05 14:40:42 +03:00
Trial97
c3ca7b7620 Added DataDbCfg 2018-10-05 14:40:42 +03:00
TeoV
25e3cda1d7 Allow engine to connect to a redis sentinel(+test) 2018-10-03 14:06:22 +02:00
TeoV
ed2b45d8b0 Clarify cacheRead/cacheWrite for stats 2018-09-25 17:14:46 +02:00
DanB
45f638102d MatchFilterIndexDrv properly prepending prefix instead of concatenating it 2018-03-06 17:20:04 +01:00
Anevo
21b6980275 Renamed RemStatQueue to RemoveStatQueue 2018-03-06 17:19:18 +01:00
TeoV
09a5712c15 Update Mongo Driver 2018-01-22 18:30:40 +01:00
TeoV
bd009108e0 TPRequestSubstitute -> TPAttributeSubstitute 2017-12-12 09:55:07 +01:00
DanB
47f7fb3ec0 Engine tests fixes 2017-11-03 13:48:00 +01:00
TeoV
88839537ac DataDB -> DataManager 2017-10-09 14:59:27 +03:00
DanB
e4f035ee6c DataManager test fix 2017-09-12 18:42:22 +02:00
DanB
f2e5ab7704 DataManager tests for StatQueue CRUD operations 2017-09-10 19:51:33 +02:00