Commit Graph

1202 Commits

Author SHA1 Message Date
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
ionutboangiu
d4e4facc6b Revise NewRPCClient helper function 2024-10-16 12:24:54 +02:00
ionutboangiu
89dfc3e3d0 Centralize test RPC client constructor
For now, done only for general_tests
2024-10-16 12:24:54 +02:00
ionutboangiu
b7561497c7 Remove global err variable (general_tests)
Prevents compilation errors from tests moved to
flaky that use it.
2024-10-16 12:24:54 +02:00
ionutboangiu
4ec26a4996 Move test cgr-engine helpers to engine package 2024-10-16 12:24:54 +02:00
ionutboangiu
520dca3204 Add tests for load balancing to multiple workers 2024-10-14 16:02:41 +02:00
gezimbll
3dccb44511 added compressing for metrics on trends 2024-10-14 16:01:32 +02:00
gezimbll
69f4f08770 added integration tests for trend event to thresholds,EEs && fixes 2024-10-14 16:01:32 +02:00
ionutboangiu
0a89b131be Add service toggle integration test 2024-10-08 20:53:36 +02:00
ionutboangiu
14e602452c Update rcvr name for TestEngine.Run method 2024-10-08 20:53:36 +02:00
gezimbll
e518e7b913 Integration test for scheduleAutomaticQueries && api for scheduled trends 2024-10-08 20:49:13 +02:00
ionutboangiu
796b508353 Improve dispatcher tests (incomplete) 2024-10-05 20:35:45 +02:00
ionutboangiu
1ab7f80d50 Improve engine setup helpers
- added hook support (executed after parsing config but before starting
  engine)
- made db resets configurable
- merged config parsing helper with the main Setup function
- renamed TestEnvironment.Setup -> TestEngine.Run as it represents the
  setup for a single cgr-engine instance
- removed engineDelay parameter. Added helper to wait up to 200ms for
  the APIerSv1 service to be up and running to prevent 'can't find
  service' errors.
- replaced t.Log with t.Error for engine process kill error
- improved option comments
2024-10-05 20:35:22 +02:00