81 Commits

Author SHA1 Message Date
gezimbll
3153bc8378 remove loaders subsystem 2026-01-27 20:25:58 +01:00
ionutboangiu
f0b65f0797 cfg: make sessions jsoncfg object fields camelcase 2025-12-05 13:15:52 +01:00
ionutboangiu
292b97aa5b cfg: add ips_conns to sessions section 2025-12-05 13:15:52 +01:00
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
arberkatellari
ed584364d1 Add tests for internal DB dump and restore 2025-04-06 12:08:40 +02:00
arberkatellari
d35b14b6b9 Add ability to ERS to update or move ERS SQL events to a new table & add *export flag for ERS readers 2024-12-20 13:26:06 +01:00
ionutboangiu
d0183597f1 Add postgres stor_db SSL opts 2024-08-09 09:13:10 +02:00
ionutboangiu
747bfd9967 Remove global CGRConfig used by tests 2024-07-14 14:08:49 +02:00
ionutboangiu
afe03ac5fd Revise xmldp sanity check test to account for previous update 2024-03-11 16:41:09 +01:00
ionutboangiu
b580e09a00 Add sanity checks for radius templates 2024-03-04 19:17:31 +01:00
ionutboangiu
6c41ebe0de Add sanity check to prevent xml reader panic
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).

If the prefix is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. This avoids a nil expr error coming from
the xmlquery library.

Use the Query and QueryAll functions from the xmlquery
package to be able to handle the errors ourselves and
avoid panics.

Remove config default value for xml_root_path. The field
will remain commented in config_defaults for reference.

Add tests for HierarchyPath.AsString function.

Add comments for XmlProvider and xml_root_path opt.
2023-10-16 13:18:12 +03:00
arberkatellari
47e75fab13 Update radigo, add multiple folder functionality 2023-10-11 11:18:32 +02:00
ionutboangiu
a80fe9b96e Remove redundant prefixes/suffixes from rOpts field names 2023-09-28 20:48:07 +02:00
gezimbll
01d3c5d0fa Separating opts in ERS && fixing tests 2023-06-27 11:08:34 +02:00
gezimbll
b221a385e4 changed internal db type to *internal 2023-03-08 19:15:23 +01:00
gezimbll
5c4bf0e538 changing db type constants with leading * 2023-03-08 19:15:23 +01:00
ionutboangiu
aaea87eb33 Make data and stordb opts into structs 2022-07-12 17:59:09 +02:00
ionutboangiu
38447e9229 Make ers opts as struct and fix compilation errors 2021-11-29 20:57:39 +01:00
ionutboangiu
40eb832060 Fix all compilation errors related to ers after making ees opts of type struct 2021-11-29 20:57:39 +01:00
ionutboangiu
48feaf2bed Add opts field for attributes cfg struct and fix compilation errors 2021-11-03 21:03:33 +02:00
Trial97
8e2fdd239f Updated unit tests 2021-10-21 14:30:20 +03:00
Trial97
6ffe61ddf1 Added *dump_to_json as partial cache action 2021-10-21 14:30:20 +03:00
Trial97
f70bcd2aae Updated DNSAgent Option handling 2021-10-05 21:01:00 +02:00
Trial97
173392b030 Updated analyzers 2021-09-23 11:40:49 +02:00
Trial97
6476c036b1 Added support for in memory db for analyzers 2021-09-23 11:40:49 +02:00
ionutboangiu
d147a0a888 Fix sanity checks for ers and add tests 2021-07-08 09:55:08 +02:00
ionutboangiu
9e6fb6bccb Remove partial_cache_action and partial_path from erscfg 2021-07-08 09:55:08 +02:00
andronache
a27c22ba4e Rename dispatcher to dispatchers in registrarc 2021-06-11 11:59:50 +02:00
andronache
213787ee80 Changed dispatcher in registrarc to dispatchers 2021-06-11 11:59:50 +02:00
Trial97
73de017591 Updated flatstore tests 2021-05-17 18:00:31 +02:00
Trial97
5105d3aa85 Updated ers config 2021-05-17 18:00:31 +02:00
nickolasdaniel
fba94efc2b Coverage tests for config, agents, engine 2021-04-09 16:32:46 +02:00
nickolasdaniel
4cf5dd25c2 Coverage tests for config 2021-04-07 19:26:50 +02:00
porosnicuadrian
346bb015a1 Sanity check for agents 2021-04-06 17:14:37 +02:00
porosnicuadrian
e45684f19d Sanitizatioin path tests 2021-04-06 17:14:37 +02:00
nickolasdaniel
6d2690ec72 Coverage tests for ees 2021-03-11 15:22:57 +01:00
Trial97
5f0150b639 Updated dataDB config structure 2021-03-09 17:37:59 +01:00
Trial97
54ee982314 Updated config for registrarc 2021-03-02 20:06:30 +01:00
Trial97
038aa5f2ea Renamed DispatcherH in RegistarC 2021-03-02 20:06:30 +01:00
porosnicuadrian
dd4d42e323 Covered config to 100% 2021-01-12 12:49:31 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
36da1a6309 Consts in utils 2021-01-11 10:57:44 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00
andronache
dbb9216b6e Modified consts in utils 2021-01-07 18:15:35 +01:00
porosnicuadrian
711d7d5a1a Removed error from NewDefaultCGRConfig signature's function 2020-12-02 14:00:35 +01:00
Trial97
f158b191f3 Added Clone functions for all config sections 2020-11-27 08:41:56 +01:00
Trial97
c539800acd Added more Clone functions for config sections 2020-11-27 08:41:56 +01:00
Trial97
28ea7e8596 Updated AnalyzerSv1 API 2020-11-20 10:36:54 +01:00
porosnicuadrian
8569cdc2a4 Covered configsanity_test.go to 100% 2020-11-13 17:05:55 +01:00
porosnicuadrian
5f5d6518cd Covered configSanity to 100% 2020-11-12 17:58:13 +01:00