159 Commits

Author SHA1 Message Date
arberkatellari
a3f25d1ec5 Adjust tests and sample json files 2025-10-19 13:15:57 +02:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
armirveliaj
6956031351 add coverage tests on actions 2025-09-30 19:10:55 +02:00
armirveliaj
0e0760003f Add coverage test for DynamicAction 2025-09-30 19:10:55 +02:00
armirveliaj
d5e72aa7cf Add coverage test for DynamicRate 2025-09-30 19:10:55 +02:00
armirveliaj
89cc06d657 Add coverage tests for DynamicIP 2025-09-30 19:10:55 +02:00
armirveliaj
a4cc9cf20f Add coverage tests on actions 2025-09-30 19:10:55 +02:00
armirveliaj
3337975340 Add coverage tests for DynamicFilter 2025-09-22 12:02:54 +02:00
armirveliaj
99258bd989 Add coverage tests for DynamicRanking 2025-09-22 12:02:54 +02:00
armirveliaj
5616fa3f09 Add coverage tests for DynamicTrend 2025-09-22 12:02:54 +02:00
armirveliaj
d8c8c65ac6 Add coverage tests for DynamicResource 2025-09-22 12:02:54 +02:00
armirveliaj
036ddfa36a Add coverage tests for DynamicAttribute 2025-09-22 12:02:54 +02:00
armirveliaj
61d7a85196 Add coverage tests for DynamicStats 2025-09-15 13:09:35 +02:00
armirveliaj
fc42d6984f Add coverage test for DynamicThreshold 2025-09-15 13:09:35 +02:00
armirveliaj
b979531aba Add coverage tests on dynamic actions 2025-09-09 17:32:40 +02:00
arberkatellari
262f1dafa3 Add action type *dynamicAction 2025-08-15 13:01:50 +02:00
arberkatellari
6f7fbb0e94 Add action type *dynamicIP 2025-08-15 13:01:50 +02:00
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