Commit Graph

51 Commits

Author SHA1 Message Date
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
porosnicuadrian
18d2841670 Fixed tests by adding context 2021-05-10 10:36:03 +02:00
ionutboangiu
a178d2d7a0 Cover funcs in engine/resources.go 2021-05-07 20:12:34 +02:00
ionutboangiu
623a0abec6 Move tests from resources_test.go to z_resources_test.go in engine 2021-05-07 20:12:34 +02:00
Trial97
1623d9f1da Updated cache reload 2021-05-07 20:01:52 +02:00
Trial97
db9c021105 Updated resource removeExpiredUnits 2021-05-07 10:55:35 +02:00
Trial97
2da495af19 Starting adding back AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
ionutboangiu
a19093e95b Remove unused variables and functions in engine 2021-04-02 14:57:32 +02:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
root
e82c853fa3 Refactoring in services 2021-02-16 16:26:44 +01:00
andronache
3ce3e04417 Refactored tests in engine 2021-01-19 13:13:34 +01:00
TeoV
906baa051a Build success 2021-01-14 10:30:35 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
andronache
1470267727 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
5da4cf6d1c Updated account action plans integration tests for cache 2020-10-31 20:52:09 +01:00
porosnicuadrian
cbc3151a95 Updated tests and methods for resourcesv1 with tenant default value 2020-10-15 12:43:40 +02:00
Trial97
61d2b4e922 Added *eventType to opts for process threhold 2020-10-09 14:27:48 +02:00
TeoV
01a0e4fecf In case of setting the same resource update it 2020-09-30 12:26:21 +02:00
Trial97
841264a97a Moved all specific DB options in opts 2020-08-28 14:35:42 +02:00
Trial97
d606a60eab Finished replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00