Commit Graph

13068 Commits

Author SHA1 Message Date
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
porosnicuadrian
7bf007da5b Added prometheusMetrics in stats config 2022-01-03 12:25:42 +01:00
porosnicuadrian
3d808ed9d4 Modified tenant in filecsv test 2022-01-03 12:25:42 +01:00
Trial97
594dcbb95f Updated threshold test 2021-12-23 17:44:47 +01:00
ionutboangiu
6d478ec75c Acknowledge AMQP message after processing it 2021-12-23 17:43:23 +01:00
andronache98
ef7baa8129 Repaired change for answer time 2021-12-22 17:52:34 +01:00
andronache98
b74f2306fc Tests for Default value for answer time is now null in cdrsql 2021-12-22 17:52:34 +01:00
andronache98
fc3c644f05 Default value for answer time is now null in cdrsql 2021-12-22 17:52:34 +01:00
Trial97
8cad69d2a3 Updated rsyslog files 2021-12-22 17:48:42 +01:00
Trial97
5953eec22a Updated tests for dispatchers and registrarc 2021-12-22 17:48:42 +01:00
Trial97
b9a97ba9d2 Updated disptacher tests 2021-12-22 17:48:42 +01:00
Trial97
924b0af483 Updated loaders test 2021-12-21 15:05:44 +01:00
Trial97
b699b4a43e Added loaders importZip API 2021-12-21 15:05:44 +01:00
Trial97
2601ff6163 Finished testing new methods 2021-12-21 15:05:44 +01:00