Commit Graph

490 Commits

Author SHA1 Message Date
andronache98
88b57840c0 Fixed most tests related to change from Weight to Weights for AttributeProfile 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
ca839daa29 Changed CGRID to *originID and removed it in most places 2022-02-06 09:52:26 +01:00
andronache98
03bd4cac6e Changed integration test 2022-02-06 09:52:26 +01:00
porosnicuadrian
82255dd6ff Update rate-profile test 2022-02-06 09:49:37 +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
ionutboangiu
6950b3a26a Update loader tests (final) 2022-02-06 09:49:12 +01:00
porosnicuadrian
782155312f Updated RemoveRateProfile for rates 2022-02-03 16:11:16 +01:00
porosnicuadrian
e748667165 Updated rates set/get/remove for mongo 2022-02-03 16:11:16 +01:00
porosnicuadrian
4b330ae105 Updated tests after update for redis 2022-02-03 16:11:16 +01:00
porosnicuadrian
e84b89186c Updated redis itnerface for rates 2022-02-03 16:11:16 +01:00
porosnicuadrian
d4b65ef86a Updated it test for accounts 2022-02-03 16:11:16 +01:00
porosnicuadrian
5b1924391a Improved accounts + corrected tests after improve 2022-02-03 16:11:16 +01:00
porosnicuadrian
4c9d62870e Updated it tests in apis 2022-02-03 16:11:16 +01:00
ionutboangiu
86ad9938de Remove APIRouteProfile and all structs related to it 2022-02-02 14:17:40 +01:00
ionutboangiu
4d204ab9ec Repair stats loader test 2022-02-02 14:17:40 +01:00
ionutboangiu
c3f91101cc Update loader tests 2022-02-02 14:17:40 +01:00
ionutboangiu
13b52eafff Repair tests failing because of slice order 2022-02-02 14:17:40 +01:00
ionutboangiu
e735a70636 Update tests for loaders 2022-02-02 14:17:40 +01:00
ionutboangiu
f562066ee9 Update loaders tests (incomplete) 2022-01-26 18:29:20 +01:00
porosnicuadrian
17ba57f7b1 Improved getFIelds for GetKeysForPrefix mongo 2022-01-26 18:28:55 +01:00
porosnicuadrian
1e3e42ef86 Fixed test for accounts after improving code 2022-01-26 18:28:55 +01:00
ionutboangiu
2f7affbd7d Update tests for loaders (incomplete) 2022-01-26 17:33:18 +01:00
ionutboangiu
d9704ef00a Update tests after making changes to profile loading 2022-01-21 17:11:56 +01:00
porosnicuadrian
d2b3620d4a IMproved refund apis with unitfactor + concrete merge 2022-01-21 16:38:45 +01:00
porosnicuadrian
100f797ee7 Tested refundCHarges and started to improve it 2022-01-20 21:03:47 +01:00
porosnicuadrian
5fb7878879 Added cfg for notexists_indexed_fields 2022-01-20 21:03:47 +01:00
porosnicuadrian
0ca4c49093 Updated indexes for *exists/*notexists to be *any/*none 2022-01-20 21:03:47 +01:00
porosnicuadrian
1e12ab7968 Adapted GetFIlterINdexes for *exists/*notexists 2022-01-20 21:03:47 +01:00
porosnicuadrian
3ebb6936c5 Improved indexes for exists + tests 2022-01-20 21:03:47 +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
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
ac8e909c79 Refactor GetFilters api 2022-01-13 17:24:22 +01:00
ionutboangiu
3d3827bbee Make error handling consistent across Get*Profiles apis 2022-01-13 17:24:22 +01:00
ionutboangiu
e65cc92703 Add Get*Profiles functions (untested) 2022-01-12 20:16:43 +01:00
ionutboangiu
ecd46cbeb7 Add GetAccounts function for accounts subsystem 2022-01-12 20:16:43 +01:00
ionutboangiu
e2ec22b4ba Fix key indexing for all the relevant subsystems 2022-01-12 20:16:43 +01:00
andronache98
6ef657da5a Modifed GetFilters API 2022-01-12 20:14:20 +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
DanB
df6fd49b95 Correctly index keyPrefix for filters 2022-01-10 20:21:36 +01:00