29 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
5c1e65256c 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.

When creating the StartTime field, assign time.Now() to a centralised
variable and reuse it instead of calling time.Now() repeatedly.
2024-04-20 12:21:57 +02:00
gezimbll
c2a5259f75 improving coverage tests 2022-11-04 10:09:21 +01:00
gezimbll
8848bb6898 improving coverage tests at engine 2022-11-04 10:09:21 +01:00
Trial97
c13a5cf790 Finished implementing the DataNode as a replacement 2021-03-26 13:46:25 +01:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00
andronache
da2a802766 Finished tests for engine/rateinterval_test.go 2020-11-27 08:43:35 +01:00
andronache
8560773d54 Started tests in engine 2020-11-27 08:43:35 +01:00
Trial97
c539800acd Added more Clone functions for config sections 2020-11-27 08:41:56 +01:00
Trial97
5da4cf6d1c Updated account action plans integration tests for cache 2020-10-31 20:52:09 +01:00
TeoV
510e9bc8ab Update *montly_estimated timing ( added unit tests ) exit in case of error at preload 2020-07-22 13:34:15 +02:00
TeoV
9c9e35857f Rename from Rate to RGRate 2020-06-11 16:49:21 +02:00
adragusin
519f4800b3 Updated tests in engine 2019-12-03 04:45:06 -05:00
DanB
9e2dc1b934 RateInterval.Equals for multiple Rates, fixes eventCost compressing 2019-03-01 19:32:53 +01:00
DanB
7d33386913 utils.MINUTE -> utils.MetaEveryMinute, utils.HOUR -> utils.MetaHourly 2017-06-03 11:17:39 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
Radu Ioan Fericean
58e9acae74 manual tests ok 2016-06-30 18:07:40 +03:00
Radu Ioan Fericean
fd65c92000 more tests
fixes #325, fixes #314
2016-01-09 18:35:14 +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
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
Radu Ioan Fericean
54ab6074a6 more loading fixes and more tests 2013-10-09 20:02:13 +03:00
Radu Ioan Fericean
a35f5ed480 interval and activation profile refactoring 2013-09-12 16:24:57 +03:00