Commit Graph

60 Commits

Author SHA1 Message Date
adi
734776b113 Unified consts of opts 2022-10-03 18:29:24 +03:00
porosnicuadrian
5662444a10 Blockers + tests 2022-04-20 20:29:01 +02: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
9a4da75210 Resolved unit tests 2022-03-09 14:14:30 +01: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
01cc2407db Removed setRateProfileRates api + tests 2022-02-14 17:23:35 +02:00
ionutboangiu
034adf8a52 Make field names for CGRConfig and FilterS values consistent across all Service structs 2021-11-11 12:23:21 +02:00
andronache
7ab4167613 Corrected header in multiple files 2021-11-01 13:50:00 +02:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
andronache
1b7108eb7a Finished tests for ProfileIgnoreFilters option 2021-10-22 12:04:12 +03:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
ionutboangiu
ad6ee01bd3 Fix unit tests after changing opts structure 2021-10-13 20:32:43 +03:00
ionutboangiu
77e805bee9 Fix tests after changing opts structure (incomplete) 2021-10-13 20:32:43 +03:00
Trial97
e1701b314e Added *profileIgnoreFilters for rates 2021-10-11 12:06:57 +03:00
porosnicuadrian
dcdfabb5f6 Tested cdrs ProcessEvent with rates 2021-10-08 11:07:45 +03:00
ionutboangiu
e819f10c76 Add AccountIDs and RateProfileIDs to Opts in cfg 2021-09-19 12:13:38 +02:00
porosnicuadrian
320f14157e Fixed tests 2021-07-03 16:42:03 +02:00
porosnicuadrian
6678b03969 Renaming IntervalRateIndex to RateIntervalIndex within RateSIncrement 2021-06-23 20:54:32 +02:00
porosnicuadrian
498bfdeac5 Last fixes for RateProfileCost 2021-06-23 20:54:32 +02:00
porosnicuadrian
57f6a6fc6d Fixed tests for RatesINtervals 2021-06-22 19:24:00 +02:00
porosnicuadrian
0213bfa28f CostIntervals instead of RateSIntervals 2021-06-22 19:24:00 +02:00
porosnicuadrian
411e4a4515 Decimal fields instead of float in RateProfileCOst + tests 2021-06-22 19:24:00 +02:00
DanB
a7d6ea6231 Adding RateSIntervalCost structure in librates 2021-06-17 17:46:48 +02:00
Trial97
c397cb31eb Updated datamanager methods 2021-05-26 15:54:36 +02:00
ionutboangiu
f3c4d659df Remove Time field from CGREvent and fix failing tests 2021-05-19 19:27:43 +02:00
porosnicuadrian
5f1bdadade Chaned test by adding IntervalRates + little fixes 2021-05-17 17:58:44 +02:00
ionutboangiu
c3cd02f02b Remove ActivationInterval from RateProfile 2021-05-17 17:54:24 +02:00
porosnicuadrian
bdff981a2f Commented for a while because of the changes 2021-05-12 16:26:10 +02:00
porosnicuadrian
7c96ee6f01 Tested all functionalities 2021-05-12 16:26:10 +02:00
porosnicuadrian
57d677af1d Updated rates test with new Fields 2021-05-12 16:26:10 +02:00
andronache
b776d89940 100% Coverage for rates/rates.go 2021-05-11 20:53:56 +02:00
Trial97
b4768ce99a Added ConfigSv1 and RateSv1 APIs back 2021-04-16 17:53:36 +02:00
Trial97
c04c0a5adb Added ConfigDB and option to read config from DB 2021-04-16 17:53:36 +02:00
Trial97
3406d3c7c9 Updated based on new rpc library 2021-04-13 13:35:03 +02:00
andronache
32c234a6c7 In CGREvent changed Opts in APIOpts 2021-03-23 14:35:11 +01:00
porosnicuadrian
8b9508c5a2 Fixed tests by adding default usage + covered accounts 2021-03-19 18:50:52 +01:00
porosnicuadrian
93df974ba7 Fixed unit tests for rateProfile package and fields 2021-03-18 18:12:47 +01:00
DanB
5166bfe86f Adding DynamicWeight support to RateS 2021-02-16 18:03:00 +01:00
porosnicuadrian
2ab7db86da changed weight/rateWeight into dynamicWeight + tests 2021-02-15 20:28:00 +01:00
Trial97
6d9585b1ff Added integration tests for sessions routes max cost 2021-02-09 15:16:20 +01:00
Trial97
5a25443e17 Updated the syntax for inline filters and attributes values 2021-02-05 17:41:56 +01:00
andronache
fcbd0f19fe Refactored tests in engine 2021-01-20 17:37:34 +01:00
TeoV
ae146640f4 Start merging CGREventWithOpts with CGREvent 2021-01-14 10:30:35 +01:00
TeoV
cb854d758f Update unit tests after RateS update 2021-01-11 12:44:28 +01:00
TeoV
5775d09c7b Add infrastructure for AccountS in DataManager 2020-12-21 10:19:59 +01:00
porosnicuadrian
457e638015 Updated a test in rates_test.go 2020-12-14 16:57:48 +01:00
porosnicuadrian
1221e72598 Covered rates to 100% 2020-12-14 16:57:48 +01:00
porosnicuadrian
5e3e53e3ed Cover tests for rates.go 2020-12-11 17:46:49 +01:00