175 Commits

Author SHA1 Message Date
arberkatellari
61e7bacab1 Make Thresholds and ThresholdProfiles storable in MySQL and Postgres 2025-11-12 15:34:59 +01:00
arberkatellari
5f2b1f67df Add multiple DB connections functionality 2025-10-19 13:15:57 +02:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
arberkatellari
262f1dafa3 Add action type *dynamicAction 2025-08-15 13:01:50 +02:00
gezimbll
3f83200936 updated thresholded implementation to pass event in EeS 2025-06-27 20:45:33 +02:00
gezimbll
d8757d017d using an temp variable for lkID in unlock method 2025-06-24 17:58:32 +02:00
arberkatellari
5b66678313 Add offline internal DB functionality for dataDB,storDB & configDB 2025-05-13 17:07:17 +02:00
ionutboangiu
bd8c9d3b5e migrate guardian package to external dep 2025-04-22 19:35:11 +02:00
ionutboangiu
37de0c3bd1 refactor matched statqueues sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
52177197f2 refactor matched thresholds sorting 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
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
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
ionutboangiu
2f387b5a0e chore: remove unnecessary parentheses
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
gezimbll
07ea67e638 update threshold to set snooze time after actions 2024-05-09 12:33:32 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
adi
67163a1ff5 Merge fixes 2022-09-22 20:22:34 +02:00
adi
bf870b1e2b Failover ees/loggers improved + tests 2022-07-11 17:27:46 +02:00
ionutboangiu
485d275fc1 Use the Weights constant instead of Weight where needed 2022-04-29 20:33:51 +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
3432bbd853 Repaired tests 2022-02-08 19:08:45 +01:00
andronache98
fbd5ae7050 DynamicWeights for ThresholdProfile 2022-02-08 19:08:45 +01:00
ionutboangiu
2a956af08c Add merge function for interval rates and update some set funcs 2022-02-02 14:17:40 +01:00
ionutboangiu
4f5e93d87a Update set functions to ignore error when trying to convert empty string to float 2022-01-26 18:29:20 +01:00
porosnicuadrian
a7d4348b43 Added exists/notExists indexed on necessary subsystems 2022-01-20 21:03:47 +01:00
Trial97
b9617f6fe3 Added DataProvider methods 2021-12-21 15:05:44 +01:00
Trial97
c6ffe5ae91 Started adding merge function 2021-12-21 15:05:44 +01:00
Trial97
6a3c682f42 Fixed the config for loaders 2021-12-21 15:05:44 +01:00
Trial97
1f89ef6ee7 Updated loaders 2021-12-21 15:05:44 +01:00
Trial97
904a6817e4 Updated internal connections 2021-11-17 18:36:40 +01:00
ionutboangiu
034adf8a52 Make field names for CGRConfig and FilterS values consistent across all Service structs 2021-11-11 12:23:21 +02: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
c1ee04a794 Added *profileIgnoreFilters for stats and thresholds 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
ionutboangiu
2e6ab1b874 Change type of actions opts to map 2021-09-28 20:44:55 +02:00
ionutboangiu
32c5d5e587 Change type of thresholds opts to map 2021-09-27 17:27:18 +02:00
Trial97
7749fcd15b Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent 2021-09-23 10:42:56 +02:00
ionutboangiu
1c2c5800e5 Add ActionProfileIDs as opt for actions subsystem and fix tests 2021-09-22 18:08:17 +02:00
ionutboangiu
e819f10c76 Add AccountIDs and RateProfileIDs to Opts in cfg 2021-09-19 12:13:38 +02:00
ionutboangiu
11aecbd22f Add opts field in config for thresholds 2021-09-19 12:13:38 +02:00
ionutboangiu
8aa660c87e Fix typo loopStoped -> loopStopped 2021-07-31 15:32:15 +02:00
Trial97
697ec8cf50 Updated threshold caching 2021-07-29 08:40:51 +02:00
ionutboangiu
0a741e0bbc Refactor processEvent function from thresholds.go 2021-07-23 10:59:18 +02:00
Trial97
c397cb31eb Updated datamanager methods 2021-05-26 15:54:36 +02:00
Trial97
f3639c01f8 Added connection between thresholds and actions 2021-05-26 15:54:36 +02:00
Trial97
e1b21983c4 Updated Threshold handling in datamanager 2021-05-26 15:54:36 +02:00