Commit Graph

142 Commits

Author SHA1 Message Date
arberkatellari
2ffdb409a6 Add action type *dynamicRate 2025-08-15 13:01:50 +02:00
arberkatellari
eba021be54 Add action type *dynamicRoute 2025-07-27 11:47:20 +02:00
arberkatellari
c0017d33f1 Add action type *dynamicFilter 2025-07-27 11:47:20 +02:00
arberkatellari
b779388005 Add action type *dynamicRanking 2025-07-23 21:17:51 +02:00
arberkatellari
6302bb0fa1 Add action type *dynamicTrend 2025-07-23 21:17:51 +02:00
arberkatellari
f85ceebf85 Add weights, blockers, and filterIDs functionality to *httpPost action diktats 2025-07-23 21:17:51 +02:00
arberkatellari
9fa6844fae Add FilterIDs, Weights & Blockers functionality to set/remove balance action types 2025-07-21 13:40:22 +02:00
arberkatellari
076dd821a9 Add FilterIDs, Weights & Blockers functionality to dynamic type actions 2025-07-21 13:40:22 +02:00
arberkatellari
2ab652ebdd Add tests for ActionProfile modifications 2025-07-21 13:40:22 +02:00
arberkatellari
38e7c7eb39 ActionProfile modifications 2025-07-21 13:40:22 +02:00
arberkatellari
7b309d388d Add action type *dynamic_resource 2025-07-02 21:46:10 +02:00
arberkatellari
3059b768a9 Add action type *dynamic_attribute 2025-07-02 21:46:10 +02:00
arberkatellari
2cd8c4fe38 Add action type *dynamic_stats 2025-07-02 21:46:10 +02:00
arberkatellari
e9a1b93229 Add action type *dynamic_threshold & add admins_conns to ActionS module 2025-07-02 21:46:10 +02:00
gezimbll
3c11cddb0d added api definitions in the apis package 2025-06-24 18:17:10 +02:00
ionutboangiu
c3bf93f1b6 Fix context lifecycle in scheduled actions
Remove ctx field from scheduledActs struct and create a fresh context
when actions execute via cron. This prevents "context canceled" errors
that occurred when stored contexts from API calls were used for delayed
execution. The context is now properly received from the caller in case
of "*asap" actions.
2025-05-26 08:19:43 +02:00
arberkatellari
5847ceab00 Add and revise tests for offline internal DB 2025-05-13 17:07:17 +02:00
ionutboangiu
5e46eeb28a move action type definitions to utils 2025-05-03 21:42:36 +02:00
ionutboangiu
bd8c9d3b5e migrate guardian package to external dep 2025-04-22 19:35:11 +02:00
ionutboangiu
16d131b058 move attributes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
13044ddd9d refactor matched accounts sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
927a30b682 refactor profile sorting for actions 2025-03-25 14:25:00 +01:00
gezimbll
2f808badb7 added cache parameter in Get*Opts methods 2025-03-12 15:24:18 +01:00
ionutboangiu
24d886c8e0 Pass CGRConfig to DataManager
instead of just CacheCfg. Prevents the need of global config var in
engine/datamanager.go
2025-03-10 13:49:34 +01:00
ionutboangiu
b1a5874215 Move config/rsrparser.go to utils package 2025-02-24 13:36:32 +01:00
ionutboangiu
36a7d174ab Remove RSRSep opt from general section
- allows RSRParser to be split gracefully from config (was depending on
  RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
  inline attribute values (where ANDSep is used)
2025-02-24 13:36:32 +01:00
gezimbll
df3dcfb840 replaced CGREvent parameter to DataProvider for GetOpts functions 2025-02-07 13:18:43 +01:00
ionutboangiu
e3b5c9ef84 Implement getter method for EventExporterCfg (by ID)
Removed redundant getter method for default EventExporterCfg.
2025-01-29 10:52:24 +01:00
gezimbll
c602dbc2a5 added rsparser field in dynamicOpts
changed Value field to unexported and created a Value() method
on each dynOpts type that contains logic to create a rsparser
in case the value field a configuration starts with prefix "~"
otherwise it will return the specified value
2025-01-22 17:36:26 +01:00
ionutboangiu
17405af987 Revise service manager logs
Logging is now done as ServiceManager level. Removed any other logs.
2025-01-10 20:18:08 +01:00
gezimbll
2b04066504 added parsing the event for *usage opts in accounts 2025-01-10 12:31:44 +01:00
ionutboangiu
db301f7901 Remove StorDB service param from service constructors
Use ServiceIndexer instead.
Remove CDRs ListenAndServe method.
Pass the storDB connection directly to constructors instead of the
channel.
2024-12-12 11:55:14 +01:00
gezimbll
c51122fd20 Moving apis into each subsystem packages 2023-12-13 20:33:09 +01:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
ionutboangiu
8620b23231 Implement EventExporterCfg constructor and get rid of boilerplate code 2023-03-08 19:12:48 +01:00
adi
734776b113 Unified consts of opts 2022-10-03 18:29:24 +03:00
adi
67163a1ff5 Merge fixes 2022-09-22 20:22:34 +02:00
adi
da358161a7 EFs service to logger/ees and APIS 2022-07-30 08:19:08 +02:00
adi
86d2f1476a Attemtps config change 2022-07-30 08:19:08 +02:00
adi
0e5fe2c341 Integrated efs in ees and logger 2022-07-19 17:15:42 +02:00
adi
341f33873b Improved attempts and faield posts dir cfg in action/ers 2022-07-19 17:15:42 +02:00
adi
8b14619fce Integrated efs 2022-07-13 19:24:50 +02:00
ionutboangiu
ebee8c1233 Remove actionblockers 2022-05-06 20:49:11 +02:00
ionutboangiu
faae62f89a Update RouteBlockers behaviour 2022-05-06 20:49:11 +02:00
ionutboangiu
a8a68a418e Implement ActionBlockers +tests (not properly implemented) 2022-05-06 20:49:11 +02:00
ionutboangiu
887b6db5b8 Add blockers field to chargers + tests 2022-04-29 20:33:51 +02:00
ionutboangiu
39c2d97333 Add Blockers field to ActionProfile + tests 2022-04-28 08:52:03 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
andronache98
b6ff4ba8d8 DynamicWeights in ActionProfile 2022-02-10 10:48:29 +02:00