Commit Graph

2823 Commits

Author SHA1 Message Date
andronache98
6cddc10b00 Renaming count APIs 2022-02-13 15:09:53 +02:00
andronache98
fad736e5a6 Changed Weights from float64 to DynamicWeights for Resources and Chargers 2022-02-13 15:09:53 +02:00
andronache98
b6ff4ba8d8 DynamicWeights in ActionProfile 2022-02-10 10:48:29 +02:00
porosnicuadrian
18866b903a Added getRateProfileRates api/redisDrv + tests 2022-02-08 19:10:14 +01:00
andronache98
fbd5ae7050 DynamicWeights for ThresholdProfile 2022-02-08 19:08:45 +01:00
ionutboangiu
d1716ec7dc Remove APIAccount and all structs related to it 2022-02-08 12:30:20 +01:00
porosnicuadrian
e3a96628ba Added GetRateProfileRateIDs apis + redis implementation 2022-02-07 20:04:53 +01:00
andronache98
09e44a0e6b Stat has Weights in DynamicWeights now 2022-02-06 09:52:26 +01:00
andronache98
bb30b65ef5 Fixed tests using originID in event instead of opts 2022-02-06 09:52:26 +01:00
andronache98
3ed0e7eaa2 Changed Weight to Weights of type DynamicWeights in AttributeProfile 2022-02-06 09:52:26 +01:00
andronache98
2e4b77e4df Commented CGRID where it is not needed 2022-02-06 09:52:26 +01:00
andronache98
ebfd371bb7 Removed CGRID from Session struct 2022-02-06 09:52:26 +01:00
andronache98
ca839daa29 Changed CGRID to *originID and removed it in most places 2022-02-06 09:52:26 +01:00
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