Commit Graph

115 Commits

Author SHA1 Message Date
DanB
d14bc12e10 Handle CombimedErrNotFound 2023-06-29 14:55:44 +02:00
DanB
1860c301d3 Adding debug for combimed 2023-06-29 12:58:06 +02:00
DanB
84331962a8 Removing debug logs, apply lazy filters in case of *combimed 2023-06-28 15:17:20 +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
ionutboangiu
c7914f3bb3 Implement generic OrderedMap to keep track of csv/fwv record order 2023-05-25 08:41:26 +02:00
arberkatellari
e3cd50c26d Add case for AsExportMap field types 2023-05-23 08:20:37 +02:00
ionutboangiu
a3a8c5a4a4 Make the FCTmpl.RoundingDecimals field a pointer
The purpose of this is to check whether RoundingDecimals was set from the fields configuration.
If it wasn't, we are going to be using the RoundingDecimals dictated by the general subsection.
2023-05-22 07:53:47 +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
Trial97
d58e231beb Added nil check when creating EventCost DataProvider. Fixes #2764 2021-03-23 14:32:02 +01:00
Trial97
8b81b6b8e4 Added *none ERs type. Closes #2201 2020-06-02 15:10:32 +02:00
TeoV
bb576a24ea Update combimed function for CDR to use filterS 2020-05-19 18:46:21 +02:00
Trial97
ab4944dc1a Removed config.NavigableMap 2020-05-18 12:43:13 +02:00
adragusin
07877daef0 Changed the strip strategy (e.g. "right" to "*right") 2020-03-12 17:23:45 +01: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
1ee5fa0720 Added EventCost to DataProvider for filters.Fixes #1910 2020-02-05 16:00:32 +01:00
adragusin
37c79315a1 Added MetaVariable in cdr formatField 2020-01-30 17:17:14 +01:00
adragusin
3eaf3232a1 Renamed ApierV1 to APIerSv1/ ApierV2 to APIerSv2 2020-01-30 14:06:48 +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
Trial97
a4870c5434 Updated FailedCDR posting 2020-01-28 10:07:34 +01:00
Trial97
94c29c93d2 Updated CDRExporter 2020-01-28 10:07:34 +01:00
Trial97
60703280a6 Updated typos in cdre 2020-01-21 16:25:50 +02:00
Trial97
ae56de5cf9 Updated tests 2020-01-17 08:28:52 +02:00
Trial97
33209ec7b0 Updated CDR defaults values 2019-12-12 18:16:48 +02:00
adragusin
e85825bf28 Updated Clone functions 2019-12-10 17:53:17 +02:00
TeoV
0226f4c8e1 Update merge 2019-11-27 11:10:32 -05:00
DanB
1e79739911 Reverting *req in filter prefixes 2019-11-25 18:23:53 +01:00
TeoV
821b5492ce Add ~*req prefix when sending NavigableMap to Pass for filtering 2019-11-25 17:18:04 +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
673b10a40c Update Suretax to use RSRParsers and remove unused method 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
fcdb6dcf29 CDRExported templates accept fields from CostDetails(eg: ~CostDetails.AccountSummary.ID) from CDR fixes #953 #252 2019-05-07 16:47:28 +02:00
TeoV
edb2f6ab97 Add Wrapper for CallDescriptor 2019-04-08 18:53:06 +02:00
TeoV
22250fe9cc Add Wrapper for CDR and ExternalCDR and use it in methods 2019-04-08 17:59:57 +02:00
TeoV
870637077f Finish adding CDRS in DispatcherS and update methods from CDRs to other subsystems 2019-04-08 17:59:57 +02:00
DanB
417b4fadff Actions.csv - removing balance direction filter 2019-02-13 11:23:27 +01:00
Trial97
390e56348a Renamed GetCallCostLog to GetEventCost 2018-12-14 13:25:09 +01:00
Trial97
0d6145b677 Fixed APIerv1.GetCallCostLog to query cdrs table 2018-12-14 13:25:09 +01:00
Trial97
ead9bb2e27 Fixes and tests for #1304 2018-11-15 15:57:53 +01:00
Trial97
a4896dbc32 Added General config 2018-10-05 20:33:28 +03:00
Trial97
0345819718 Added all tests for mapevent.go. 2018-09-21 17:57:21 +02:00
TeoV
9683c50db0 Replace RSRField from Filters with RSRParsers 2018-09-19 12:20:43 +02:00
TeoV
5003eecd71 Fixes #1205 2018-09-17 16:53:52 +02:00