ionutboangiu
7a7b928aa0
Don't trim single digit values when parsing cron
...
Fixes an issue where 0 values would become empty inside the cron
expressions.
Added unit tests for the edge cases and grouped them together with
the previous ones under the same table test.
2024-06-30 17:52:29 +02:00
ionutboangiu
b7d172f78a
Fix misspellings
2023-06-21 11:02:39 +02:00
ionutboangiu
62619ba3a5
Replace interface{} with any
2023-06-05 10:55:32 +02:00
ionutboangiu
758a94280a
Apply project wide fmt
2022-11-16 10:13:44 +01:00
Trial97
bc08d94fae
Updated EventCost FieldAsInterface function. Fixes #2743
2021-03-19 18:48:54 +01:00
Trial97
ff5f5f2d21
Added FieldAsInterface for EventCost
2020-02-05 16:00:32 +01:00
adragusin
519f4800b3
Updated tests in engine
2019-12-03 04:45:06 -05:00
adragusin
a2ca74249e
Updated Clone function in action plan
2019-11-29 07:55:45 -05:00
DanB
9e2dc1b934
RateInterval.Equals for multiple Rates, fixes eventCost compressing
2019-03-01 19:32:53 +01:00
DanB
d081229d0d
Build test fixes
2017-11-17 14:26:18 +01:00
DanB
0cb9dca9a2
Redesigned core to support nanoseconds/data units, cgr-engine memory profiling in commandline options, tests updates
2017-11-09 18:27:09 +01:00
edwardro22
b651b06826
Removed copyright from go doc
2017-09-10 15:02:46 +00:00
DanB
7d33386913
utils.MINUTE -> utils.MetaEveryMinute, utils.HOUR -> utils.MetaHourly
2017-06-03 11:17:39 +02:00
DanB
2341ea95aa
EventCost Clone and initial Trim methods
2017-05-23 19:08:54 +02:00
DanB
738dc6001c
NewEventCostFromCallCost for EventCost
2017-05-16 18:47:29 +02:00
DanB
401625861d
Updated project README, COPYRIGHT information
2016-09-02 13:04:34 +02:00
Radu Ioan Fericean
182da50555
destination rate selection fixes
2016-05-16 21:20:56 +03:00
Radu Ioan Fericean
c9c49015b9
better check of 0h
2016-04-13 09:39:03 +03:00
Radu Ioan Fericean
6cf36e5be0
better rate intervals sorting according to weight
...
should solve the issue #424
2016-04-12 23:17:21 +03:00
Radu Ioan Fericean
43bc4c3f30
fix timespan compression crash
2016-03-01 16:15:33 +02:00
Radu Ioan Fericean
fd65c92000
more tests
...
fixes #325 , fixes #314
2016-01-09 18:35:14 +02:00
Radu Ioan Fericean
dc5da8663c
extended timespan compression
2016-01-09 18:07:36 +02:00
Radu Ioan Fericean
79dc7d5400
rate interval selection improvements
...
fixes #338
2016-01-06 18:45:33 +02:00
Radu Ioan Fericean
6b2e32944c
flood protection for scheduler
2015-12-09 15:36:31 +02:00
Radu Ioan Fericean
73685bb336
better rounding in callcost
2015-11-08 15:12:36 +02:00
Radu Ioan Fericean
f8d72138f3
improvement on timing contains date method
2015-08-03 20:57:26 +03:00
Radu Ioan Fericean
5e20dadfba
make sure account is not cached
2015-08-03 13:23:05 +03:00
Radu Ioan Fericean
39a51dc826
better rateinterval sorting
2015-08-03 11:50:56 +03:00
Radu Ioan Fericean
5adc94a45f
added cdrstats_queue and cdrstats_queue_triggers
...
console commands fixes #107
2015-07-03 17:26:25 +03:00
Radu Ioan Fericean
dd80669439
compare Timing with time in UTC
2015-07-02 18:40:07 +03:00
Radu Ioan Fericean
2de5b4811c
better validation and names fixes
2015-06-08 11:06:14 +03:00
Radu Ioan Fericean
d46ade3403
started rating profiles data validation on load
2015-05-21 10:19:51 +03:00
Radu Ioan Fericean
554d84266f
higher weights are better
2015-05-20 14:12:21 +03:00
Radu Ioan Fericean
da7e2580b7
added holiday rating plan test
2015-05-20 14:12:21 +03:00
Radu Ioan Fericean
643636872e
moved max cost and strategy at destination rate level
2015-03-23 14:41:25 +02:00
Radu Ioan Fericean
581648a04f
max cost and strategy at rate level
2015-03-23 11:39:49 +02:00
Radu Ioan Fericean
bf0ac94a8d
updated copyright info
2015-03-11 19:49:52 +02:00
Radu Ioan Fericean
0bb8691101
balance activation times
2014-12-22 23:02:14 +02:00
Radu Ioan Fericean
5e7eec3685
updated copyright year
2014-11-27 21:27:00 +02:00
Radu Ioan Fericean
b669f2e8ac
using extrenal lib for next date
2014-09-30 19:05:41 +03:00
Radu Ioan Fericean
dc7330b3c9
moved rounding params from rates to destination rates
2014-05-07 15:00:02 +03:00
Radu Ioan Fericean
b5af601163
added max rate
2014-04-29 13:54:51 +03:00
DanB
a3fff42338
FsCgrId -> Sha1, making the CgrId even more uniquely by hashing it with setup time
2014-04-08 17:51:18 +02:00
Radu Ioan Fericean
a8e4dad5f0
removed rateing id from callcost and loader
2014-03-31 14:18:02 +03:00
Radu Ioan Fericean
f6741c6d88
Added rating id and destination id to call cost
2014-03-17 18:37:50 +02:00
Radu Ioan Fericean
08be8d1bb5
cutting extra decimals
2013-12-20 14:11:47 +02:00
Radu Ioan Fericean
6fb2ca37c2
better rates rounding
2013-12-19 18:30:48 +02:00
Radu Ioan Fericean
8189bbbf36
using utils types to load data
2013-11-14 09:39:00 +02:00
Radu Ioan Fericean
a4559a68ea
rating plan optimization
2013-10-24 19:22:55 +03:00
Radu Ioan Fericean
d608c6fe07
improved long timespans splitting
2013-10-11 20:15:47 +03:00