131 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
8d05c14aec add support for batched index keys removal 2025-10-05 08:54:11 +02:00
arberkatellari
5463eb61c6 Adjust tests to InternalDB constructor 2025-04-11 13:09:50 +02:00
arberkatellari
ed584364d1 Add tests for internal DB dump and restore 2025-04-06 12:08:40 +02:00
ionutboangiu
1a1ba55b25 Switch to ugorji/go/codec
Should be equivalent to ugocodec if enabling TimeNotBuiltin.
2024-04-16 21:10:13 +02:00
ionutboangiu
7886a35d63 Rename composeURI func to composeMongoURI
To reflect that it's used exclusively for MongoDB (for now at least).

Also added a descriptive comment to the function.
2023-12-07 17:07:42 +01:00
ionutboangiu
a057b34505 Use simple string concatenation to build URI
No need to keep the Parse call as a validation step since
any issue would be caught when establishing a connection.

Renamed buildURL to composeURI.
2023-12-07 17:07:42 +01:00
gezimbll
d560152d55 Improving internal storage coverage tests 2023-10-16 13:34:55 +03:00
gezimbll
405f29ca00 added internal storage tests 2023-10-12 15:06:04 +02:00
gezimbll
e52778794c Coverage tests for internal storage 2023-10-09 21:05:42 +02:00
NikolasPetriti
9b0116516e Add tests for msgpack encoding/decoding for all basic go types that we are using in master 2023-08-28 12:22:33 +02:00
gezimbll
12447c3f49 improving coverage at engine 2022-12-12 11:18:27 +02:00
gezimbll
a27bf2426f improving coverage at engine 2022-12-08 15:43:17 +02:00
gezimbll
aff54e84a3 improving coverage tests at engine 2022-12-02 18:40:40 +02:00
gezimbll
fd23a70bd1 engine&utils:improving coverage tests 2022-12-02 18:40:40 +02:00
gezimbll
e7520002eb coverage tests at engine 2022-11-16 11:54:41 +01:00
Trial97
c73556091f Updated cache reload 2021-05-07 20:02:17 +02:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
Trial97
114e8e9504 Started moving Destinations caching in datamanager 2020-12-04 18:44:27 +01:00
Trial97
0810803475 Updated msgpack library 2020-10-29 17:55:26 +01:00
TeoV
1697a1b140 In case of *asap actions don't save AccountIDs within action plans. Also allow loading if ActionPlan is present in DataDB and not in file fixes #570 2020-10-27 16:46:08 +01:00
Trial97
4fe3b8e257 Removed TenantArg 2020-09-04 12:32:09 +02:00
Trial97
4888034ea3 Updated CacheSv1LoadCache arguments 2020-08-13 11:34:53 +02:00
TeoV
0f0c05633e Add Destination/ReverseDestination methods in DataManager 2019-11-20 10:54:31 +01:00
TeoV
cc0855ce83 Rename GetAccount with GetAccountDrv and add GetAccount in DataManager 2019-11-07 17:52:59 +01:00
Trial97
7442753ed3 Removed AliaseS 2019-02-15 18:01:22 +02:00
DanB
417b4fadff Actions.csv - removing balance direction filter 2019-02-13 11:23:27 +01:00
DanB
9d196c1427 Engine using TransCache instead of built-in 2018-03-06 17:20:04 +01:00
DanB
6052aa925a More renaming 2017-12-11 19:21:25 +01:00
TeoV
325d619886 Add Infrastructure for AliasProfiles 2017-12-05 14:41:05 +01:00
TeoV
ffcee28567 LCRProfile(2) 2017-11-20 17:05:10 +01:00
TeoV
ff92d3f5a4 Add Filter in Cache 2017-10-25 19:38:22 +02:00
TeoV
7a78d074c4 Add StatQueue , StatQueueProfile , Threshold,ThresholdProfile in Cache 2017-10-24 15:25:56 +02:00
TeoV
4f25ef16c9 Add LoadDataDBCache in DataManager 2017-10-20 21:06:38 +02:00
TeoV
88839537ac DataDB -> DataManager 2017-10-09 14:59:27 +03:00
TeoV
02d9b539bd Merge LoadRatingCache and LoadAccountingCache into LoadDataDBCache 2017-09-07 05:43:33 -04:00
alin104n
d788452933 Accounting, Rating DBs merge, TPModels in StorDB 2017-04-03 21:17:12 +03:00
DanB
305d13971d AccountActionPlans in stordb, cache/precache populating account action plans, tp_reader populating account action plans, tests related 2017-01-08 21:30:54 +01:00
DanB
a9b10b7f65 PreloadCache -> LoadCache 2016-12-27 18:22:11 +01:00
DanB
7111bf239c Apierv1.PreloadCache, ApierV1.FlushCache with options, remove Responder.FlushCache, fixes at CacheDataFromDB for all keys 2016-12-23 19:30:14 +01:00
DanB
aad88d2973 Renamed cache2go into cache for simplicity 2016-10-07 18:35:48 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
f7edd20174 Cache redesign, fixing transactions mechanism 2016-08-31 11:43:33 +02:00
Radu Ioan Fericean
a7f3ae99c4 implemented get keys for prefix 2016-08-16 18:11:38 +03:00
Radu Ioan Fericean
333aad3587 driver set operation with no cache param 2016-08-12 12:30:34 +03:00
Radu Ioan Fericean
d079e42147 engine test passing 2016-08-11 23:56:55 +03:00
Radu Ioan Fericean
a10f0aaaa9 refernce db test ok 2016-08-10 20:02:28 +03:00
Radu Ioan Fericean
a5e44fd590 engine compiling succesfully 2016-08-09 21:17:35 +03:00