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
porosnicuadrian
a7d4348b43
Added exists/notExists indexed on necessary subsystems
2022-01-20 21:03:47 +01:00
Trial97
5953eec22a
Updated tests for dispatchers and registrarc
2021-12-22 17:48:42 +01:00
Trial97
f25acdaf77
Added tests for all Set methods
2021-12-21 15:05:44 +01:00
ionutboangiu
b55dc3d3a8
Fix tests after updating loggers
2021-12-19 17:12:47 +01:00
Trial97
bcdf7910d1
Started testing the loaders implementation
2021-11-16 13:05:40 +01:00
ionutboangiu
95a99a3acd
Fix panic in actions
2021-11-01 13:51:02 +02:00
andronache
7ab4167613
Corrected header in multiple files
2021-11-01 13:50:00 +02:00
Trial97
cb809f976e
Updated internal datadb
2021-10-28 18:03:43 +03:00
andronache
2af41dd937
Tests for ProfileIgnoreFilters in actions and engine for stats
2021-10-22 12:04:12 +03:00
ionutboangiu
09cf26e7b9
Fix tests
2021-10-18 18:09:44 +03:00
ionutboangiu
003a4e667d
Change some opts field names to reduce redundancy
2021-10-18 18:09:44 +03:00
ionutboangiu
5490cf66bf
Fix all the compilation errors in non-test files
2021-10-13 20:32:43 +03:00
Trial97
56f5ce07f3
Added *profileIgnoreFilters for actions
2021-10-11 12:06:57 +03:00
ionutboangiu
b92e64ee86
Use the newly implemented functions to retrieve the opts from APIOpts/config
2021-10-05 21:04:38 +02:00