Commit Graph

105 Commits

Author SHA1 Message Date
armirveliaj
564bb136fe Add new unit tests on engine 2024-07-22 17:34:31 +02:00
NikolasPetriti
b2ce0ce167 Add coverage tests for engine 2023-08-28 12:18:54 +02:00
NikolasPetriti
5ef01e6f0b Add coverage tests for engine 2023-08-28 12:18:54 +02:00
DanB
d14bc12e10 Handle CombimedErrNotFound 2023-06-29 14:55:44 +02:00
DanB
6c007c3bd3 Properly defining filter prefixes for *combimed export 2023-06-28 12:58:23 +02:00
DanB
3c9f57ce7d Updating CDR *combimed export to support filtering based on originally exported CDR 2023-06-28 12:47:16 +02:00
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
arberkatellari
e3cd50c26d Add case for AsExportMap field types 2023-05-23 08:20:37 +02:00
ionutboangiu
6a6fefd0cd Improve cost formatting and parsing for CDRs
The FormatCost function in cdr.go now accepts an additional parameter of type *config.RSRParser. This is
then used to extract the value from its path as opposed to always using the value of the Cost field directly.

Improved the unit test for the FormatCost function. Now it has become a table-driven test and it handles
cases when the cost is retrieved from different fields other than  from the CDR.
2023-05-22 07:53:47 +02:00
gezimbll
00961123ff Improving coverage tests at engine 2023-05-18 19:29:24 +02:00
gezimbll
f67c9e2455 Improving coverage tests at engine 2023-05-10 10:40:13 +02:00
ionutboangiu
a748ab629e Apply gofmt simplify code 2022-12-02 14:24:18 +02:00
TeoV
8b224e85c0 Add test for getting other fields from CostDetails 2020-06-24 14:26:23 +02:00
TeoV
bb576a24ea Update combimed function for CDR to use filterS 2020-05-19 18:46:21 +02:00
Trial97
ca7ed53b67 CDR export with path instead of Tag 2020-02-10 15:26:00 +01:00
Trial97
ffef415e8c Added cache for EventCost.FieldAsInterface 2020-02-05 18:05:53 +01:00
Trial97
ef5bbda890 Updated configs for cdre 2020-01-30 10:21:48 +01:00
Trial97
f18525a1db Updated path for cdre 2020-01-30 10:21:48 +01:00
Trial97
ab3fb01e7d Starting adding absolute path to cdre 2020-01-30 10:21:48 +01:00
adragusin
3a1104ff01 Removed directions from templates 2020-01-21 13:36:07 +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
e5c97a94ab Renamed META_DEFAULT to MetaDefault 2019-12-13 15:04:34 +02:00
Trial97
1df6f3be46 Replaced DEFAULT_RUNID with META_DEFAULT 2019-12-13 10:57:40 +02:00
Trial97
33209ec7b0 Updated CDR defaults values 2019-12-12 18:16:48 +02:00
Trial97
b1fdfea009 Updated config_default 2019-12-12 08:29:05 +02:00
adragusin
e85825bf28 Updated Clone functions 2019-12-10 17:53:17 +02: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
adragusin
8020fa1614 Replaced MapStorage with InternalDB in unit tests 2019-11-20 11:01:25 +01:00
TeoV
0f0c05633e Add Destination/ReverseDestination methods in DataManager 2019-11-20 10:54:31 +01: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
Trial97
20e3ede5d3 Updated NavigableMap field parsing 2019-08-22 18:20:25 +03:00
TeoV
3b746aad50 Add test for taking fields from CostDetails fixes #1549 2019-06-12 22:12:51 +02:00
TeoV
89bf087bc6 Remove RoundingDecimals from CDRC ( can be set explicit for the field you want) 2019-06-04 18:55:23 +02:00
TeoV
a5f9be607e Add Layout optional for SetupTime/AnswerTime for CDR 2019-06-04 14:43:41 +02:00
TeoV
09caac4b10 Remove unused function from cdr 2019-06-03 10:33:21 +02:00
TeoV
dddd9cbc32 Remove cdre.cost_multiply_factor (can we done via DataConvertor) 2019-05-31 09:23:59 +02:00
TeoV
f97d1c6d03 Remove usage_multiply (can be done via dataConverter) 2019-05-31 09:23:59 +02:00
TeoV
9db3cf3dfa Add test for cdrs for taking the whole RatingFilters as JSON string 2019-05-13 12:47:14 +02:00
TeoV
60fbbc254d Add test for special case when taking value from cdr for export 2019-05-13 12:47:14 +02:00
TeoV
fcdb6dcf29 CDRExported templates accept fields from CostDetails(eg: ~CostDetails.AccountSummary.ID) from CDR fixes #953 #252 2019-05-07 16:47:28 +02:00
Trial97
8456b55a20 Updated integration tests after the move of Cache methods 2019-03-18 11:49:16 +01:00
DanB
417b4fadff Actions.csv - removing balance direction filter 2019-02-13 11:23:27 +01:00
TeoV
d8977ffeba Add option "rsr_separator" in general config 2018-11-25 17:42:42 +01:00
TeoV
bf98dd2282 Fixes #1305 2018-11-16 18:31:54 +01:00
Trial97
7bbf17ab0a Add test for CDR.AddDefaults 2018-09-19 16:23:37 +02:00