Commit Graph

47 Commits

Author SHA1 Message Date
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
porosnicuadrian
2ab7db86da changed weight/rateWeight into dynamicWeight + tests 2021-02-15 20:28:00 +01:00
porosnicuadrian
6f52361ab7 Changed from AddBig to SumBig 2021-01-20 17:38:10 +01:00
Trial97
b6a2434969 Updated integration tests 2021-01-13 16:05:04 +01:00
TeoV
66e2b4cd01 Remove RoundingMethod and RoundingDecimals from RateProfile 2021-01-12 20:02:01 +01:00
TeoV
d71eb21713 Update code after PR 2021-01-12 20:02:01 +01:00
TeoV
3e6b8b836d Add APIRateProfile + update integration tests 2021-01-12 20:02:01 +01:00
TeoV
cb854d758f Update unit tests after RateS update 2021-01-11 12:44:28 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
porosnicuadrian
99e7623f51 Tests in rates directory + updated computeRateSIntervals function 2020-11-27 08:43:03 +01:00
TeoV
318145d7c5 Populate other fields for RateCost and add an example of test for CorrectCost 2020-11-26 12:24:17 +01:00
porosnicuadrian
def6b2091e Removed full variable from compressEquals siganture's function 2020-11-25 14:22:55 +01:00
TeoV
49ca1b3c98 Update Cost function for RateSInterval and CompressEqual 2020-11-25 10:37:17 +01:00
TeoV
380d6ae29b Add example test for cost with both FixedFee and RecurrentFee 2020-11-25 10:37:17 +01:00
DanB
f24baa15b4 RateS - RateProfileCost with CorrectCost method 2020-11-24 15:58:22 +01:00
DanB
4fcc3245af RateS - processing FixedFee in increments 2020-11-24 12:33:24 +01:00
TeoV
4c2b38f4a4 Move ConnectFee from RateProfile to IntervalRate from Rates 2020-11-24 11:11:16 +01:00
TeoV
addba2e2ac Update TPExporter to return correct error 2020-11-24 10:49:53 +01:00
DanB
0990316b74 RateS - interval usage has higher priority than next increment start 2020-11-22 14:47:13 +01:00
porosnicuadrian
921d1d2023 Removed Decimal struct in utlis and repalced with *decimal.Big 2020-11-20 11:27:20 +01:00
TeoV
83f5ad7b7f Add integration test for RateSv1.CostForEvent 2020-11-18 13:07:47 +01:00
DanB
8940ebd7e8 RateS - adding V1CostForEvent API method 2020-11-15 14:37:37 +01:00
DanB
748b8f9b34 RateS - adding compressing to intervals and increments 2020-11-13 20:13:00 +01:00
DanB
16fe6c2b2c RateS computeRateSIntervals accepting usageStart 2020-11-13 14:18:01 +01:00
DanB
103ed0ddb3 First test of CostForIntervals 2020-11-12 18:53:45 +01:00
DanB
20c086e42a RateS computeRateSIntervals implementation, engine.CostForIntervals 2020-11-12 18:53:45 +01:00
porosnicuadrian
7df8768836 Added tests for rateprofile 2020-10-27 17:14:25 +01:00
DanB
9e7ee47f4e Simplified return of RateS orderRatesOnIntervals 2020-10-23 13:43:35 +02:00
DanB
66021cbe21 Small reorganisation inside rateprofile 2020-10-20 20:14:58 +02:00
TeoV
1903b25f3c Add UID method on Rate object 2020-10-20 19:51:36 +02:00
DanB
32a66fdad1 RateS orderRatesonIntervals in alpha 2020-10-20 13:38:31 +02:00
DanB
a15c69a727 Adding RunTimes to Rate within RateS, redesign of orderRatesOnIntervals 2020-10-20 13:38:31 +02:00
porosnicuadrian
62d2b59967 Renamed Rate.ActivationTime to ActivationTimes 2020-09-21 17:14:01 +03:00
DanB
319ee97075 Replacing cron to cgrates/cron repo 2020-09-05 20:30:52 +02:00
Trial97
14ea06842f Updated modules 2020-08-07 09:27:02 +02:00
TeoV
e46a06c354 Sort Rates from RateProfile based on IntervalStart before saving in dataDB 2020-08-07 09:22:07 +02:00
Trial97
11dac21b88 Starting replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00
DanB
ed6886fcb3 Comment update 2020-07-08 12:32:12 +02:00
adragusin
9d39d572d8 Renamed ActivationStart to ActivationTime 2020-07-06 03:53:18 -04:00
DanB
f9cc4b4db5 RateS with initial OrderRatesOnIntervals 2020-07-02 18:38:01 +02:00
TeoV
7040c5971b Update test with new structure for RateProfile 2020-07-01 10:11:18 +03:00
TeoV
e66ff36383 Update structure for Rates from RateProfile 2020-07-01 10:09:26 +03:00
DanB
9a893dd2f2 Reorganizing Rates sorting - pending 2020-06-24 20:24:03 +02:00
TeoV
f0ba9a093d Use correctly SessionTTLUsage when calculate end usage in case of terminate session from ttl mechanism 2020-06-17 10:21:05 +02:00
TeoV
21773a185d Update RateProfile to use map[string]*Rate instead of slice 2020-06-15 15:13:16 +02:00
DanB
72a521a66d RateS.V1CostForEvent receiving profile selectors, orderRatesOnIntervals function with tests 2020-06-12 20:41:16 +02:00
TeoV
75406ceaf2 Add skel ( incomplete ) for RateProfiles 2020-06-11 16:49:21 +02:00