Commit Graph

45 Commits

Author SHA1 Message Date
arberkatellari
c7221f0d1e Add reader id within the *vars in ERs 2024-08-12 18:34:50 +02:00
arberkatellari
ca01cbcd6b Replacing old log_level from configs with new logger->level 2024-01-06 17:12:02 +01:00
ionutboangiu
4c34d321de 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 isAbsolute is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. Alternatively, if isAbsolute is false, it
will just return . to signal that the path currently
being processed is the one required.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 xmlRootPath. The field
will remain commented in config_defaults for reference.

Add tests for HierarchyPath.AsString function.

Add comments for XmlProvider and xmlRootPath opt.

Update XmlProvider String() func based on the comment
which specifies that it should display the already
parsed values out of cache.
2023-10-19 17:19:30 +02:00
adi
5d23b6433f Chanegd FileName consts into ers 2022-11-20 18:46:55 +01:00
porosnicuadrian
bc5f1b5e10 Updated configs for Blockers and unused configs 2022-04-21 15:27:27 +02:00
andronache98
e2901630c9 Removed json files using stordb 2022-03-09 14:14:30 +01:00
andronache
503d3fe22c Make flags camel case for ers ees and agents 2021-07-03 16:42:50 +02:00
ionutboangiu
82321e5604 Change templates/attributes types format from snake case to camel case 2021-07-01 16:16:49 +02:00
ionutboangiu
fc42259893 Change possible reader/exporter types format from snake case to camel case 2021-07-01 16:16:49 +02:00
Trial97
2390bbf139 Added example for file_csv ers with multiple methods 2021-06-11 13:11:00 +02:00
Trial97
fbab732f46 Added config for partial csv with multiple methods 2021-06-11 13:11:00 +02:00
Trial97
746c750189 Added tests for flatstore with ACK and LazyQuotes 2021-05-19 15:54:14 +02:00
Trial97
c28ac62968 Updated flatstore tests 2021-05-19 15:54:14 +02:00
Trial97
d868c0a5f0 Added partial reader 2021-05-19 15:54:14 +02:00
Trial97
eaccc8f669 Fixed ers tests 2021-05-06 14:00:37 +02:00
Trial97
7aeeeec50c Updated ers config 2021-05-04 20:45:09 +02:00
Trial97
cfbe6e709d Added AdminSv1 service 2021-04-13 13:35:03 +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