Commit Graph

85 Commits

Author SHA1 Message Date
NikolasPetriti
94afae087f Add coverage tests for engine 2023-08-02 16:50:10 +02:00
ionutboangiu
2e9653b551 Apply gofmt 2023-07-18 16:37:06 +02:00
NikolasPetriti
710a8d78be Add coverage tests for filters.go 2023-07-13 10:23:31 +02:00
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
gezimbll
a2633a7fd7 Improving coverage test at engine 2023-05-22 07:54:12 +02:00
gezimbll
b357dfa0df Improving coverage test at engine 2023-05-18 19:29:24 +02:00
gezimbll
4bfdebd48f Improving coverage tests at engine 2023-05-18 19:29:24 +02:00
gezimbll
569c59af53 Improving coverage of unit tests 2023-05-03 10:03:35 +02:00
gezimbll
c4ca1d1315 Improving coverage of unit test 2023-05-03 10:03:35 +02:00
ionutboangiu
259fb83c47 Add the implementation for Sleep api in sessions/sessions.go
Before the implementation was done directly in the SessionSv1 method. The argument definition
was also moved from apier/v1 to utils.
2023-05-03 10:02:15 +02:00
ionutboangiu
3ea21e43d7 Add inline filter validation before writing to database
Implement a function that takes as parameters a list of filters
and it checks only whether the inline filters are valid.

Add it inside the functions that load the profiles inside
the TPReader. This prevents the case where it returns error
after indexing had already started when it is already too
late.

Add unit tests for the implemented function.
2023-04-20 20:05:00 +02:00
gezimbll
ae037931d0 Improving coverage tests at engine 2023-04-06 11:49:37 +02:00
gezimbll
454c611b51 Improving unit tests 2023-03-28 17:59:51 +02:00
gezimbll
9e48ba08f9 Improving unit tests at engine 2023-03-28 17:59:51 +02:00
gezimbll
0f6ef42c2d improving coverage test at engine 2023-03-08 19:14:24 +01:00
gezimbll
8d2450ecea improving coverage tests at engine 2023-03-08 19:14:24 +01:00
gezimbll
c5acb15d4a improving coverage tests at engine 2023-03-01 17:09:47 +01:00
gezimbll
951595d55d improving coverage tests at engine 2023-03-01 17:09:47 +01:00
arberkatellari
8bef5ca2e4 Improved testing 2023-02-21 18:28:13 +01:00
gezimbll
795706b73c improving coverage at engine 2023-02-02 17:49:05 +01:00
gezimbll
46c4a22825 improving coverage at engine 2023-02-02 09:39:36 +01:00
gezimbll
2a1b696bf3 improving coverage at engine 2023-01-30 08:12:30 +01:00
porosnicuadrian
808df2963c Added rsr filters tests 2021-11-28 10:24:13 +01:00
andronache
428cd37b8e Replaced header in multiple places 2021-11-01 13:50:23 +02:00
Trial97
ab4944dc1a Removed config.NavigableMap 2020-05-18 12:43:13 +02:00
Trial97
9ef1dd05cc Updated AgentRequest 2020-05-07 11:19:03 +02:00
Trial97
ffef415e8c Added cache for EventCost.FieldAsInterface 2020-02-05 18:05:53 +01:00
Trial97
1ee5fa0720 Added EventCost to DataProvider for filters.Fixes #1910 2020-02-05 16:00:32 +01:00
Trial97
999aabdf9f Updated FieldName for attributes 2020-01-20 14:44:36 +02:00
TeoV
35d19ab4b2 Add TTL option for DataDB/StorDB for type *internal 2020-01-14 08:42:10 -05:00
TeoV
7b72c943a0 Add connections from remote and replicate throuh ConnManager 2020-01-06 09:27:34 -05:00
Trial97
28cc543389 Updated NewInternalDB 2019-12-02 11:07:48 +02:00
DanB
33483edc93 Modified NewInternalDB signature to include encoding, renamed MetaJSONRpc -> MetaJSON 2019-11-29 20:54:32 +01:00
TeoV
4f563aa5ee Update filters and dataProvider to include ~*req as refix 2019-11-27 11:10:32 -05:00
TeoV
714e37fa63 Populate in data manager rmtDataDbConns and rplDataDBConns 2019-11-03 12:59:10 +01:00
Trial97
c718f90b89 Updated engine integration tests 2019-10-30 12:19:31 +01:00
Trial97
61fc8c98a3 Added DataManager as Service 2019-10-28 12:17:15 +01:00
TeoV
d3e7867535 Add StorDBPrefixIndexedFields for customize cdr indexes for InternalDB 2019-10-04 20:17:40 +02:00
TeoV
110d73c532 Add DataProvider for each FieldValue for FilterRule 2019-09-08 17:39:11 +02:00
TeoV
4b051121f9 Move constats from engine to utils and remove duplicate structures 2019-08-04 13:23:30 +02:00
Tripon Alexandru-Ionut
ff9e44b639 Updated EventType and renamed EqualThan to EqualTo 2019-07-09 21:10:37 -10:00
Tripon Alexandru-Ionut
a7e65058a1 Added *eq and *noteq as filters 2019-07-04 12:23:54 -10:00
TeoV
713f1d2702 Add test for filter with *gt:~MaxUsage:0 2019-05-23 16:04:33 +02:00
Trial97
8b0b5bbfdc Updated filters tests for *gte 2019-03-18 11:49:16 +01:00
Trial97
e949b3e37f Updated basic test for dynamic filter values 2019-03-06 16:05:01 +01:00
TeoV
33ef54f0fe Add supplier data provider 2019-02-26 12:24:17 +01:00
TeoV
2a77a1036c Update QOS strategy for SupplierS ( consider the worst value for stats) 2019-02-25 20:03:54 +01:00
TeoV
4c7ab559a9 Refactor QOS strategy for sessions 2019-02-25 20:03:54 +01:00
TeoV
3252fe791b Add integration test for filterS (type *stats) 2019-02-25 20:03:54 +01:00
Trial97
f9f97ce256 Updated migrator integration tests for latest changes 2019-02-22 17:27:58 +01:00