95 Commits

Author SHA1 Message Date
gezimbll
2ef967c5c6 create exporter with named type for *http_post action to prevent panic in ReplayFailedPosts 2026-01-13 18:51:47 +01:00
gezimbll
3603d12c3e prevent account actions to be executed when account is nil 2026-01-13 18:51:47 +01:00
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
arberkatellari
801631196d Add action type *dynamic_action_plan_accounts and tests for it 2025-06-03 16:44:59 +02:00
arberkatellari
33a47f663c Add action type *dynamic_action_plan 2025-05-27 17:27:46 +02:00
arberkatellari
0e5c5a9e60 Slight improvements to some Clone functions 2025-04-11 13:09:50 +02:00
arberkatellari
a168f262e2 Add dump and restore functionality for internal DBs 2025-04-06 12:08:40 +02:00
armirveliaj
fd156c4838 Revise GetNextStartTime method 2024-11-06 18:39:08 +01:00
ionutboangiu
4cba4a699d Implement SharedActionsData for action groups
- holds common relevant data between actions.
- currently supports only *cdrlog, making the process more reliable
and less repetitive. It also provides access to more information about
actions when creating CDRs.
- easier to scale.
- removes the need for cloning accounts before executing a group of
actions.
- added Actions method to check if specific action types exist inside.
2024-07-21 19:04:53 +02:00
ionutboangiu
843eee3b8d Pass clone of original acc for *cdrlog actions 2024-03-13 18:25:06 +01:00
ionutboangiu
b457768a33 Update actions to share Time ref variable 2024-03-13 18:25:06 +01:00
ionutboangiu
a9079154da Add possibility to pass conn cfg to actions 2024-02-27 16:28:48 +01:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
Trial97
df5adc6c96 Updated account interface 2021-11-28 10:25:32 +01:00
Trial97
880dd7f1b1 Updated Action Filters field 2021-10-12 16:49:01 +03:00
Trial97
c671e6f08c Replaced structmatcher with normal filters 2021-10-12 16:49:01 +03:00
Trial97
a1e0a34600 Started removing structmatcher 2021-10-12 16:49:01 +03:00
Trial97
4555789d53 Updated guardian 2021-07-19 15:37:19 +02:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
andronache
3e51f58d8c Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
36da1a6309 Consts in utils 2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
Trial97
5830d9fcf0 Updated task execution 2020-11-23 16:14:01 +01:00
Trial97
ffaac358d5 Added *remote_set_account action 2020-11-23 16:14:01 +01:00
Trial97
f353f12b68 Updated rpcclient library 2020-10-02 12:45:27 +02:00
Trial97
14336e29f5 Review GetNextStartTime 2020-10-02 12:45:27 +02:00
TeoV
ca3d5c0276 Add more test cases for *monthly_estimated 2020-07-24 12:39:10 +02: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
93af73cc2b Add integration test for *monthly_estimated 2020-07-21 09:02:14 +02:00
TeoV
58817d6a41 Add support for *monthly_estimated in Timing 2020-07-17 17:17:15 +02:00
TeoV
90971e5b56 Add integration test for *reset_triggers Action 2020-07-16 18:08:07 +02:00
TeoV
c6c1569554 Add *month_end timingID in both TPReader and ApierSv1.SetActionPlan fixes #2255 2020-07-13 15:52:12 +02:00
Trial97
aec2096010 Updated scheduler 2020-06-24 16:28:50 +03:00
adragusin
a2ca74249e Updated Clone function in action plan 2019-11-29 07:55:45 -05:00
TeoV
af1cfc64c8 Implement Replication for all Set Methods 2019-11-20 19:48:14 +01:00
TeoV
cc0855ce83 Rename GetAccount with GetAccountDrv and add GetAccount in DataManager 2019-11-07 17:52:59 +01:00
adragusin
3a64f321eb Added test for ActionTiming.Tasks 2019-11-07 17:49:20 +01:00
DanB
c68440aaec Scheduler - adding filter support for action plan 2019-11-06 18:15:00 +01:00
DanB
ba533bd706 Scheduler with support for filtering tasks 2019-11-06 13:57:11 +01:00
Trial97
5ec65be58f Updated ActionTiming.Execute to return ErrPartiallyExecuted if not all actions were successfully 2019-11-05 09:27:03 +01:00
TeoV
53018880b8 Move Constants from engine/action.go to utils 2019-08-07 21:37:58 +02:00
TeoV
12c62a3096 Use prefix in composition of accountID when locking fixes #1637 2019-08-06 14:59:09 +02:00
TeoV
7fdad46cbb Reset the error in case that the account isn't found 2019-05-24 12:10:22 +02:00
Trial97
22828945a3 Removed PubSub 2019-02-19 16:42:33 +01:00
Trial97
f8de227351 Added timeout for Guardian.Guard 2019-01-23 14:12:33 +01:00
TeoV
bbc863f8ab Replace ParseDate with ParseTimeDetectLayout(+ tests) 2018-12-04 19:49:14 +01:00
TeoV
8af148da1a Remove CDRStats and LCR 2018-11-21 18:28:33 +01:00
TeoV
9f68b27b27 Add GetActions in DataManager 2017-10-20 21:06:38 +02:00
TeoV
88839537ac DataDB -> DataManager 2017-10-09 14:59:27 +03:00