Commit Graph

119 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
arberkatellari
990f001465 Add action type *dynamic_action_trigger 2025-06-24 17:57:09 +02: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
5ac08799e1 Update *remove actions to support multiple balance types at once 2024-03-12 18:11:34 +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
ionutboangiu
7771de5e07 Apply go fmt project wide 2022-11-11 13:43:51 +01:00
Trial97
df5adc6c96 Updated account interface 2021-11-28 10:25:32 +01:00
Trial97
e2342c3997 Started adding FieldAsInterface on Account 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
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
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
TeoV
90971e5b56 Add integration test for *reset_triggers Action 2020-07-16 18:08:07 +02:00
DanB
5adea0e12d [Docs] RALs documentation 2020-04-08 20:13:12 +02:00
TeoV
af1cfc64c8 Implement Replication for all Set Methods 2019-11-20 19:48:14 +01:00
adragusin
d3522ef2e7 Updated engine tests after replacing MapStorage 2019-11-20 17:12:04 +01:00
TeoV
53018880b8 Move Constants from engine/action.go to utils 2019-08-07 21:37:58 +02:00
TeoV
6b79c01287 Correct matching for action trigger in case of *reset_triggers action 2019-04-03 13:11:52 +02:00
Trial97
22828945a3 Removed PubSub 2019-02-19 16:42: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
bea5803f76 Add 2 new actions (*topup_zero_negative and *set_expiry) and test for them 2018-02-14 13:23:08 +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
edwardro22
b651b06826 Removed copyright from go doc 2017-09-10 15:02:46 +00:00
DanB
7b1e8d7a16 Renaming StatsQueue into CDRStatsQueue 2017-07-05 17:05:18 +02:00
alin104n
d788452933 Accounting, Rating DBs merge, TPModels in StorDB 2017-04-03 21:17:12 +03:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
f7edd20174 Cache redesign, fixing transactions mechanism 2016-08-31 11:43:33 +02:00
Radu Ioan Fericean
a5e44fd590 engine compiling succesfully 2016-08-09 21:17:35 +03:00
Radu Ioan Fericean
2120ce9c86 started reverse recording 2016-07-27 12:48:28 +03:00
Radu Ioan Fericean
5222899ff5 added event name for published action logs 2016-07-18 22:01:29 +03:00
Radu Ioan Fericean
8e4573cc66 replaced logdb with pubsub 2016-07-18 21:40:25 +03:00
Radu Ioan Fericean
0a29617002 also save last execution time for trigger
should fix #462
2016-06-17 17:38:07 +03:00
Radu Ioan Fericean
27f835b9e1 better cgr_rpc and more tests 2016-05-26 15:32:55 +03:00
Radu Ioan Fericean
143304d6ca added fix and test for #261 2016-03-08 23:39:12 +02:00
Radu Ioan Fericean
9dd6c6dc16 generate new expdate on action timing execution
fixes #363
2016-03-08 16:37:22 +02:00
Radu Ioan Fericean
34971c3f5a action triger ID refactoring 2016-02-24 18:15:09 +02:00
Radu Ioan Fericean
c9badd722f renamed Account Id to ID 2016-02-23 21:03:58 +02:00
Radu Ioan Fericean
1777a6e1a5 renamed Id to ID in balance 2016-02-23 21:03:58 +02:00
Radu Ioan Fericean
418a9cf12f most engine tests passing
ResetAccountPending
2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
b2253e6385 refactoring 2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
097c0073a0 engine compiling 2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
7fc0e4ff50 started action balance pointer filtering 2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
b2a39ed867 action triggers expiration and activation times 2016-02-04 18:46:06 +02:00