Commit Graph

72 Commits

Author SHA1 Message Date
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
fad736e5a6 Changed Weights from float64 to DynamicWeights for Resources and Chargers 2022-02-13 15:09:53 +02:00
andronache98
6727c0916f Test for attributes 2022-01-09 14:46:55 +01:00
Trial97
2601ff6163 Finished testing new methods 2021-12-21 15:05:44 +01:00
Trial97
4c1a08abe5 Updated tests 2021-12-21 15:05:44 +01:00
Trial97
b9617f6fe3 Added DataProvider methods 2021-12-21 15:05:44 +01:00
Trial97
228ff6b9e1 Added tests for all Set methods 2021-12-21 15:05:44 +01:00
ionutboangiu
a3fcb13889 Cover functions from resources 2021-12-21 15:05:44 +01:00
ionutboangiu
bfb29d6ca5 Cover functions from resources 2021-12-21 15:05:44 +01:00
Trial97
f25acdaf77 Added tests for all Set methods 2021-12-21 15:05:44 +01:00
andronache98
ee9a00b44d Started test for resources 2021-12-19 17:15:30 +01:00
ionutboangiu
b55dc3d3a8 Fix tests after updating loggers 2021-12-19 17:12:47 +01:00
ionutboangiu
efc429dd60 Cover functions from resources 2021-12-07 16:43:18 +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
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
ionutboangiu
48d078fb49 Fix the AsMapInterface function for resources and the failing tests 2021-09-27 13:18:42 +02:00
ionutboangiu
68e27f0dd3 Add opts for resources 2021-09-24 10:23:45 +02: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
a47f5060a5 Test functions from engine/thresholds.go 2021-07-31 15:32:15 +02:00
ionutboangiu
a42cfa1038 Test functions from engine/resources.go 2021-07-31 15:32:15 +02:00
Trial97
e6851695b1 Updated stats caching 2021-07-29 08:40:51 +02:00
Trial97
9fc5eaa9c4 Updated resource caching 2021-07-29 08:40:51 +02:00
Trial97
f6ed00848b Added tests for resources 2021-07-23 10:58:30 +02:00
Trial97
f3ff3d3023 Updated resources unit tests 2021-07-23 10:58:30 +02:00
DanB
ca7f354434 Resources locking at API level 2021-07-23 10:58:30 +02:00
ionutboangiu
3883883148 Change utils.PrefixSliceItems function signature to start with prefix 2021-07-19 16:56:04 +02:00
ionutboangiu
8aa415aa7d Cover funcs from engine/resources.go 2021-07-08 09:55:47 +02:00
ionutboangiu
d007937186 Revert "Cover funcs from engine/resources.go"
This reverts commit cc0a6502effb40b2d0a6ae0a66b5a4703f34829f.
2021-07-08 09:55:47 +02:00
ionutboangiu
00e197ea9b Cover funcs from engine/resources.go 2021-07-08 09:55:47 +02:00
ionutboangiu
047493f5fc Cover funcs from engine/resources.go 2021-07-01 16:16:49 +02:00
ionutboangiu
67e073494f Add tests for resources in engine 1.0 2021-06-15 17:45:43 +02:00
ionutboangiu
8d47fbc8b5 Add integration tests to check cache behaviour after filter update (incomplete) 2021-06-08 11:54:23 +02:00
Trial97
c397cb31eb Updated datamanager methods 2021-05-26 15:54:36 +02:00
Trial97
c58bb11a60 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
30b6cc2c70 Updated Resource 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
25c3e73afa Remove ActivationInterval from Resources 1.0 2021-05-17 17:54:24 +02:00
ionutboangiu
0aa5f92129 Remove ActivationInterval from Resources (tests failing) 2021-05-17 17:54:24 +02:00
ionutboangiu
8196f507c4 Fix integration tests in engine on 1.0 2021-05-12 16:38:50 +02:00
ionutboangiu
23e1a4c84b Cover funcs from engine/resources.go 2021-05-10 16:59:43 +02:00