Commit Graph

10460 Commits

Author SHA1 Message Date
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
ionutboangiu
f9d3444cc7 Bump go version 2024-09-24 17:45:11 +02:00
ionutboangiu
ff971e06c9 Update installation documentation
to account for the new packaging structure
2024-09-24 17:45:11 +02:00
DanB
408c84b482 Starting 0.10.5~dev 2024-09-24 16:23:00 +02:00
DanB
a2953d6ca7 Release v0.10.4 v0.10.4 2024-09-24 11:30:24 +02:00
ionutboangiu
6cda8498b6 Add draft changelog 2024-09-23 11:21:29 +02:00
ionutboangiu
3c4f8a6c03 Add test for combined destinations to flaky
fails randomly only for *internal db
2024-09-23 11:20:39 +02:00
ionutboangiu
f1cc2d5102 Remove redundant returns after log.Fatal 2024-09-23 11:20:39 +02:00
ionutboangiu
798fc33bfc cgr-engine: Revise flag parsing error handling
Use flag.ExitOnError for automatic error handling.
Remove manual error check in main().
Set proper exit codes: 0 for help, 2 for parsing errors.
Avoid misleading '<InitS> error' log on help requests.
2024-09-23 11:20:39 +02:00
arberkatellari
7add01320e Revise balance blockers 2024-09-09 16:43:27 +02:00
arberkatellari
88ff4d9c4f Add active time checker on DebitConnectionFee 2024-09-09 16:43:27 +02:00
ionutboangiu
df7b65833a remove deprecated math/rand.Seed calls
see https://pkg.go.dev/math/rand#Seed
2024-09-05 20:58:34 +02:00
ionutboangiu
0aa5cf38e8 apply partial debit before stopping due to blocker 2024-09-05 20:57:43 +02:00
ionutboangiu
668f421842 remove unused DryRun field from CallDescriptor
dryRun vars will also not be considered anymore in the balance
blocker condition.
2024-09-05 20:57:43 +02:00
ionutboangiu
d510b12d2a add balance blocker functionality test 2024-09-05 20:57:43 +02:00
ionutboangiu
b7b66804b1 add helpers for easier test setup 2024-09-05 20:57:43 +02:00
gezimblliku
94bde601b0 updated fsock library && fsagent 2024-08-21 21:08:24 +02:00
gezimblliku
a07a8dd952 updated dependencies with the last versions 2024-08-21 21:08:24 +02:00
ionutboangiu
778f5293cd update kafka version in role (3.7.0->3.8.0) 2024-08-19 12:11:51 +02:00
ionutboangiu
db5341c1c7 Return offline and dispatcher tests to main suite
they should be passing consistently now
2024-08-19 12:11:51 +02:00
ionutboangiu
331b50ae52 update rpcclient library 2024-08-19 12:09:44 +02:00
gezimblliku
6c8f53435b fixed go vet warnings 2024-08-16 12:34:25 +02:00
ionutboangiu
d507e29a8f update rpcclient lib (fixes #4413) 2024-08-14 14:05:01 +02:00
ionutboangiu
656911e4aa Exclude expired metrics before retrieval
Remove all StatQueue locking methods (unused).
2024-08-09 09:16:36 +02:00
armirveliaj
7cf8c69bc8 Add new unit tests 2024-08-02 09:36:19 +02:00
armirveliaj
968c9ebb31 Add new unit tests on migrator 2024-08-02 09:36:19 +02:00
armirveliaj
06ff5ef377 Add new unit tests on agents 2024-08-02 09:36:19 +02:00
armirveliaj
a263e25858 Add new unit tests on agents 2024-08-02 09:36:19 +02:00
armirveliaj
fd5be71657 Add new unit tests on loaders 2024-08-02 09:36:19 +02:00