39 Commits

Author SHA1 Message Date
arberkatellari
0bab7d5557 Add reader id within the *vars in ERs 2024-08-09 09:14:24 +02:00
ionutboangiu
6c41ebe0de Add sanity check to prevent xml reader panic
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).

If the prefix is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. This avoids a nil expr error coming from
the xmlquery library.

Use the Query and QueryAll functions from the xmlquery
package to be able to handle the errors ourselves and
avoid panics.

Remove config default value for xml_root_path. The field
will remain commented in config_defaults for reference.

Add tests for HierarchyPath.AsString function.

Add comments for XmlProvider and xml_root_path opt.
2023-10-16 13:18:12 +03:00
adi
ad8470a805 Changed FileName into ers+configs 2022-11-20 18:46:17 +01:00
ionutboangiu
c875f8b767 Update fwv reader and its it test 2022-07-29 16:19:26 +02:00
Trial97
0c80b7add1 Added example for file_csv ers with multiple methods 2021-06-11 12:34:05 +02:00
Trial97
fc97f6546d Added config for partial csv with multiple methods 2021-06-11 12:34:05 +02:00
Trial97
344aec93e8 Added tests for flatstore with ACK and LazyQuotes 2021-05-17 18:00:31 +02:00
Trial97
73de017591 Updated flatstore tests 2021-05-17 18:00:31 +02:00
Trial97
cae5b4ced5 Added partial reader 2021-05-17 18:00:31 +02:00
Trial97
1f80d0df01 Fixed ers tests 2021-05-17 18:00:31 +02:00
Trial97
5105d3aa85 Updated ers config 2021-05-17 18:00:31 +02:00
TeoV
05143d62d1 Rename in ERs from *json to *file_json to be consistent 2020-12-14 16:38:58 +01:00
Trial97
06e4fd13c3 Updated integration tests 2020-12-09 17:00:04 +01:00
Trial97
50c4ee0be0 Added ResetStatQueue API and *reset_stat_queue action. Fixes #2472 2020-11-10 16:30:00 +01:00
TeoV
2682ece350 Update integration test after adding "templates" section in config 2020-08-28 15:45:22 +02:00
TeoV
e7c24c9d0f Add support for inflate templates in ERs ( + integration test) 2020-08-07 09:22:07 +02:00
Trial97
336e755d53 Added support to reference CSV fields by the column name. Fixes #2194 2020-05-29 16:18:51 +02:00
adragusin
179067de5d updated rounding method and RowLength 2020-04-02 16:54:03 +02:00
adragusin
16d25cc6cb Added a new configuration option in ers, row_length 2020-04-02 16:54:03 +02:00
TeoV
eaa3469aa2 Add test for *json type for ERs 2020-04-01 16:27:55 +02:00
adragusin
44fbdceecd Changed *composed to *variable 2020-03-18 09:48:53 +01:00
adragusin
4f04b0c8c9 Changed the strip strategy (e.g. "right" to "*right") 2020-03-12 17:24:56 +01:00
Trial97
cd0c84e841 Updated CDRe export 2020-02-10 15:18:29 +01:00
TeoV
9376889b10 Parse RunDelay from EventReader with ParseDurationWithNanosecs fixes #1897 2020-02-05 15:57:58 +01:00
TeoV
b85ebe8214 Update EventReader integration tests 2020-02-05 15:57:58 +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
TeoV
a2dc836075 Add Apier as a standalone service 2020-01-29 18:16:51 +01:00
adragusin
422ad62b62 updated configs after changing from *composed to *variable 2020-01-29 16:54:54 +01:00
adragusin
da9c00d50a Changed *composed fields into *variable in templates 2020-01-29 16:54:54 +01:00
TeoV
4f2d99c982 Update ERs configs for integration tests o 2020-01-29 14:40:57 +01:00
TeoV
26ea469328 Merge content,header,trailer fields into fields 2020-01-29 14:40:57 +01:00
TeoV
85ffef5028 Rename from *opensips_flatstore and *kamailio_flatstore to *flatsore 2020-01-22 14:10:35 +02:00
TeoV
0d4e989832 Add test for Flatstore in ERs 2020-01-22 11:06:43 +02:00
TeoV
e7f95a98f3 Add Flastore Support in ERs 2020-01-22 11:06:43 +02:00
Dan Christian Bogos
cc9dab3ae3 Merge pull request #1882 from adragusin/master
Removed directions from templates
2020-01-21 14:25:23 +01:00
adragusin
3a1104ff01 Removed directions from templates 2020-01-21 13:36:07 +02:00
TeoV
c074fd2369 Add *partial_csv type in eventReader ( almost complete) 2020-01-21 11:31:59 +02:00
adragusin
a836232021 Updated it tests 2020-01-15 10:45:59 -05:00