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
ionutboangiu
730d99734c
Add rpcconns documentation
2024-10-29 18:56:29 +01:00
ionutboangiu
1630bc7aa3
Slightly revise formatting for dispatchers docs
2024-10-29 18:56:29 +01:00
ionutboangiu
52c52df6dd
Define a separate func for the diamErr constructor
...
Added back the warning logs for backwards compatibility.
Now passing err.Error() as Error-Message AVP where applicable.
Added comments and revised err messages.
2024-10-29 18:53:22 +01:00
ionutboangiu
aad5c4a66f
Add benchmark for diameter+caps
2024-10-29 18:53:22 +01:00
ionutboangiu
5fd8e50f98
Allow benchmarks to use the testing suite
2024-10-29 18:53:22 +01:00
ionutboangiu
7df0494913
Consider diameter requests when limiting caps
...
- add possibility to pass custom Error-Message AVP to negative diameter
answers
- negative answer is now built only when an error occurs
- remove tests that were testing behaviour with max concurrent requests 0
2024-10-29 18:53:22 +01:00
ionutboangiu
e78654716d
Add DispatcherS component documentation
2024-10-23 20:26:28 +02:00
armirveliaj
05baa9fd86
Add && revise new unit tests on rankings
2024-10-23 20:25:07 +02:00
armirveliaj
90ec7d15a2
Add new unit tests on rankings
2024-10-23 20:25:07 +02:00
armirveliaj
9a531776d0
Add new unit tests on rankings
2024-10-23 20:25:07 +02:00
armirveliaj
1a38e51a5d
Add new API: RankingSv1.GetRankingSummary
2024-10-23 20:25:07 +02:00
DanB
14292a77ea
RankingSummary structure, LastUpdate timestamp inside Ranking struct, Ranking documentation
2024-10-18 18:53:58 +02:00
gezimbll
2e192dde78
added trend dynamicDP in filters and GetTrendSummary API
2024-10-18 16:24:02 +02:00