Commit Graph

2710 Commits

Author SHA1 Message Date
porosnicuadrian
2c953ef513 Finished CRUD tests for rates 2022-02-06 09:49:37 +01:00
porosnicuadrian
2c587c1b6c Redesigned APIRateProfile + tests 2022-02-06 09:49:37 +01:00
porosnicuadrian
e748667165 Updated rates set/get/remove for mongo 2022-02-03 16:11:16 +01:00
porosnicuadrian
ae4e92ded4 Moved marshaler and added to map ratePrf 2022-02-03 16:11:16 +01:00
porosnicuadrian
e84b89186c Updated redis itnerface for rates 2022-02-03 16:11:16 +01:00
porosnicuadrian
5b1924391a Improved accounts + corrected tests after improve 2022-02-03 16:11:16 +01:00
ionutboangiu
2a956af08c Add merge function for interval rates and update some set funcs 2022-02-02 14:17:40 +01:00
ionutboangiu
30e419429d Update match functions for dispatcher profiles 2022-02-02 14:17:40 +01:00
porosnicuadrian
6244374b5d Added test fort decimal 2022-01-26 18:28:55 +01:00
ionutboangiu
d9704ef00a Update tests after making changes to profile loading 2022-01-21 17:11:56 +01:00
ionutboangiu
ba47460b64 Consider loading dynWeights only when they are populated 2022-01-21 17:11:56 +01:00
ionutboangiu
f1c2c66309 Update clone and asmapinterface functions for eescfg 2022-01-19 19:53:34 +01:00
DanB
f2f63305b7 CDRs refund costs for AccountS 2022-01-17 20:20:43 +01:00
DanB
285b45ef8e AccountSv1.RefundCharges API 2022-01-17 17:45:24 +01:00
ionutboangiu
b229d5861b Add console commands for Get*Profiles apis and update some of the others to improve consistency 2022-01-17 17:01:09 +01:00
andronache98
a1c7b9a8bd Tests for routes 2022-01-14 18:14:57 +01:00
andronache98
83c71bb956 Integration tests for stats and thresholds 2022-01-14 18:14:57 +01:00
andronache98
78c9641a8a Integration tests for rates resources and chargers 2022-01-14 18:14:57 +01:00
porosnicuadrian
d9654460ac Removed getUniqueCDRID 2022-01-14 18:13:38 +01:00
andronache98
7a9a85a60d Integration tests for chargers in apis 2022-01-13 17:39:50 +01:00
andronache98
21cab1a2f0 Tests for GetAttributes and refactored function to use APIAttributeProfile 2022-01-13 17:39:50 +01:00
andronache98
d452fb25ef Tests for actions 2022-01-13 17:39:50 +01:00
andronache98
d995b8f4af Integration tests for GetAccounts 2022-01-13 17:39:50 +01:00
ionutboangiu
3ff0a3fafb Move pagination tests to the appropriate file 2022-01-13 17:24:22 +01:00
ionutboangiu
da80005a60 Encode the value for *password type attributes 2022-01-13 17:24:22 +01:00
ionutboangiu
bfccb7c43c Move functions and struct types to the folders they belong to 2022-01-12 20:16:43 +01:00
porosnicuadrian
ff143cf5aa Renamed sqlDSNParams into mysqlDSNParams 2022-01-12 12:37:57 +01:00
ionutboangiu
b3879194c1 Add additional tests for paginator 2022-01-12 12:01:09 +01:00
andronache98
f9b65025af Tests for GetFilters function 2022-01-12 08:44:36 +01:00
andronache98
917e8045a5 Removed set and get for cdrs 2022-01-12 08:44:36 +01:00
porosnicuadrian
89a9cd8598 Added DSN opts for exporter sql 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
583cd71a42 Remove unused struct types, functions and tests related to paginator 2022-01-10 19:59:10 +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
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
porosnicuadrian
0235c90f2d New GetCdrID method 2022-01-09 14:46:22 +01:00
porosnicuadrian
4b1f6ab11a Updated ProcessEventWithGet for cdrs 2022-01-06 17:07:02 +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
cfcb55790d Change paginator behaviour for GetFilterIDs API 2022-01-06 12:23:46 +01:00
porosnicuadrian
04f77ad5e4 Updates on prometheus code 2022-01-06 08:20:21 +01:00
porosnicuadrian
2be78a74c1 Added exporting to prometheus to stats 2022-01-03 12:25:42 +01:00
porosnicuadrian
7bf007da5b Added prometheusMetrics in stats config 2022-01-03 12:25:42 +01:00