Commit Graph

13581 Commits

Author SHA1 Message Date
andronache98
33e39752df Tests for dynamicdp in engine 2022-01-12 08:44:36 +01:00
andronache98
661eaec144 Removed unnecessary intergration test 2022-01-12 08:44:36 +01:00
andronache98
917e8045a5 Removed set and get for cdrs 2022-01-12 08:44:36 +01:00
andronache98
451d58843f Removed CDRs from migrator 2022-01-12 08:44:36 +01:00
DanB
df6fd49b95 Correctly index keyPrefix for filters 2022-01-10 20:21:36 +01:00
porosnicuadrian
89a9cd8598 Added DSN opts for exporter sql 2022-01-10 20:01:20 +01:00
porosnicuadrian
b2e84bfdf0 Fixed chargers tests 2022-01-10 20:01:20 +01:00
ionutboangiu
47d6d132a6 Update IfaceAsTInt function 2022-01-10 19:59:10 +01:00
ionutboangiu
89329c114a Update paginate functionality for routes subsystem 2022-01-10 19:59:10 +01:00
ionutboangiu
46c04410b9 Add MaxItems opt for routes 2022-01-10 19:59:10 +01:00
ionutboangiu
dd883c2360 Remove GetRoutePaginatorFromOpts function and its tests (unused) 2022-01-10 19:59:10 +01:00
ionutboangiu
6fc9e290fe Remove EventWithFlags struct type (unused) 2022-01-10 19:59:10 +01:00
ionutboangiu
da6f43df4c Add new constant for the ImportZip loader api 2022-01-10 19:59:10 +01:00
ionutboangiu
ba2e32f0ed Generate new dispatcher files following the pagination change 2022-01-10 19:59:10 +01:00
ionutboangiu
e16c8b1f76 Fix typo and generate a new default configuration file 2022-01-10 19:59:10 +01:00
ionutboangiu
ad7099a1dc Fix console functionality for Get*IDs commands following pagination changes 2022-01-10 19:59:10 +01:00
ionutboangiu
74a43f2524 Fix api tests for Get*IDs functions 2022-01-10 19:59:10 +01:00
ionutboangiu
583cd71a42 Remove unused struct types, functions and tests related to paginator 2022-01-10 19:59:10 +01:00
ionutboangiu
c9e2809701 Remove paginator inheritance from AttrGetFilter struct 2022-01-09 14:48:18 +01:00
ionutboangiu
526dcf3608 The Get*Count functions now take into consideration the ItemsPrefix 2022-01-09 14:48:18 +01:00
ionutboangiu
8f15d4ae5f Update tests for paginate functions 2022-01-09 14:48:18 +01:00
ionutboangiu
dd21ff3ea8 Fix paginate functionality and separate it from the GetOpts func 2022-01-09 14:48:18 +01:00
ionutboangiu
fcddec1c4c Use Contains instead of Index to check whether a substring exists 2022-01-09 14:48:18 +01:00
ionutboangiu
9d2cf432f3 Rename ArgsItemIDs Prefix to ItemsPrefix 2022-01-09 14:48:18 +01:00
ionutboangiu
4acba709f2 Get rid of the getOpts helper function 2022-01-09 14:48:18 +01:00
andronache98
34916d2721 Tests for datamanager 2022-01-09 14:46:55 +01:00
andronache98
6049459952 Test for DispatcherHost GetConn Error 2022-01-09 14:46:55 +01:00
andronache98
c3d047e147 100% coverage for globalvars in engine 2022-01-09 14:46:55 +01:00
andronache98
6727c0916f Test for attributes 2022-01-09 14:46:55 +01:00
andronache98
770a0c64bf Deleted println from tests 2022-01-09 14:46:55 +01:00
porosnicuadrian
0235c90f2d New GetCdrID method 2022-01-09 14:46:22 +01:00
andronache98
ee727e26fb 98.5 coverage for cdr in engine 2022-01-06 17:27:54 +01:00
andronache98
75a1106865 Tests for cover in engine/cdrs.go 2022-01-06 17:27:54 +01:00
porosnicuadrian
4b1f6ab11a Updated ProcessEventWithGet for cdrs 2022-01-06 17:07:02 +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
ionutboangiu
8e6f2c360c Add test for paginate function 2022-01-06 17:06:30 +01:00
ionutboangiu
b2f54c1001 Update paginate function 2022-01-06 17:06:30 +01:00
ionutboangiu
f8a2432386 Fix compilation errors 2022-01-06 17:06:30 +01:00
ionutboangiu
cfcb55790d Change paginator behaviour for GetFilterIDs API 2022-01-06 12:23:46 +01:00
porosnicuadrian
018c729fc7 Fixed config tests 2022-01-06 08:20:21 +01:00
porosnicuadrian
1216cadc89 Joined APIOpts and opts in args of archive api 2022-01-06 08:20:21 +01:00
porosnicuadrian
04f77ad5e4 Updates on prometheus code 2022-01-06 08:20:21 +01:00
porosnicuadrian
40c6b6ac29 Modified prometehus opts in stats 2022-01-06 08:20:21 +01:00
ionutboangiu
58acd2ee30 Cover export logger functions 100% 2022-01-05 20:16:54 +01:00
ionutboangiu
a73b22023e Fix failing test from config 2022-01-05 20:16:54 +01:00
andronache98
b26ddf0ac4 Started repairing tests for cdr in general 2022-01-05 12:09:50 +01:00
ionutboangiu
65f904e277 Add tests for exporter logger 2022-01-04 17:49:27 +01:00
ionutboangiu
a23c8218d3 Fix issue where engine would panic when attempting to export through a closed connection 2022-01-04 17:49:27 +01:00
porosnicuadrian
2be78a74c1 Added exporting to prometheus to stats 2022-01-03 12:25:42 +01:00
porosnicuadrian
6b542b3dd8 Adde *prometheusOpts metrics to stats and to cores 2022-01-03 12:25:42 +01:00