Commit Graph

2737 Commits

Author SHA1 Message Date
ionutboangiu
0ecfc20283 Update json converter to return empty string when error is not nil 2022-03-09 10:58:58 +01:00
ionutboangiu
46acb095f6 Add *json converter + tests 2022-03-09 10:58:58 +01:00
DanB
f8502f0043 Basic Skel of tpExporter 2022-03-07 16:15:21 +01:00
porosnicuadrian
cafa791a11 Changed TpeS to TPeS 2022-03-03 20:35:24 +02:00
ionutboangiu
97c8d982be Add RPCAPIOpts for ees 2022-03-02 18:05:35 +02:00
ionutboangiu
b2f11e7f42 Implement config drv funcs for redis, mongo and internal dbs 2022-03-02 12:06:33 +02:00
ionutboangiu
eb22903fd4 Add get,set,remove functions for config sections using redis + tests 2022-03-02 12:06:33 +02:00
porosnicuadrian
4de3b13c12 Added tpes infrastructure and ping method 2022-03-02 11:47:22 +02:00
porosnicuadrian
0d1da8e628 Added CGREventWithRateProfile + finished api tests 2022-02-17 21:11:55 +02:00
ionutboangiu
aa9f11ab6f Add tests for all the created clone functions 2022-02-14 20:45:49 +02:00
ionutboangiu
cb3531d61b Add clone function for EventCharges 2022-02-14 20:45:49 +02:00
porosnicuadrian
dcdd696932 Added ratePRofileRatesFOrEvent apis + tests 2022-02-14 17:23:35 +02:00
porosnicuadrian
f5f6dd746a Added gerRateProfilesForEvents API + tests 2022-02-14 17:23:35 +02:00
porosnicuadrian
01cc2407db Removed setRateProfileRates api + tests 2022-02-14 17:23:35 +02:00
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