Commit Graph

5280 Commits

Author SHA1 Message Date
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
aad5c4a66f Add benchmark for diameter+caps 2024-10-29 18:53:22 +01:00
ionutboangiu
5fd8e50f98 Allow benchmarks to use the testing suite 2024-10-29 18:53:22 +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
armirveliaj
05baa9fd86 Add && revise new unit tests on rankings 2024-10-23 20:25:07 +02:00
armirveliaj
90ec7d15a2 Add new unit tests on rankings 2024-10-23 20:25:07 +02:00
armirveliaj
9a531776d0 Add new unit tests on rankings 2024-10-23 20:25:07 +02:00
armirveliaj
1a38e51a5d Add new API: RankingSv1.GetRankingSummary 2024-10-23 20:25:07 +02:00
DanB
14292a77ea RankingSummary structure, LastUpdate timestamp inside Ranking struct, Ranking documentation 2024-10-18 18:53:58 +02:00
gezimbll
2e192dde78 added trend dynamicDP in filters and GetTrendSummary API 2024-10-18 16:24:02 +02:00
DanB
dd59fcb553 computeRanking and V1GetRanking functions 2024-10-17 17:36:35 +02:00
DanB
e3f5b2f264 Protect Trend.asTrendSummary method 2024-10-17 16:15:39 +02:00
DanB
bb42cbac42 TrendSummary implementation 2024-10-17 16:12:42 +02:00
gezimbll
88805ac074 added get/set methods for ranking in datamanager 2024-10-17 15:54:53 +02:00
DanB
c1b0efd455 Adding reversed logic for sortingParams in RankingS 2024-10-17 14:37:54 +02:00
DanB
27ea475984 Adding RankingS Ascendent Sorter 2024-10-17 13:46:23 +02:00
DanB
ec23771789 Enhanced TestRankingDescSorterSortStatIDs 2024-10-17 13:20:26 +02:00
DanB
8b0279d341 Completing rankingDescSorter 2024-10-17 13:07:01 +02:00
gezimbll
1765be1247 modified ranking csv and model 2024-10-17 12:17:21 +02:00
DanB
ed8ac2a317 Adding rankingSorter interface 2024-10-16 20:09:24 +02:00
DanB
4d7cb6c88a Basic RankingS implementation 2024-10-16 18:44:57 +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
429388367a Add relevant build constraints to engine/libtest.go
To skip this when compiling cgr-engine.
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
4ec26a4996 Move test cgr-engine helpers to engine package 2024-10-16 12:24:54 +02:00
gezimbll
d50114fcbc moved trend compressing in datamanager 2024-10-14 17:10:16 +02:00
armirveliaj
51e376d59b Add new unit tests on engine && config 2024-10-14 17:06:29 +02:00
armirveliaj
2137e141f6 Add coverage tests on engine 2024-10-14 16:04:06 +02:00
armirveliaj
4bf49be2be Add new unit tests on TrendS 2024-10-14 16:04:06 +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
gezimbll
e518e7b913 Integration test for scheduleAutomaticQueries && api for scheduled trends 2024-10-08 20:49:13 +02:00
DanB
9c05a5817e Updating TrendS with proper StoreInterval and EEsConns from configuration 2024-10-07 20:45:32 +02:00
DanB
dfc1ed0f0b Completing TrendS documentation for readthedocs 2024-10-06 17:59:25 +02:00
armirveliaj
8733082fbc Add new unit tests on libtrends 2024-10-05 20:34:43 +02:00
DanB
86ed9e932b Alpha code for TrendS 2024-10-05 20:30:22 +02:00
DanB
bb6f9ca5ae TrendS scheduleAutomaticQueries function 2024-10-03 18:41:11 +02:00
gezimbll
06a9e1b661 changed DataManager.GetTrendProfiles to GetTrendProfileIDs with new signature 2024-10-03 17:43:26 +02:00
DanB
28eb68241c Small trend customisations 2024-10-02 21:28:59 +02:00
DanB
149ccc3eac Trend.tMux as struct instead of pointer 2024-10-02 19:04:09 +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
DanB
a30286667a Renaming V1ScheduleTrendQueries to V1ScheduleQueries to avoid repetition in API name 2024-09-24 20:26:57 +02:00
DanB
68a5a76b93 Adding TrendS.V1ScheduleTrendQueries API 2024-09-24 20:17:11 +02:00
DanB
52523d0a73 TrendS - cleanup method 2024-09-24 16:32:50 +02:00
arberkatellari
3df926c642 Improve V1ReprocessCDRs flags handling 2024-09-24 12:29:41 +02:00
armirveliaj
085365e35d Revise redundant error handling in StatQueue rem methods 2024-09-24 09:24:35 +02:00