Commit Graph

5241 Commits

Author SHA1 Message Date
ionutboangiu
437db2bccb Add maxcost functionality and continue repairing routes it test 2022-03-29 17:17:29 +02:00
ionutboangiu
f1c07f8b0c Repair tests in general_tests 2022-03-29 17:17:29 +02:00
ionutboangiu
24834ba933 Add additional tests for indexes 2022-03-26 09:13:26 +01:00
nickolasdaniel
51b495695b Coveraget tests 2022-03-24 16:47:31 +01:00
porosnicuadrian
d9bb5bca7a Tested filtering on *rateSCost field 2022-03-23 20:01:29 +01:00
nickolasdaniel
95389fc642 Coverage tests for 1.0 2022-03-23 20:00:17 +01:00
ionutboangiu
76c9194ace Update APIAttributeProfile converter function to take into account the Blocker as well 2022-03-23 17:17:06 +01:00
ionutboangiu
d618c608c3 Move APIOpts initialization when null 2022-03-23 11:18:05 +01:00
nickolasdaniel
e307bd82ef Tests for coverage 2022-03-23 07:37:26 +01:00
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