Commit Graph

2793 Commits

Author SHA1 Message Date
ionutboangiu
7fa43788e1 fix var shadowing causing unwanted import 2025-05-29 15:41:53 +02:00
ionutboangiu
676900b4c3 update DB casing for InitDB helpers 2025-05-29 15:41:53 +02:00
ionutboangiu
43cdd396ba add implementation for new ips module 2025-05-29 15:40:20 +02:00
arberkatellari
6d206954bd add and revise action type tests 2025-05-27 17:27:46 +02:00
arberkatellari
bffcda6f04 Add action type *dynamic_account_action 2025-05-27 17:27:46 +02:00
arberkatellari
33a47f663c Add action type *dynamic_action_plan 2025-05-27 17:27:46 +02:00
arberkatellari
f6c300c395 Add action type *dynamic_attribute and revise clone functions 2025-05-18 16:12:20 +02:00
ionutboangiu
2efb1b4d35 prometheus: replace string literals with constants 2025-04-27 12:13:29 +02:00
ionutboangiu
76f5d931bd add replication buffer support 2025-04-11 23:46:00 +03:00
arberkatellari
5463eb61c6 Adjust tests to InternalDB constructor 2025-04-11 13:09:50 +02:00
arberkatellari
ed584364d1 Add tests for internal DB dump and restore 2025-04-06 12:08:40 +02:00
arberkatellari
a168f262e2 Add dump and restore functionality for internal DBs 2025-04-06 12:08:40 +02:00
ionutboangiu
364827ab58 set default *file_csv cache TTL to 5s
File exporters require positive TTL as content is flushed only upon cache
expiration.
2025-03-18 18:32:03 +01:00
ionutboangiu
fdc8a1be7e ees: implement api to reset exporter metrics 2025-03-17 17:36:58 +01:00
ionutboangiu
934815d9ee ees: add metrics_reset_schedule opt (per ee) 2025-03-17 17:36:58 +01:00
ionutboangiu
7f132f19e4 Bump go version to 1.24.0 2025-02-26 16:19:47 +01:00
gezimbll
322afc585f added default caching for exporters 2025-02-21 13:21:26 +01:00
gezimbll
1a9313be68 revised integration tests for ranking scheduling 2024-12-10 18:51:43 +01:00
gezimbll
ee312b13b6 Added dispatchers it tests for rankings and trends 2024-11-23 20:01:25 +01:00
gezimbll
fc6aff8484 added trends and rankings methods in dispatchers 2024-11-14 17:52:31 +01:00
gezimbll
0854ef0bbb disabled refunding for *rated requesttype 2024-11-08 15:00:52 +01:00
armirveliaj
b2a76a1a84 Revise it test from v1/apier2_it_test.go 2024-11-04 19:01:41 +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
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
gezimbll
88805ac074 added get/set methods for ranking in datamanager 2024-10-17 15:54:53 +02:00
gezimbll
1765be1247 modified ranking csv and model 2024-10-17 12:17:21 +02:00
ionutboangiu
4ec26a4996 Move test cgr-engine helpers to engine package 2024-10-16 12:24:54 +02:00
gezimbll
e518e7b913 Integration test for scheduleAutomaticQueries && api for scheduled trends 2024-10-08 20:49:13 +02:00
gezimbll
06a9e1b661 changed DataManager.GetTrendProfiles to GetTrendProfileIDs with new signature 2024-10-03 17:43:26 +02:00
gezimbll
b134df83b7 added it tests and new APIs for TrendS 2024-10-01 20:05:29 +02:00
arberkatellari
3df926c642 Improve V1ReprocessCDRs flags handling 2024-09-24 12:29:41 +02:00
arberkatellari
c7e7634189 Add CDRsV1.ReprocessCDRs 2024-09-23 11:52:31 +02:00
armirveliaj
407f5fa062 Add new unit tests on apier/v1 2024-09-23 11:51:47 +02:00
gezimblliku
187ac2e0c9 updated profile and model fields for trends 2024-09-17 18:17:28 +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
DanB
569ddd1956 Basic structure of TrendS using cron as scheduler 2024-09-09 20:53:51 +02:00
ionutboangiu
62c30ab539 improve CoreSv1.Status API with more detailed metrics
- add new metrics (off by default)
- add Debug boolean option for full metric details
- add Timezone option for 'running_since' field
- update default metrics shown and their constants
- remove utils.GetStartTime(), now use process metrics
2024-09-09 16:47:38 +02:00
ionutboangiu
6e971e954c chore: remove unused call & redundant ping methods
- Ping methods defined by engine.NewService for all services
- Call methods were previously replaced by the centralized call method
(on *birpc.Service) for all components
- All services now register V1/V2 objects from apier package for
consistency
2024-09-06 17:37:05 +02:00
armirveliaj
35ae6ebd27 Add new unit tests on apier/v1 2024-09-05 20:47:27 +02:00
armirveliaj
0a0aec58b3 Add new unit tests on agents and apier/v1 2024-09-05 20:47:27 +02:00
armirveliaj
ddb25433f7 Add coverage tests on apier/v1 2024-09-05 20:47:27 +02:00
armirveliaj
ba558ea573 Add coverage tests on apier/v1 2024-09-05 20:47:27 +02:00
gezimblliku
ccc999642d added *fileLineNumber variable 2024-08-22 20:40:46 +02:00
gezimblliku
b7b931b8f6 added datamanager GetTrendProfiles method && api 2024-08-21 21:04:36 +02:00
armirveliaj
0a39796581 Add unit tests on apier/v1 2024-08-19 12:10:47 +02:00
gezimblliku
58e419b002 updated trend structure && model 2024-08-16 12:32:21 +02:00