Commit Graph

13551 Commits

Author SHA1 Message Date
arberkatellari
39bca3495a Improve *dynaperpaid events for sessions 2025-02-17 08:02:20 +01:00
armirveliaj
e2c71e355b Rename *cdr_account in the docs 2025-02-07 13:24:23 +01:00
ionutboangiu
5b26b1f4e7 Add docker installation steps in docs 2025-02-05 19:03:40 +01:00
ionutboangiu
afb3bac6eb Add missing host flag to pjsua_call script 2025-01-24 11:44:21 +01:00
ionutboangiu
96c2a3acee Prevent deadlocks in file reader unit tests 2025-01-22 17:37:17 +01:00
ionutboangiu
c171937c3d Add WaitGroup to ensure safe file processing in ERs
For cases when run_delay > 0.
2025-01-21 19:30:33 +01:00
arberkatellari
815e4476bf Improve *destinations filter logic 2025-01-21 18:46:07 +01:00
arberkatellari
b8cc20bb7c Add sqlBatchSize to ERS SQL OPTS and adjust delete functionality 2025-01-14 17:04:18 +01:00
arberkatellari
7664ffccb4 Improve TPTiming time format error handling 2025-01-14 17:04:18 +01:00
arberkatellari
3acc76474d Apply minor changes to FilterRule function's error handling 2025-01-14 17:04:18 +01:00
arberkatellari
2252765e93 Add 'ees_ids' field to ERs readers config 2024-12-20 17:33:45 +01:00
arberkatellari
d35b14b6b9 Add ability to ERS to update or move ERS SQL events to a new table & add *export flag for ERS readers 2024-12-20 13:26:06 +01:00
armirveliaj
a2b86e1a02 Add coverage tests on config 2024-12-17 18:19:59 +01:00
armirveliaj
78bfc13d37 Add coverage tests on engine 2024-12-17 18:19:59 +01:00
ionutboangiu
ea7313a0b6 Add helper script to block localhost ports 2024-12-17 15:18:19 +01:00
ionutboangiu
0f5f65a71b Update fsock library to latest version 2024-12-17 15:18:19 +01:00
armirveliaj
c29ca2cbb9 Add unit tests for FilterToSQLQuery 2024-12-13 15:32:33 +01:00
gezimbll
56207ad5b7 fix on sorting methods for rankings 2024-12-13 15:30:30 +01:00
gezimbll
8926e1bfc7 added unit tests for trends methods 2024-12-12 15:51:53 +01:00
armirveliaj
ba8cd0cd9a Add new unit tests on engine && utils 2024-12-12 15:50:29 +01:00
armirveliaj
258146f7c2 Add coverage tests on engine 2024-12-10 18:56:40 +01:00
gezimbll
b0aa272f75 added it tests for ErSv1.RunReader API 2024-12-10 18:56:17 +01:00
gezimbll
1a9313be68 revised integration tests for ranking scheduling 2024-12-10 18:51:43 +01:00
armirveliaj
08acc9d554 Add coverage tests on engine 2024-12-07 20:59:32 +01:00
gezimbll
cf44898b98 revise tests for trends storeinterval && file readers 2024-12-07 20:59:04 +01:00
armirveliaj
f3a80014a3 Add new unit tests on rankings 2024-12-04 20:23:27 +01:00
armirveliaj
c7ab22d43e Add unit tests on engine 2024-12-04 20:23:27 +01:00
armirveliaj
064932367e Add coverage tests on engine && dispatchers 2024-12-04 20:23:27 +01:00
arberkatellari
6c752ac10f Improvements to ERS SQL filters 2024-12-03 18:36:22 +01:00
arberkatellari
041b14fa03 Improvements to ERS SQL filters 2024-12-03 18:36:22 +01:00
arberkatellari
321910d181 Add WHERE statement availability and non-delete option to ERS SQL reader 2024-12-03 18:36:22 +01:00
ionutboangiu
204601a70f Consider DNS requests when limiting caps 2024-12-01 20:28:56 +01:00
ionutboangiu
a50cad7c3f Enforce one changes file per dist + debug info 2024-12-01 20:26:20 +01:00
ionutboangiu
e1229a3a03 Add missing state attribute in file module 2024-12-01 20:26:20 +01:00
ionutboangiu
3f930dacc6 Improve task names in reprepro task file 2024-12-01 20:26:20 +01:00
ionutboangiu
704980d98e Add missing els clone and AsMapIface logic 2024-11-28 17:24:39 +01:00
ionutboangiu
6270885405 Add config sanity checks for elasticsearch ee 2024-11-28 17:24:39 +01:00
ionutboangiu
2511c00db7 Add elsCAPath opt and improve opt comments 2024-11-28 17:24:39 +01:00
ionutboangiu
e982499e71 Update default config sample 2024-11-28 17:24:39 +01:00
ionutboangiu
401dda9569 Properly document elastic index req opts 2024-11-28 17:24:39 +01:00
ionutboangiu
8d7628410e Make elasticsearch refresh opt configurable 2024-11-28 17:24:39 +01:00
ionutboangiu
f1cdf920df Remove unusable elasticsearch opts 2024-11-28 17:24:39 +01:00
ionutboangiu
2a32ade4ba Add alternative API setup for reference (commented) 2024-11-28 17:24:01 +01:00
ionutboangiu
7c204f68e0 Update elasticsearch ansible role
- bump version from 8.8.0 to 8.16.1
- don't enable the systemd service by default(just start it)
- add restart handler on config changes
- configure before starting the service
- fix some linter errors
- hardcode auto_create_indexes to true
2024-11-27 16:50:47 +01:00
ionutboangiu
2b5a3e5a5e elasticsearch: switch to fully-typed API
- index request options are now used directly during ExportEvent. They are
  passed to the request as options only if they were configured in the first
  place.
- implement PrepareMap and PrepareOrderMap methods for the elastic exporter.
  bytePreparing methods are not needed anymore as the Event map can be exported
  directly.
- elasticsearch.Client -> elasticsearch.TypedClient
- rename prepareOpts -> parseClientOpts
2024-11-27 16:50:47 +01:00
ionutboangiu
dd045148ad Revise elasticsearch exporter integration test 2024-11-27 16:50:47 +01:00
ionutboangiu
ae264deadb Slightly refactor elastic exporter
now returns error in case of invalid logger type. Could be removed
in the future in favor of handling it in configsanity.go.
2024-11-27 16:50:47 +01:00
ionutboangiu
248bf792d5 Add context to ee constructor errors 2024-11-27 16:50:47 +01:00
ionutboangiu
9d3e5e62a6 Implement getter method for EventExporterCfg (by ID)
Removed redundant getter method for default EventExporterCfg.
2024-11-27 16:50:47 +01:00
ionutboangiu
a4925a68db Remove duplicate sep param from ers load method 2024-11-27 16:50:47 +01:00