13825 Commits

Author SHA1 Message Date
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
ionutboangiu
f8bba051ae Revise go role cache clean tasks
Use go env GOMODCACHE for path resolution
Add become: true to prevent permission issues
Check stdout instead of stderr for go clean -x --cache
2024-11-26 14:04:49 +01:00
gezimbll
3974192787 added asynchronus startdelay for file readers and nats 2024-11-26 11:20:40 +01:00
gezimbll
ee312b13b6 Added dispatchers it tests for rankings and trends 2024-11-23 20:01:25 +01:00
ionutboangiu
b615f2aeba Revise deb_packages ansible playbook
- incoming folder is always cleaned up
- cleanup generated package files prior to moving to incoming
- fix some lint errors
- import cgrates role
- remove go cache clean steps (done at role level now)
- improved formatting
2024-11-22 20:30:13 +01:00
ionutboangiu
32e3adb9fb Revise go setup role
- clean go cache at the role level
- cache cleaning is skipped by default
- fix lint errors
2024-11-22 20:30:13 +01:00
ionutboangiu
a68880a774 Revise cgrates setup ansible role
- allows skipping symlink creation
- symlink binary destinations can be configured
- renamed git_version -> cgrates_branch. This also makes sure
  cgrates_branch variable is being set directly from the role
  and there's no need to configure it in the playbook.
- fixed some linter warnings and slightly improved formatting
2024-11-22 20:30:13 +01:00
ionutboangiu
d5aa567e98 Prevent deadlock inside *els Connect 2024-11-15 20:58:40 +01:00
gezimbll
e48eb5df13 added StartDelay for ers processing 2024-11-15 20:58:10 +01:00
ionutboangiu
3a6d759bac Consider radius requests when limiting caps 2024-11-14 17:56:42 +01:00
gezimbll
fc6aff8484 added trends and rankings methods in dispatchers 2024-11-14 17:52:31 +01:00
gezimbll
0854ef0bbb disabled refunding for *rated requesttype 2024-11-08 15:00:52 +01:00
gezimbll
9e60ab8236 clone CGREvent when exportEventWithExporter is send asynchronusly 2024-11-08 14:59:48 +01:00
armirveliaj
fd156c4838 Revise GetNextStartTime method 2024-11-06 18:39:08 +01:00
armirveliaj
b66e9bb31f Improve coverage tests for trends && rankings 2024-11-05 19:30:23 +01:00
armirveliaj
c20be2891b Add coverage tests on rankings && trends 2024-11-05 19:30:23 +01:00
armirveliaj
e355c68c4f Add coverage tests on rankings && trends 2024-11-05 19:30:23 +01:00
armirveliaj
a30cce5f23 Add unit test for monthly_estimated 2024-11-04 19:01:41 +01:00
armirveliaj
b2a76a1a84 Revise it test from v1/apier2_it_test.go 2024-11-04 19:01:41 +01:00
armirveliaj
ec61b9805f Add new unit tests on loaders 2024-10-30 22:14:31 +01:00
armirveliaj
8ab27e69d2 Add new unit tests on engine 2024-10-30 22:14:31 +01:00
armirveliaj
d3cc121d86 Add new unit tests on engine 2024-10-30 22:14:31 +01:00
armirveliaj
63320b71f0 Add coverage tests on engine && utils 2024-10-30 22:14:31 +01:00
armirveliaj
9d05e66d2e Add unit tests for compress && uncompress in libtrends 2024-10-30 22:14:31 +01:00
gezimbll
f72d4defb4 added *rankings filters in dynamicDP 2024-10-30 22:14:03 +01:00
gezimbll
b8616282ee added integration tests for ranking scheduling 2024-10-30 22:14:03 +01:00
ionutboangiu
5242ba2440 rpc_conns: add docs section about bidirectional conns
Also included details about the *http_jsonrpc codec
2024-10-30 22:12:39 +01:00