Commit Graph

29 Commits

Author SHA1 Message Date
ionutboangiu
db301f7901 Remove StorDB service param from service constructors
Use ServiceIndexer instead.
Remove CDRs ListenAndServe method.
Pass the storDB connection directly to constructors instead of the
channel.
2024-12-12 11:55:14 +01:00
ionutboangiu
e5ab21def5 Implement AdminSv1 Get/RemoveCDRs APIs for CDRs
Addition of storDB to AdminSv1 was required.
2023-11-09 20:50:36 +01:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
ionutboangiu
2a432620dd Add filterS field for AdminSv1 service 2022-04-06 11:17:50 +02:00
ionutboangiu
193ecb5ef6 Add cover tests in apis 2022-03-16 20:24:39 +01:00
ionutboangiu
6cba39a636 Add cover tests in apis 2022-03-14 20:18:24 +01:00
ionutboangiu
f52abc330a Add cover tests for apis 2022-03-11 19:33:03 +01:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
andronache98
6cddc10b00 Renaming count APIs 2022-02-13 15:09:53 +02:00
andronache98
fbd5ae7050 DynamicWeights for ThresholdProfile 2022-02-08 19:08:45 +01:00
ionutboangiu
526dcf3608 The Get*Count functions now take into consideration the ItemsPrefix 2022-01-09 14:48:18 +01:00
ionutboangiu
8fe9805592 The Get*IDs functions now use the new paginate function and include an additional prefix 2022-01-06 17:06:30 +01:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
Trial97
7749fcd15b Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent 2021-09-23 10:42:56 +02:00
ionutboangiu
1c2c5800e5 Add ActionProfileIDs as opt for actions subsystem and fix tests 2021-09-22 18:08:17 +02:00
Trial97
6a3f8ddc57 Updated config 2021-09-20 10:45:14 +02:00
ionutboangiu
11aecbd22f Add opts field in config for thresholds 2021-09-19 12:13:38 +02:00
Trial97
0ed0b0e7a6 Updated more services 2021-09-13 16:08:39 +02:00
nickolasdaniel
381433b57f Ensured that every API has Tenant and APIOpts in the arguments 2021-08-24 20:23:23 +02:00
ionutboangiu
8d47fbc8b5 Add integration tests to check cache behaviour after filter update (incomplete) 2021-06-08 11:54:23 +02:00
ionutboangiu
5b7e3b36a7 Cover funcs from apis/stats.go final 2021-06-08 11:54:23 +02:00
ionutboangiu
6d504a5454 Fix failing tests from apis 2021-06-08 11:54:23 +02:00
ionutboangiu
d04705617d Cover funcs from apis/thresholds.go final 2021-06-01 20:49:18 +03:00
ionutboangiu
7a928d6608 Fix RemoveProfile tests for resources, stats and thresholds 2021-06-01 20:49:18 +03:00
porosnicuadrian
faaf19d806 Updated tests for path sanitizations 2021-06-01 20:36:06 +03:00
porosnicuadrian
50b7266157 Fixed test renamed IDs from function's name 2021-06-01 20:36:06 +03:00
ionutboangiu
e290329328 Cover funcs from apis/thresholds.go 2021-05-27 10:17:13 +02:00