Commit Graph

10488 Commits

Author SHA1 Message Date
ionutboangiu
fabdf9702e fix ExtraFields not being cloned in CallDescriptor.Clone 2026-02-09 11:18:53 +01:00
ionutboangiu
65a7f1c145 add guardian lock for dispatcher route race condition 2026-01-27 17:31:56 +01:00
ionutboangiu
ada413c856 add dispatcher concurrent sessions test 2026-01-27 16:53:13 +01:00
ionutboangiu
aca201f13b test HTTPAgent sessions with dispatcher round-robin 2026-01-15 17:00:02 +01:00
ionutboangiu
4203abaf02 add dispatcher sessions round-robin test 2026-01-15 12:02:40 +01:00
arberkatellari
7171efa579 Switch from fiorix/go-diameter library to cgrates/go-diameter 2026-01-13 18:52:02 +01:00
ionutboangiu
67a0543dde update rabbitmq role repos 2026-01-13 11:25:32 +01:00
Bas Couwenberg
78cfdd18d5 Use DH_VERBOSE only in dh_auto_build override for go version & env output. 2025-11-17 16:40:44 +01:00
ionutboangiu
117fee4e29 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:24 +01:00
gezimbll
2873811b14 updated sessions to return default maxusage for *none RequestType 2025-10-24 20:21:12 +02:00
ionutboangiu
547c4940ec skip empty removeIndexKeys to avoid slow ops 2025-09-09 10:07:55 +02:00
gezimbll
2590381402 updated yaml script to generate packages in each commit 2025-07-29 15:22:40 +02:00
armirveliaj
319a4f9cf3 Update docs for non-indexed match type filters 2025-07-21 10:34:19 +02:00
armirveliaj
379f467ff7 Add non-indexed variants of indexable filter types 2025-07-10 16:32:51 +02:00
ionutboangiu
45bfc5f6b7 Fix rsyslog config to capture logs across distros
Add three conditions to properly capture CGRateS logs:

- programname startswith 'cgr-engine': catches logs from external
  libraries that don't use our syslogger (e.g. diameter conn errors)
- programname startswith 'CGRateS': handles deb-based distros
  where our syslog tag becomes the program name
- msg contains 'CGRateS': handles rpm-based distros where systemd
  journal overrides programname but our tag remains in message content
2025-05-27 17:30:08 +02:00
ionutboangiu
9f3ebf80c4 remove redundant dm init in test flush helper 2025-05-27 17:28:40 +02:00
ionutboangiu
0feda9e993 close db connections in test flush helpers
Previously, database connections would stay alive until "go test"
would finish, sometimes leading to max conn errors.
2025-05-27 17:28:40 +02:00
ionutboangiu
427c6aef10 add entry for 1.0 dist in reprepro cfg 2025-05-08 16:16:07 +02:00
ionutboangiu
ea77f357f2 prevent panic when len(AlteredFields) == 0 2025-04-07 09:05:21 +02:00
arberkatellari
bc182d577d Revise deb packages script 2025-03-30 13:54:09 +02:00
ionutboangiu
a79b23ce63 make use of gpg/reprepro roles in playbooks 2025-03-25 14:29:19 +01:00
ionutboangiu
806d4ea4af update gpg role
now equivalent to gpg task files from deb_packages
2025-03-25 14:29:19 +01:00
ionutboangiu
11e9d523d6 extract reprepro logic to dedicated role 2025-03-25 14:29:19 +01:00
ionutboangiu
7b60c0e150 add gpg_key_rotation ansible playbook
ensures reprepro files are signed with the current GPG key, without
having to build new packages.
2025-03-19 12:34:41 +01:00
ionutboangiu
23a4c98f8f Fix vet warnings following go version update 2025-03-16 16:27:24 +01:00
ionutboangiu
cef9bd63ee update Go in chroots when version differs 2025-03-16 16:27:24 +01:00
ionutboangiu
0bca9f21e9 improve rescue handling with logs and chroot cleanup 2025-03-16 16:27:24 +01:00
ionutboangiu
f6976677b6 merge file find and remove tasks in always block 2025-03-16 16:27:24 +01:00
ionutboangiu
718ab2811d clarify task names related to .changes file checks 2025-03-16 16:27:24 +01:00
ionutboangiu
7972255a0b Enforce one changes file per dist + debug info 2025-03-16 16:27:24 +01:00
ionutboangiu
8e77e7e731 Improve task names in reprepro task file 2025-03-16 16:27:24 +01:00
ionutboangiu
9d3fcb84af 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
2025-03-16 16:27:24 +01:00
ionutboangiu
298b3eeb71 Revise cgrates setup ansible role 2025-03-16 16:27:24 +01:00
ionutboangiu
1c672c33ec Revise go setup role and bump version
- clean go cache at the role level
- use go env GOMODCACHE for path resolution
- add become: true to prevent permission issues
- check stdout instead of stderr for go clean -x --cache
- cache cleaning is skipped by default
- fix lint errors
2025-03-16 16:27:24 +01:00
ionutboangiu
3545224ee6 Replace ansible include with include/import_tasks
Deprecated and not available in versions 2.16+
2025-03-16 16:27:24 +01:00
ionutboangiu
4946e67efd add test for rerating failed cdrs 2025-03-09 17:32:10 +01:00
ionutboangiu
66ee030441 cdrs: add test case for unexpected EXISTS err 2025-03-09 17:31:09 +01:00
ionutboangiu
c4642fa30b prevent data race in file watcher goroutine 2025-02-26 16:17:33 +01:00
gezimbll
508d27e836 updated rsyslog conf to include logs with tag CGRateS 2025-02-26 16:16:44 +01:00
ionutboangiu
0dcf822bcb Move sync_interval sanity check inside sessions block
Don't want to check it when sessions is not enabled.
2025-01-24 11:57:03 +01:00
ionutboangiu
cacf8a3002 Test agent internal conn sanity check 2025-01-24 11:57:03 +01:00
ionutboangiu
e115a27052 check channel sync agent internal conn requirement 2025-01-24 11:57:03 +01:00
ionutboangiu
85f9bc410e Add missing host flag to pjsua_call script 2025-01-24 11:44:34 +01:00
ionutboangiu
178ae35d9b Bump mongodb version in ansible role 2025-01-21 20:02:17 +01:00
ionutboangiu
9ca3170f0e Send notice during sync if no clients found
- fix goroutine error handling to prevent double sends
- improve error logging format
2025-01-21 20:02:17 +01:00
ionutboangiu
4746a23c24 Add unit tests for UpdateCGREvent method 2024-12-12 15:56:26 +01:00
ionutboangiu
9db1fac75f Fix thresholds unit test by extending snooze 2024-12-10 18:55:04 +01:00
ionutboangiu
6ec0cfb4bc Allow configurable event field updates in ARI sessions 2024-12-10 18:55:04 +01:00
ionutboangiu
a832ea9d7c Add test for ERs *fileLineNumber variable 2024-09-26 17:32:21 +02:00
ionutboangiu
5da668e78c Increment cgrates version for doc files 2024-09-24 17:45:11 +02:00