Commit Graph

10446 Commits

Author SHA1 Message Date
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
armirveliaj
564bb136fe Add new unit tests on engine 2024-07-22 17:34:31 +02:00
armirveliaj
124ac6fbb6 Add new unit tests on engine 2024-07-21 19:05:17 +02:00
armirveliaj
54fb100268 Add new unit tests on migrator 2024-07-21 19:05:17 +02:00
armirveliaj
8ea764e602 Add new unit tests on agents 2024-07-21 19:05:17 +02:00
armirveliaj
5e5d615aad Add new unit tests on migrator 2024-07-21 19:05:17 +02:00
armirveliaj
99e278040e Add new unit tests on agents 2024-07-21 19:05:17 +02:00
armirveliaj
8edc239bd1 Add new unit tests 2024-07-21 19:05:17 +02:00
armirveliaj
f84e7c29a3 Add coverage tests on agents 2024-07-14 14:08:07 +02:00
armirveliaj
13f3f4dc11 Add new unit tests on config 2024-07-14 14:08:07 +02:00
armirveliaj
8b5e8e7820 Add new unit tests on agents 2024-07-14 14:08:07 +02:00
armirveliaj
ba6f2d9744 Add new unit tests on agents 2024-07-14 14:08:07 +02:00
armirveliaj
a5033b215a Add test for the mocked goRPC.Cancel API 2024-07-14 14:08:07 +02:00
ionutboangiu
4e6cbe26c5 Ensure refund flag is not ignored when rerate is true
By default setting rerate to true also sets refund to true, but
flags should take precedence over defaults.

If rerate is true and refund is false, remove any previous
CostDetails from event to force rerate.

Centralize the parsing of processing flags.
2024-07-14 13:29:23 +02:00
ionutboangiu
0860642d97 Add flaky build constraint to tutorial it tests
Randomly failing with -dbtype=*internal.
2024-07-08 12:11:11 +02:00