Commit Graph

13804 Commits

Author SHA1 Message Date
ionutboangiu
c0d800d3d0 Add shebang for postgres scripts 2024-09-05 20:46:40 +02:00
ionutboangiu
3764594fcc revise logging .conf files 2024-09-05 20:46:40 +02:00
ionutboangiu
169b5500d3 Revise err handling for CSV storage constructor
NewFileCSVStorage() now returns an error besides the storage struct itself, which is
logged and returned instead of calling log.Fatal() which was causing the engine to
crash.

Fixed compilation errors by creating the CSVStorage separately and passing it as an
argument to the TpReader constructor.

Fixes #3962
2024-09-05 20:46:40 +02:00
ionutboangiu
bd691d8301 Adjust prefixes to skip when sanity checking xmlRootPath
Before everything starting with '~' was considered, but the check
should be done only with paths starting with '~*req'.
2024-09-05 20:46:40 +02:00
ionutboangiu
ede004bc44 remove deprecated rand.Seed calls 2024-09-05 20:46:40 +02:00
ionutboangiu
3187bca82e update rpcclient library (#4413) 2024-09-05 20:46:40 +02:00
ionutboangiu
2f387b5a0e chore: remove unnecessary parentheses
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
ionutboangiu
fee2712a23 chore: replace interface{} with any 2024-09-05 20:46:40 +02:00
ionutboangiu
66b334f6fb port calls ansible playbooks 2024-09-05 20:46:40 +02:00
ionutboangiu
fa1fa05af6 port ansible role changes
new: freediameter, grafana, node_exporter, prometheus, opensips,
sipp

updated: cgrates, go, kafka, mongodb, nats, pjsua, postgresql,
2024-09-05 20:46:40 +02:00
gezimblliku
04f2c69b05 updated dependencies with the latest versions 2024-08-22 20:39:59 +02:00
ionutboangiu
86e575cda1 run migrator and services tests separately 2024-08-21 20:59:10 +02:00
ionutboangiu
e2ee3831a8 bump workflow actions to latest versions 2024-08-21 20:59:10 +02:00
ionutboangiu
f381179af9 add workflow step to debug session (commented) 2024-08-21 20:59:10 +02:00
ionutboangiu
fbdc6f015a bump go version 2024-08-21 20:59:10 +02:00
ionutboangiu
9961b7b723 run integration and flaky scripts separately in workflow 2024-08-21 20:59:10 +02:00
ionutboangiu
0889f70292 add script to specifically run flaky tests 2024-08-21 20:59:10 +02:00
ionutboangiu
8426892ac6 revise integration tests script 2024-08-21 20:59:10 +02:00
ionutboangiu
17814fb88d update kafka version in role (3.7.0->3.8.0) 2024-08-21 20:59:10 +02:00
ionutboangiu
23cddba662 fix unstable msgpack unit test 2024-08-21 20:59:10 +02:00
ionutboangiu
1b24a504dc add flaky build constraint to unstable tests 2024-08-21 20:59:10 +02:00
ionutboangiu
0f70af84e9 centralize test flags for shared use across tests 2024-08-15 18:17:33 +02:00
ionutboangiu
9d59e88552 Add the test suite
Similar to the one from v0.11. Has different csv loading logic and passes
context.
2024-08-15 18:17:33 +02:00
ionutboangiu
0dfb3b860d Centralize RPCClient constructor 2024-08-15 18:17:33 +02:00
ionutboangiu
7c5d56c1de Combine csv loader tests
- ensures the tpreader is not eating memory even when tests are
not being run (before it was being constructed in an init())
2024-08-15 18:17:33 +02:00
arberkatellari
91630f39a5 Add exporter id within the *vars in EEs for templates 2024-08-14 14:06:03 +02:00
arberkatellari
c7221f0d1e Add reader id within the *vars in ERs 2024-08-12 18:34:50 +02:00
gezimblliku
73a7590f1c added profiles,configs and services for trend && ranking 2024-08-02 09:37:52 +02:00
Gezim Blliku
80249e1074 implemented janusagent & added to services 2024-07-21 19:07:43 +02:00
armirveliaj
6dc612a32a Add print_config flags to cgr-loader and cgr-migrator 2024-07-03 10:39:59 +02:00
arberkatellari
ac96e53c43 Update rpcclient revising error handling 2024-06-30 17:55:59 +02:00
ionutboangiu
79f824c575 Add support for Git 2.45+ iso-strict date format
Git 2.45+ introduced a backward incompatible change in the iso-strict
date format, showing time in the Zulu timezone with Z suffix instead
of +00:00. This commit adds parsing for the new date format before
falling back to the old format.

Revise GetCGRVersion error messages.
Revise GetCGRVersion unit test.
2024-06-30 17:54:25 +02:00
gezimbll
17767e38ac changing ownership of package directories not recursively 2024-06-10 18:54:52 +02:00
gezimbll
27c4242c52 renamed newservice2 function to newservicewithping 2024-06-07 17:18:23 +02:00
gezimbll
009895f92a revising integration tests 2024-06-07 17:18:23 +02:00
gezimbll
3ff0e6e5a1 revising integration tests 2024-06-07 17:18:23 +02:00
gezimbll
18fa884ea1 revise integration tests 2024-06-07 17:18:23 +02:00
gezimbll
07ea67e638 update threshold to set snooze time after actions 2024-05-09 12:33:32 +02:00
arberkatellari
bd571376a7 Update kamevapi version 2024-03-08 16:38:50 +01:00
arberkatellari
ca815bb550 Add integration test for caching_delay 2024-03-06 16:16:08 +01:00
arberkatellari
de5db4a938 Add caching_delay to config and loaders 2024-03-06 16:16:08 +01:00
arberkatellari
830c7d4358 Update ansible kafka version to 3.7.0 2024-03-04 19:17:53 +01:00
arberkatellari
727f90fc6b Add CAPs counting to cgr-console status command 2024-03-04 19:17:53 +01:00
Bas Couwenberg
a5352bcc55 Update deb_packages playbook to support multiple distributions. 2024-02-27 16:27:07 +01:00
Bas Couwenberg
f510168246 Fix bash-term-in-posix-shell Lintian issue. 2024-02-27 16:27:07 +01:00
Bas Couwenberg
78d1a52063 Fix script-not-executable Lintian issue. 2024-02-27 16:27:07 +01:00
Bas Couwenberg
60e86f7bd2 Fix executable-not-elf-or-script Lintian issues. 2024-02-27 16:27:07 +01:00
Bas Couwenberg
588e810f2d Fix systemd-service-file-missing-documentation-key Lintian issue. 2024-02-27 16:27:07 +01:00
Bas Couwenberg
7e71fdcb71 Fix maintainer-script-lacks-home-in-adduser Lintian issue. 2024-02-27 16:27:07 +01:00
Bas Couwenberg
38aeac71a7 Modernize Debian packaging. 2024-02-27 16:27:07 +01:00