Commit Graph

13092 Commits

Author SHA1 Message Date
andronache98
6ef657da5a Modifed GetFilters API 2022-01-12 20:14:20 +01:00
porosnicuadrian
ff143cf5aa Renamed sqlDSNParams into mysqlDSNParams 2022-01-12 12:37:57 +01:00
porosnicuadrian
c0590c77d8 UPdated ProcessEventWIthGet caching 2022-01-12 12:37:57 +01:00
porosnicuadrian
5912e6aacf Added DSNopts for stor_db 2022-01-12 12:37:57 +01:00
ionutboangiu
b3879194c1 Add additional tests for paginator 2022-01-12 12:01:09 +01:00
ionutboangiu
e3a7e7d33e Fix failing logger tests 2022-01-12 12:01:09 +01:00
ionutboangiu
5fd7f61dce Fix export logger call function 2022-01-12 12:01:09 +01:00
andronache98
6735c998c6 Modified GetFilters in apis 2022-01-12 08:44:36 +01:00
andronache98
f9b65025af Tests for GetFilters function 2022-01-12 08:44:36 +01:00
andronache98
4c1be8d4c1 Added get filters api 2022-01-12 08:44:36 +01:00
andronache98
fceb0688eb Added tests for dynamicdp 2022-01-12 08:44:36 +01:00
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