arberkatellari
5847ceab00
Add and revise tests for offline internal DB
2025-05-13 17:07:17 +02:00
ionutboangiu
52177197f2
refactor matched thresholds sorting
2025-03-25 14:25:00 +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
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
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
armirveliaj
8921bf8b99
Revise && add new unit tests
2024-12-20 18:01:15 +01:00
ionutboangiu
b5362f89ef
Optimize and fix unstable tests
...
Revise backup loop tests to not rely on time.Sleep anymore and remove
unused fields from them.
Optimize some analyzers tests.
2024-09-25 20:58:51 +02:00
ionutboangiu
113e2a2bdf
Replace interface{} with any
2023-05-31 10:22:28 +02:00
arberkatellari
6fbf001116
Add and improve coverage tests
2023-02-27 09:14:19 +01:00
arberkatellari
b50a0f97ea
Coverage tests in engine
2023-01-13 16:28:10 +01:00
adi
fe3d34639a
Fixed tests of cache
2022-09-19 16:39:47 +02:00
ionutboangiu
0653e9b5d7
Apply go fmt
2022-08-24 09:32:23 +03: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
Trial97
2601ff6163
Finished testing new methods
2021-12-21 15:05:44 +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
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
Trial97
cb809f976e
Updated internal datadb
2021-10-28 18:03:43 +03:00
andronache
1b7108eb7a
Finished tests for ProfileIgnoreFilters option
2021-10-22 12:04:12 +03:00
ionutboangiu
09cf26e7b9
Fix tests
2021-10-18 18:09:44 +03:00
andronache
d1ef08cff1
Test for the Profile Ignore Filters opt for attributes in engine, also changed some values in stats test
2021-10-18 10:38:22 +03:00
Trial97
7749fcd15b
Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent
2021-09-23 10:42:56 +02:00
ionutboangiu
11aecbd22f
Add opts field in config for thresholds
2021-09-19 12:13:38 +02:00
Trial97
0ed0b0e7a6
Updated more services
2021-09-13 16:08:39 +02:00
ionutboangiu
bec9add78c
Test functions from engine/stats.go
2021-07-31 15:32:15 +02:00
ionutboangiu
16e81d8af4
Cover remaining functions from engine/thresholds.go
2021-07-31 15:32:15 +02:00
ionutboangiu
a47f5060a5
Test functions from engine/thresholds.go
2021-07-31 15:32:15 +02:00
ionutboangiu
07ade3dc45
Test functions from engine/thresholds.go
2021-07-31 15:32:15 +02:00
Trial97
697ec8cf50
Updated threshold caching
2021-07-29 08:40:51 +02:00
ionutboangiu
38725d0acc
Cover funcs from engine/thresholds.go
2021-07-15 18:43:29 +02:00
Trial97
421c193f6a
Removed unused RemoveKeysForPrefix
2021-06-08 12:04:47 +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
c58bb11a60
Updated tests
2021-05-26 15:54:36 +02:00
Trial97
fc1c7e8c79
Updated tests
2021-05-26 15:54:36 +02:00
Trial97
8cb40d7154
Added tests for thresholds and resources update
2021-05-26 15:54:36 +02:00
Trial97
e1b21983c4
Updated Threshold handling in datamanager
2021-05-26 15:54:36 +02:00
ionutboangiu
c8d69b882a
Fix errors after adding the context parameters
2021-05-25 20:16:56 +02:00
ionutboangiu
7fe6723ded
Fix failing tests after removal of ActivationInterval from Thresholds
2021-05-17 17:54:24 +02:00
ionutboangiu
563314ecb0
Remove ActivationInterval from Thresholds
2021-05-17 17:54:24 +02:00
porosnicuadrian
983f74f8a8
Clearing Cache when removing indexes
2021-05-10 10:36:03 +02:00
porosnicuadrian
18d2841670
Fixed tests by adding context
2021-05-10 10:36:03 +02:00
Trial97
1623d9f1da
Updated cache reload
2021-05-07 20:01:52 +02:00