Commit Graph

46 Commits

Author SHA1 Message Date
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
arberkatellari
27ad99e88c Improving covarage at /config 2022-11-30 16:58:04 +02:00
arberkatellari
6db0a8088b Improving coverage at config 2022-11-30 16:58:04 +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
0c367f1ac7 Rename Attribute opts field from IDs to profileIDs 2021-10-18 18:09:44 +03:00
ionutboangiu
ed64f5f7a0 Fix errors caused by merge 2021-10-18 11:18:27 +03:00
nickolasdaniel
13be353971 Fixed and added unit tests in config 2021-10-18 10:37:28 +03:00
ionutboangiu
74db72a64c Rename attributeIDs opt to just IDs to avoid redundancy 2021-10-18 10:36:16 +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
nickolasdaniel
bc50993f80 Unit tests in config 2021-10-12 18:11:25 +03:00
Trial97
869da96a64 Added *profileIgnoreFilters for attributes 2021-10-08 17:07:20 +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
7d05b01c68 Change types of cfg opts to dynamic structs (incomplete) 2021-10-04 11:29:37 +02:00
Trial97
6a3f8ddc57 Updated config 2021-09-20 10:45:14 +02:00
ionutboangiu
564e2e1c0c Fix test 2021-09-19 12:13:38 +02:00
ionutboangiu
a2829a3f1a Add AttributeIDs to opts struct 2021-09-12 13:23:08 +02:00
ionutboangiu
1d168b196e Add ProcessRuns and ProfileRuns to opts struct in attributes 2021-09-12 13:23:08 +02:00
ionutboangiu
adfaea31c5 Rename default_opts to opts 2021-09-10 11:25:57 +02:00
Trial97
d3f58e311d Added profile_runs in attributes 2021-09-07 17:04:05 +02:00
Trial97
37e5481307 Renamed ignoreErrors constant 2021-08-31 09:46:44 +03:00
Trial97
cec7899bc9 Updated DynamicDP to use AccountSv1 for account 2021-08-30 17:53:42 +03:00
ionutboangiu
6d091ea30e Add default_opts for attributes 2021-08-26 18:09:25 +02:00
nickolasdaniel
98ac404ef1 Added missing fields or removed them where needed 2021-06-01 20:51:01 +03:00
Trial97
934be26c5d Updated attributes context matching 2021-05-19 15:54:14 +02:00
nickolasdaniel
d9941b095a Added unit tests for config 2021-05-17 17:59:08 +02:00
Trial97
aef563ae17 Added more diff functions 2021-04-22 21:00:44 +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
b06661af42 Added option to not read *env variables in RJReader 2020-10-15 12:41:04 +02:00
porosnicuadrian
0202e04587 Covered loaders and attributes to 100% 2020-10-07 12:02:51 +02:00
TeoV
e29f34ac58 Centralize DynamicDP and add support in AttributeS 2020-10-05 19:02:06 +02:00
porosnicuadrian
6bc7c289bb Covered tests to 100% and moved default tenant in sessions 2020-10-01 16:55:18 +02:00
porosnicuadrian
dd42186b22 Updated load tests for analyzerscfg, apiercfg, attributescfg, cachecfg 2020-09-25 13:03:28 +02:00
porosnicuadrian
fa0c6b6956 Updated cachecfg AsMapInterface method 2020-09-15 10:15:22 +03:00
porosnicuadrian
40d8870584 Update AsMapInterface function in config for AttributeS 2020-09-10 18:59:19 +03: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
59aa1c9ac8 Added tests for ResourceSConfig 2018-10-31 11:02:30 +01:00
Trial97
c7004550bd Added tests for AttributeSCfg 2018-10-31 11:02:30 +01:00