Commit Graph

5232 Commits

Author SHA1 Message Date
ionutboangiu
53807032a0 Add cover tests in apis 2022-03-18 11:58:16 +01:00
ionutboangiu
d2d18fed94 Add tests for filter validation functions 2022-03-16 20:24:39 +01:00
ionutboangiu
edb985f42d Update filter rule validation condition 2022-03-16 20:24:39 +01:00
ionutboangiu
5df20653f5 Implement function to check whether filter rules are valid or not 2022-03-16 20:24:39 +01:00
porosnicuadrian
07f697edeb Updated tpe_actions 2022-03-16 11:51:35 +01:00
ionutboangiu
f52abc330a Add cover tests for apis 2022-03-11 19:33:03 +01:00
ionutboangiu
4fb2f7dc0b Return nil instead of NOT_FOUND if no opts pass the filters 2022-03-09 17:26:35 +01:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
andronache98
621f1b21cd Fixed tests in general_tests after stordb removal 2022-03-09 14:14:30 +01:00
andronache98
cd1ee0861f Repaired tests for version.go 2022-03-09 14:14:30 +01:00
andronache98
74d8a61c15 Repaired most integration tests using storDB 2022-03-09 14:14:30 +01:00
andronache98
e2901630c9 Removed json files using stordb 2022-03-09 14:14:30 +01:00
andronache98
9a4da75210 Resolved unit tests 2022-03-09 14:14:30 +01:00
andronache98
928dbd9e42 Removing StorDB 2022-03-09 14:14:30 +01:00
andronache98
03793c0082 Removed storDB from config 2022-03-09 14:14:30 +01:00
ionutboangiu
004a91a6a6 Update GetIntPointerOpts function to return NOT_FOUND when none of the filters pass 2022-03-09 10:58:58 +01:00
ionutboangiu
af4eb71761 Add tests for GetOpts functions (final) 2022-03-09 10:58:58 +01:00
ionutboangiu
6dfb242699 Add tests for GetOpts functions 2022-03-07 19:19:02 +01:00
ionutboangiu
2d15d6fe80 Add tests for GetOpts functions 2022-03-07 10:59:02 +02:00
porosnicuadrian
4a2b8ff6e1 Fixed loaders cfg and weights 2022-03-07 10:58:21 +02:00
ionutboangiu
5d2089979c Remove tenant from arguments for config storage functions 2022-03-02 16:02:15 +02:00
ionutboangiu
a6e2ca3b77 Update redis config functions 2022-03-02 16:02:15 +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
c7092cc0df Renamed AteredFields + updated uniqueALteredFields method 2022-03-01 15:51:07 +02:00
porosnicuadrian
75fc37db2c renamed into Filters + uniqueAlteredFields 2022-02-25 14:38:26 +01:00
porosnicuadrian
93a5e66774 Renamed AlteredFields into Fields 2022-02-25 14:38:26 +01:00
porosnicuadrian
bf5c694ecd Combined matchedProfile and alteredField for attributes 2022-02-24 17:28:38 +01:00
andronache98
264bf60723 Fixed conflicts 2022-02-20 10:38:07 +01:00
andronache98
7e80fe008f Removed cdr struct 2022-02-20 10:38:07 +01:00
andronache98
df412e55fb Tests regarding dynamic weights 2022-02-20 10:38:07 +01:00
ionutboangiu
52a1902c65 Make APIAttributeProfile Weights field of type DynamicWeights 2022-02-20 10:37:19 +01:00
ionutboangiu
c6ca3573ae Add APIAttributeProfile and structs related to it 2022-02-17 21:14:48 +02:00
ionutboangiu
65d832e0dc Update loader functionality + tests 2022-02-17 21:14:48 +02:00
porosnicuadrian
104a06d24b Added support at mongo dirver for count/list rates 2022-02-17 21:11:55 +02:00
andronache98
c79d0cb4bd Moving *rateSCost and *accountSCost in APIOpts 2022-02-14 18:06:53 +02:00
porosnicuadrian
f5f6dd746a Added gerRateProfilesForEvents API + tests 2022-02-14 17:23:35 +02:00
porosnicuadrian
1cbf8c711e Improved SetRateProfile for data manager + 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
51362f35e7 Fixed integration tests 2022-02-10 10:48:29 +02:00
andronache98
ffb41e083b Fixed tests 2022-02-10 10:48:29 +02:00
andronache98
b6ff4ba8d8 DynamicWeights in ActionProfile 2022-02-10 10:48:29 +02:00
porosnicuadrian
ff5f69cd15 Update code for rates apis/drivers 2022-02-08 19:10:14 +01:00
porosnicuadrian
18866b903a Added getRateProfileRates api/redisDrv + tests 2022-02-08 19:10:14 +01:00
porosnicuadrian
e4e7282939 Added list/count rates for mongo driver 2022-02-08 19:10:14 +01:00
andronache98
3432bbd853 Repaired tests 2022-02-08 19:08:45 +01:00
andronache98
fbd5ae7050 DynamicWeights for ThresholdProfile 2022-02-08 19:08:45 +01:00
ionutboangiu
6612b461c4 Remove APIAttributeProfile and all structs related to it 2022-02-07 20:05:36 +01:00