Commit Graph

144 Commits

Author SHA1 Message Date
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
ionutboangiu
5490cf66bf Fix all the compilation errors in non-test files 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
1e7ff42468 Implement GetTimeOpts function in libfilters.go 2021-10-06 12:18:40 +02:00
ionutboangiu
b92e64ee86 Use the newly implemented functions to retrieve the opts from APIOpts/config 2021-10-05 21:04:38 +02:00
ionutboangiu
1a4e73a8c6 Fix the compilation errors in non test files (incomplete) 2021-10-04 11:29:37 +02:00
ionutboangiu
5c67d6fd2d Change type of rates opts to map (incomplete) 2021-09-28 20:44:55 +02:00
ionutboangiu
a8e3b311b9 Replace OptsRatesUsage with OptsAccountsUsage where necessary and refactor OptsAsDecimal 2021-09-21 19:32:03 +02:00
ionutboangiu
0d5945cf12 Add StartTime, IntervalStart and Usage as opts for rates 2021-09-20 19:43:56 +02:00
ionutboangiu
e819f10c76 Add AccountIDs and RateProfileIDs to Opts in cfg 2021-09-19 12:13:38 +02:00
porosnicuadrian
2dccdb2162 Updated Equals method + tests 2021-07-27 16:18:43 +02:00
porosnicuadrian
a92ec06b54 Changed declaration of rtIds to avoid panic 2021-07-13 13:46:54 +02:00
Trial97
9fa3cd4b8c Added all index health APIs 2021-07-08 09:58:16 +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
6573963c2b Worked for RateProfileCost fields 2021-06-22 19:24:00 +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
porosnicuadrian
81fa5a9c0f Added in indexes APIs all missing cases 2021-06-14 16:00:18 +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
andronache
dda327c13d Cover tests in apis for rates 2021-05-19 19:26:40 +02:00
porosnicuadrian
9c9bd14807 Little fixes on IntervalRates/EventCharges 2021-05-17 17:58:44 +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
fb5890ae63 Modified Rates field in RateProfileCost + Equals/As methods 2021-05-12 16:26:10 +02:00
porosnicuadrian
3ca4f20bf9 New rates map and RateID field for rates methods 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
fcffdd68a7 100% Coverage in Rates 2021-05-12 13:54:58 +02:00
andronache
b776d89940 100% Coverage for rates/rates.go 2021-05-11 20:53:56 +02:00
DanB
7668430fdd RateS - FixedFee should be possible without RecurrentFee, AccountS updates 2021-05-07 14:09:19 +02:00
DanB
c8433aacd2 AccountS - properly process Abstract balance with unit factor and insufficient units 2021-05-03 13:17:57 +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
2da495af19 Starting adding back AttributesSv1 APIs 2021-04-13 13:35:03 +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
porosnicuadrian
5d323f4671 Removed RateProfile from engine package to utils 2021-03-18 18:12:47 +01:00
andronache
3d08f30656 Fixed cover test 2021-02-25 18:14:21 +01:00
andronache
2edfd207d2 Refactoring and tests in services 2021-02-25 18:14:21 +01:00
porosnicuadrian
332b174915 Repaired tests in librates 2021-02-19 19:15:47 +01:00