Commit Graph

103 Commits

Author SHA1 Message Date
ionutboangiu
a2bc6f5cd3 Update integration tests for threshold apis 2021-06-08 11:54:23 +02:00
ionutboangiu
1ba9b569e2 Add integration tests for stats apis (incomplete) 2021-06-08 11:54:23 +02:00
ionutboangiu
b7b472190e Add integration tests for thresholds apis (incomplete) 2021-06-08 11:54:23 +02:00
ionutboangiu
1eb68fe1a2 Add integration tests for resource apis final 2021-06-08 11:54:23 +02:00
ionutboangiu
ae7fcf3910 Add integration tests for resource apis (incomplete) 2021-06-08 11:54:23 +02:00
ionutboangiu
bfa3fb7a4c Fix integration tests in apis after changing GetAttrForEvent reply type 2021-06-08 11:54:23 +02:00
ionutboangiu
c7619a604e Add cover tests for apis/routes.go 2021-06-08 11:54:23 +02:00
ionutboangiu
c5578ec7d1 Implement GetRouteProfileCount in apis/routes.go 2021-06-08 11:54:23 +02:00
ionutboangiu
33cab3f80a Cover funcs from apis/actions.go final 2021-06-08 11:54:23 +02:00
ionutboangiu
8d47fbc8b5 Add integration tests to check cache behaviour after filter update (incomplete) 2021-06-08 11:54:23 +02:00
ionutboangiu
12fca69f24 Fix cover test in apis/attributes_test.go 2021-06-08 11:54:23 +02:00
ionutboangiu
5b7e3b36a7 Cover funcs from apis/stats.go final 2021-06-08 11:54:23 +02:00
ionutboangiu
6d504a5454 Fix failing tests from apis 2021-06-08 11:54:23 +02:00
ionutboangiu
d04705617d Cover funcs from apis/thresholds.go final 2021-06-01 20:49:18 +03:00
ionutboangiu
09bf0e5d85 Cover funcs in apis/resources.go final 2021-06-01 20:49:18 +03:00
ionutboangiu
7a928d6608 Fix RemoveProfile tests for resources, stats and thresholds 2021-06-01 20:49:18 +03:00
ionutboangiu
e7061d9ba4 Add & to utils.AttrReloadCacheWithAPIOpts 1.0 2021-06-01 20:49:18 +03:00
Trial97
3d8802af99 Added some sessions APIs 2021-06-01 20:48:18 +03:00
porosnicuadrian
6bfdb6d767 Test cases for sanitization path in config sanity 2021-06-01 20:36:06 +03:00
porosnicuadrian
faaf19d806 Updated tests for path sanitizations 2021-06-01 20:36:06 +03:00
porosnicuadrian
50b7266157 Fixed test renamed IDs from function's name 2021-06-01 20:36:06 +03:00
porosnicuadrian
817c923b91 Removed IDs from count Apis + fixed all unit/integrations tests in engine 2021-06-01 20:36:06 +03:00
porosnicuadrian
0c066c844f Removed IDs from count apis 2021-06-01 20:36:06 +03:00
andronache
311fffcaac Cover tests and integratio tests for account in apis 2021-06-01 20:33:31 +03:00
andronache
b8468d3693 Cover test for accounts in apis 2021-06-01 20:33:31 +03:00
andronache
00e4fbf60d Cover test in apis for account 2021-06-01 20:33:31 +03:00
andronache
af7ec4a84c Cover test for account in apis 2021-06-01 20:33:31 +03:00
andronache
ad0f291d26 Removed faulty test 2021-05-28 13:16:01 +03:00
andronache
09c44b6e77 Cover tests in apis for accounts 2021-05-28 13:16:01 +03:00
andronache
11a15f52a8 Repaired cover test in apis 2021-05-28 13:16:01 +03:00
andronache
d9af32822c Cover tests for config in apis 2021-05-28 13:16:01 +03:00
andronache
30cbc29a74 Integration tests for filters in apis 2021-05-28 13:16:01 +03:00
andronache
f7272c1403 100% Coverage in apis for filters 2021-05-28 13:16:01 +03:00
ionutboangiu
de4101c2dc Add tests to check for cache clear/reload after filter update 2021-05-28 12:42:50 +03:00
ionutboangiu
cfacf3e66f Cover funcs from apis/actions.go 2021-05-27 10:17:13 +02:00
ionutboangiu
2d0db86b74 Cover funcs from apis/stats.go 2021-05-27 10:17:13 +02:00
ionutboangiu
e290329328 Cover funcs from apis/thresholds.go 2021-05-27 10:17:13 +02:00
ionutboangiu
d27765f6fd Implement GetStatQueueProfileIDsCount function in apis/stats.go 2021-05-27 10:17:13 +02:00
ionutboangiu
50ab1f594e Modify test names to have consistent prefix 2021-05-27 10:17:13 +02:00
andronache
13f896e94a Cover tests for filters in apis 2021-05-26 20:11:18 +02:00
andronache
5e88f72981 Added GetFilterIDsCount to filters.go 2021-05-26 20:11:18 +02:00
porosnicuadrian
7950cc8a7d Context for routes methods 2021-05-26 20:05:26 +02:00
porosnicuadrian
e36d56e953 Updated checking dynamic path for filters 2021-05-26 20:05:26 +02:00
porosnicuadrian
44c9c2594b *accounts, *stats, *resources, *libphnumber are not indexing 2021-05-26 20:05:26 +02:00
porosnicuadrian
788919bdaa Added context for routes methods 2021-05-26 20:05:26 +02:00
porosnicuadrian
0f0f05d525 Added back APIS for routes 2021-05-26 20:05:26 +02:00
Trial97
c397cb31eb Updated datamanager methods 2021-05-26 15:54:36 +02:00
Trial97
fc1c7e8c79 Updated tests 2021-05-26 15:54:36 +02:00
Trial97
e1b21983c4 Updated Threshold handling in datamanager 2021-05-26 15:54:36 +02:00
ionutboangiu
48d16f61bd Cover funcs from apis/resources.go 2021-05-25 20:16:56 +02:00