5415 Commits

Author SHA1 Message Date
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
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
armirveliaj
4b35d74a29 Add new unit tests on engine and config 2024-09-23 11:51:47 +02:00
gezimblliku
bfba6c6f74 updated trendprofile model structure 2024-09-23 11:51:18 +02:00
ionutboangiu
fb9e69e812 Remove forced file logging from cgr-engine helper 2024-09-23 11:47:06 +02:00
armirveliaj
1ad1b3d7d9 Add unit tests on engine 2024-09-17 18:18:02 +02:00
gezimblliku
187ac2e0c9 updated profile and model fields for trends 2024-09-17 18:17:28 +02:00
DanB
347fe7f6ed TrendS with separate variable for Mutex, to keep vet happy 2024-09-16 21:14:46 +02:00
DanB
6e84b555be Updating TrendS with getTrendGrowth function 2024-09-16 21:01:42 +02:00
arberkatellari
f6879d1a24 Revise SetActions APIs 2024-09-16 20:59:38 +02:00
DanB
bc33821010 Finalising TrendS.computeTrend plus tests for GetTrendLabel 2024-09-14 21:05:53 +02:00
DanB
98818c3560 TrendS.computeTrend implementation 2024-09-13 21:31:53 +02:00
armirveliaj
d4e99419a5 Add coverage tests on engine 2024-09-13 21:29:23 +02:00
armirveliaj
4a10f164e3 Add coverage tests on engine 2024-09-13 21:29:23 +02:00
armirveliaj
f669be786a Add coverage tests on engine 2024-09-13 21:29:23 +02:00