Commit Graph

1183 Commits

Author SHA1 Message Date
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
gezimbll
f0598b050b added unit test for Trend.cleanup && updated TestTrendSchedule 2024-10-02 16:15:27 +02:00
gezimbll
b134df83b7 added it tests and new APIs for TrendS 2024-10-01 20:05:29 +02:00
ionutboangiu
2e97cedc0c Add test for ERs *fileLineNumber *vars field 2024-09-26 17:33:16 +02:00
arberkatellari
3df926c642 Improve V1ReprocessCDRs flags handling 2024-09-24 12:29:41 +02:00
arberkatellari
bd6f5c661d Add *eventTimestamp for EES 2024-09-23 11:52:31 +02:00
arberkatellari
c7e7634189 Add CDRsV1.ReprocessCDRs 2024-09-23 11:52:31 +02:00
ionutboangiu
486fdf54a1 sessions: auth pseudoprepaid ProcessMessage requests
Previously, only *prepaid requests were authorized, for every other
request type, the default usage was used.
2024-09-17 18:16:45 +02:00
arberkatellari
bcb089822f Add APIerSV1TimingIsActiveAt 2024-09-17 18:13:41 +02:00
arberkatellari
f6879d1a24 Revise SetActions APIs 2024-09-16 20:59:38 +02:00
gezimblliku
7131698daf updated processEEs to pass metrics in a map to event 2024-09-10 21:09:57 +02:00
gezimblliku
b56220933a added ees_conns on stats 2024-09-10 13:20:05 +02:00
arberkatellari
932e86aa53 Revise balance blockers 2024-09-09 18:36:31 +02:00
arberkatellari
98f770c61b Adjust balance timing test 2024-09-06 18:29:23 +02:00
arberkatellari
a898e67558 Add active time checker on DebitConnectionFee 2024-09-05 20:48:23 +02:00
ionutboangiu
61711e9573 disable automatic removal of expired balances in test
instead of setting the expiry time sometime in the future and then
waiting for it to expire, now the balances are set directly with
expired balances
2024-09-02 16:18:12 +02:00
ionutboangiu
8fec8dbca1 fix: maintain fallback subj keys configured order 2024-08-30 13:01:01 +02:00
gezimblliku
ac44500fea updated dependencies to last versions 2024-08-21 21:04:36 +02:00
gezimblliku
5b75bacff7 added trend with get,set and remove methods in datamanager 2024-08-14 14:03:21 +02:00
ionutboangiu
78e020e2be Implement HTTP endpoint for prometheus
configurable via 'prometheus_url' option in the HTTP section
2024-08-05 13:28:33 +02:00