Commit Graph

36 Commits

Author SHA1 Message Date
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
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
gezimbll
2b04066504 added parsing the event for *usage opts in accounts 2025-01-10 12:31:44 +01:00
armirveliaj
8921bf8b99 Revise && add new unit tests 2024-12-20 18:01:15 +01:00
ionutboangiu
8cbeb45adf Remove global err used by tests
Removed many leftover error checks for NewDefaultCGRConfig,
which does not return an error anymore.
2024-10-29 18:54:51 +01:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +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
porosnicuadrian
be6bdb7c11 Fixed tests for config with indexes 2021-12-07 16:42:42 +01:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
nickolasdaniel
13be353971 Fixed and added unit tests in config 2021-10-18 10:37:28 +03:00
ionutboangiu
ad6ee01bd3 Fix unit tests after changing opts structure 2021-10-13 20:32:43 +03:00
ionutboangiu
77e805bee9 Fix tests after changing opts structure (incomplete) 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
f4708c6131 Change opts default filterID to *default 2021-10-05 21:04:38 +02:00
ionutboangiu
8cb46adfa5 Add nil verifications for jsnCfg opts in load functions and fix tests 2021-10-04 11:29:37 +02:00
ionutboangiu
24a25917a6 Fix unit tests after changing type of opts 2021-10-04 11:29:37 +02:00
ionutboangiu
8507580420 Fix compilation errors in unit tests 2021-10-04 11:29:37 +02:00
ionutboangiu
32c5d5e587 Change type of thresholds opts to map 2021-09-27 17:27:18 +02:00
Trial97
6a3f8ddc57 Updated config 2021-09-20 10:45:14 +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
nickolasdaniel
6399c506a6 Added unit tests for config 2021-06-08 11:55:12 +02:00
Trial97
f3639c01f8 Added connection between thresholds and actions 2021-05-26 15:54:36 +02:00
nickolasdaniel
b14555924a Added unit tests in config 2021-05-25 20:12:30 +02:00
porosnicuadrian
711d7d5a1a Removed error from NewDefaultCGRConfig signature's function 2020-12-02 14:00:35 +01:00
Trial97
c539800acd Added more Clone functions for config sections 2020-11-27 08:41:56 +01:00
Trial97
5da4cf6d1c Updated account action plans integration tests for cache 2020-10-31 20:52:09 +01:00
Trial97
b06661af42 Added option to not read *env variables in RJReader 2020-10-15 12:41:04 +02:00
porosnicuadrian
ce3ecb108c Covered thresholdscfg to 100% 2020-10-07 19:54:46 +02:00
porosnicuadrian
e75c503647 Updated load tests thresholdscfg 2020-09-30 13:28:16 +02:00
porosnicuadrian
3f21793936 Updated thresholdscfg AsMapInterface method 2020-09-25 13:03:28 +02:00
Trial97
b0c354c7c1 Updated filter indexes to only index dynamic path 2020-07-24 15:11:45 +02:00
adragusin
85b1f778d4 Updated some AsMapInterface methods/added tests for them 2020-04-28 09:50:51 +02:00
Trial97
d88a14220a Updated config tests 2019-09-04 16:19:34 +02:00
Trial97
917710642b Added tests for loadercgrcfg, migratorcfg,supplierscfg and thresholdscfg 2018-10-31 11:02:30 +01:00