Commit Graph

1214 Commits

Author SHA1 Message Date
ionutboangiu
5f47df6927 close db connections in test flush helpers
Previously, database connections would stay alive until "go test"
would finish, sometimes leading to max conn errors.
2025-05-29 15:41:53 +02:00
ionutboangiu
43cdd396ba add implementation for new ips module 2025-05-29 15:40:20 +02:00
gezimbll
d6676866d5 added fixes for integration tests & added *none in threshold ees_ids to disable processing 2025-05-29 12:38:29 +02:00
arberkatellari
6d206954bd add and revise action type tests 2025-05-27 17:27:46 +02:00
gezimbll
8bbe36c088 passing *accountID instead of *account in opts 2025-05-21 14:22:44 +02:00
gezimbll
2b27c681bc added test for passing account info from thresholds into actions through opts 2025-05-21 14:22:44 +02:00
arberkatellari
f6c300c395 Add action type *dynamic_attribute and revise clone functions 2025-05-18 16:12:20 +02:00
gezimbll
5f5330382f make sure countUnits is not called during dryrun 2025-05-16 14:08:07 +02:00
gezimbll
279e0daabd added integration tests for account disabled at authorization phase 2025-05-15 14:56:04 +02:00
gezimbll
c842623f4a fixes on integration tests 2025-05-12 17:31:56 +02:00
ionutboangiu
9990da643c add test reproducing cache replication deadlock 2025-05-03 21:45:16 +02:00
arberkatellari
534b788508 Add new action types *dynamic_threshold and *dynamic_stats 2025-05-03 21:44:14 +02:00
gezimbll
9b9bbb819d added benchmarking for stats,resources,trends and thresholds
processevent
2025-04-24 20:18:29 +02:00
arberkatellari
5463eb61c6 Adjust tests to InternalDB constructor 2025-04-11 13:09:50 +02:00
arberkatellari
c186952aa9 Add test for *random dataconverter on templates 2025-04-07 14:09:27 +02:00
arberkatellari
ed584364d1 Add tests for internal DB dump and restore 2025-04-06 12:08:40 +02:00
gezimbll
cd2362ef57 added integration test for thresholds checking account balances 2025-04-01 16:47:11 +02:00
ionutboangiu
fc89a35661 add test for new prometheus agent implementation 2025-03-30 14:01:06 +02:00
ionutboangiu
122afad733 remove previous prometheus integration 2025-03-30 14:01:06 +02:00
gezimbll
18644c7f0b added option to compress CostDetails before stored in db 2025-03-20 19:37:43 +01:00
gezimbll
260b32323d added option to pass UpdateSession event through stats or thresholds 2025-03-18 20:08:05 +01:00
ionutboangiu
7bb065fda6 rename *dc DataProvider to *em (from EventMetrics) 2025-03-17 17:36:58 +01:00
ionutboangiu
c21d5edfd3 add test for rerating failed cdrs 2025-03-09 17:30:39 +01:00
gezimbll
35ffa9d316 added test with limited profile elements in cache 2025-03-03 10:41:09 +01:00
ionutboangiu
7f132f19e4 Bump go version to 1.24.0 2025-02-26 16:19:47 +01:00
arberkatellari
9163d96ece Improve *dynaprepaid for Sessions ProcessEvent 2025-02-24 12:11:12 +01:00
gezimbll
322afc585f added default caching for exporters 2025-02-21 13:21:26 +01:00
gezimbll
594dc745b8 added tests for sql exporter cached 2025-02-21 13:21:26 +01:00
arberkatellari
ce764e48bb Add dynaprepaid functionality to AuthorizeEvent 2025-02-19 14:14:55 +01:00
arberkatellari
eff482d7e6 Stash faulty test in flaky 2025-02-17 08:02:20 +01:00
arberkatellari
39bca3495a Improve *dynaperpaid events for sessions 2025-02-17 08:02:20 +01:00
arberkatellari
815e4476bf Improve *destinations filter logic 2025-01-21 18:46:07 +01:00
arberkatellari
2252765e93 Add 'ees_ids' field to ERs readers config 2024-12-20 17:33:45 +01:00
arberkatellari
d35b14b6b9 Add ability to ERS to update or move ERS SQL events to a new table & add *export flag for ERS readers 2024-12-20 13:26:06 +01:00
gezimbll
b0aa272f75 added it tests for ErSv1.RunReader API 2024-12-10 18:56:17 +01:00
gezimbll
1a9313be68 revised integration tests for ranking scheduling 2024-12-10 18:51:43 +01:00
gezimbll
cf44898b98 revise tests for trends storeinterval && file readers 2024-12-07 20:59:04 +01:00
arberkatellari
6c752ac10f Improvements to ERS SQL filters 2024-12-03 18:36:22 +01:00
arberkatellari
041b14fa03 Improvements to ERS SQL filters 2024-12-03 18:36:22 +01:00
arberkatellari
321910d181 Add WHERE statement availability and non-delete option to ERS SQL reader 2024-12-03 18:36:22 +01:00
ionutboangiu
2a32ade4ba Add alternative API setup for reference (commented) 2024-11-28 17:24:01 +01:00
gezimbll
3974192787 added asynchronus startdelay for file readers and nats 2024-11-26 11:20:40 +01:00
gezimbll
e48eb5df13 added StartDelay for ers processing 2024-11-15 20:58:10 +01:00
gezimbll
0854ef0bbb disabled refunding for *rated requesttype 2024-11-08 15:00:52 +01:00
gezimbll
f72d4defb4 added *rankings filters in dynamicDP 2024-10-30 22:14:03 +01:00
gezimbll
b8616282ee added integration tests for ranking scheduling 2024-10-30 22:14:03 +01:00
ionutboangiu
7df0494913 Consider diameter requests when limiting caps
- add possibility to pass custom Error-Message AVP to negative diameter
  answers
- negative answer is now built only when an error occurs
- remove tests that were testing behaviour with max concurrent requests 0
2024-10-29 18:53:22 +01:00
gezimbll
1765be1247 modified ranking csv and model 2024-10-17 12:17:21 +02:00
ionutboangiu
531affc8ae Update test helpers
- added support for dynamic configuration for dbs
- ConfigJSON field can now be used to partially overwrite an existing
configuration
- extra cgr-engine flags can now be passed to the Run method
- added default db configs for mongo/internal
- implemented helper to load using cgr-loader
2024-10-16 18:43:34 +02:00
ionutboangiu
b05ed15f25 Fix vet check errors and conflicts 2024-10-16 12:24:54 +02:00