Commit Graph

72 Commits

Author SHA1 Message Date
DanB
53f8b34f01 ActionS - ActionProfile initial definition 2020-12-02 14:00:51 +01:00
porosnicuadrian
711d7d5a1a Removed error from NewDefaultCGRConfig signature's function 2020-12-02 14:00:35 +01:00
porosnicuadrian
4b4cb5d3d0 More tests for computeRateSIntervals 2020-12-02 14:00:35 +01:00
Trial97
9de6a2d172 Updated shutdown channel handling 2020-11-29 20:06:30 +01:00
porosnicuadrian
2ced7dbc26 More tests for computeRatesIntervals function + removed compressedEquals from the computeRateIntervals 2020-11-27 08:43:03 +01:00
porosnicuadrian
99e7623f51 Tests in rates directory + updated computeRateSIntervals function 2020-11-27 08:43:03 +01:00
porosnicuadrian
8ac450a396 Tests for librates.go 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
porosnicuadrian
08a8fedd5f More tests for computeRateSIntervals in rates directory 2020-11-25 14:22:55 +01:00
porosnicuadrian
9e83b9448e Moved connectFee upper in incremets intervals 2020-11-25 10:38:11 +01:00
porosnicuadrian
6a72adf9fa Added more tests for computeRatesIntervals function in rates directory 2020-11-25 10:38:11 +01:00
TeoV
380d6ae29b Add example test for cost with both FixedFee and RecurrentFee 2020-11-25 10:37:17 +01:00
DanB
0bbcdfa250 RateS - Apply FixedFee also for the second increment in Rate 2020-11-24 13:58:50 +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
porosnicuadrian
7ec99afae9 Covered config by adding integration tests + removed error from singature's functions in config 2020-11-24 10:50:22 +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
porosnicuadrian
fc838b6f32 Covered tests for computeRateSInterval function 2020-11-20 11:27:20 +01:00
Trial97
28ea7e8596 Updated AnalyzerSv1 API 2020-11-20 10:36:54 +01:00
TeoV
979a2818a7 Calculate cost from routes with rateS and move ArgsCostForEvent in utils 2020-11-18 13:07:47 +01:00
TeoV
83f5ad7b7f Add integration test for RateSv1.CostForEvent 2020-11-18 13:07:47 +01:00
Trial97
a81fce8341 Updated services shutdown 2020-11-16 10:11:46 +01:00
DanB
8940ebd7e8 RateS - adding V1CostForEvent API method 2020-11-15 14:37:37 +01:00
DanB
d2d1139de0 RateS - adding rateProfileCostForEvent 2020-11-13 20:39:54 +01:00
DanB
748b8f9b34 RateS - adding compressing to intervals and increments 2020-11-13 20:13:00 +01:00
DanB
ff8427f834 RateS ComputeRateSIntervals using totalUsage for partial computes 2020-11-13 18:35:36 +01:00
DanB
16fe6c2b2c RateS computeRateSIntervals accepting usageStart 2020-11-13 14:18:01 +01:00
DanB
20c086e42a RateS computeRateSIntervals implementation, engine.CostForIntervals 2020-11-12 18:53:45 +01:00
Trial97
5da4cf6d1c Updated account action plans integration tests for cache 2020-10-31 20:52:09 +01:00
DanB
2aa1387b58 Adding costWithRates skel to Rates 2020-10-30 13:38:30 +01:00
porosnicuadrian
d7fd8fc62b Added more tests for orderRatesOnIntervals in librates.go 2020-10-29 16:57:01 +01:00
porosnicuadrian
abf3c36259 Covered rates directory to 100% and added multiple cases for librates.go 2020-10-29 12:05:21 +01:00
porosnicuadrian
7c6f6894fd Uploaded tests for orderRatesOnInterval method 2020-10-27 17:14:25 +01:00
porosnicuadrian
de3cac31b4 Covered tests in rates.go 2020-10-27 17:14:25 +01:00
porosnicuadrian
6492c33613 Added some tests for rates.cfg in rates directory 2020-10-27 17:14:25 +01:00
porosnicuadrian
a0d76f5cb9 Covered rateprofile and librates to 100% 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
porosnicuadrian
5bcd909046 Added tests for covering rateprofile and rates directory 2020-10-20 19:56:09 +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
Trial97
61d2b4e922 Added *eventType to opts for process threhold 2020-10-09 14:27:48 +02:00
porosnicuadrian
62d2b59967 Renamed Rate.ActivationTime to ActivationTimes 2020-09-21 17:14:01 +03:00
Trial97
11dac21b88 Starting replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00
TeoV
05e2377d3c Add infrastructure for *suffix filter indexes 2020-07-30 11:13:37 +02:00
Trial97
b0c354c7c1 Updated filter indexes to only index dynamic path 2020-07-24 15:11:45 +02:00
DanB
3d5835463c RateS with winning rate 2020-07-08 12:32:12 +02:00
Dan Christian Bogos
888cf7a02e Merge pull request #2269 from adragusin/master
Renamed ActivationStart to ActivationTime
2020-07-06 20:26:15 +02:00