Commit Graph

12812 Commits

Author SHA1 Message Date
arberkatellari
b9ba0069ec Replace '' with utils.EmptyString onDlgList 2023-08-07 11:57:42 +02:00
gezimbll
a63b180f2a Integration tests fixes & deleting copr ansible scripts 2023-08-07 11:41:48 +02:00
ionutboangiu
5bea63841b Update it workflow to run tests for PR version of the repo
Before it was running the tests for the latest commit on the main repo instead
of running them for the PR version of it.
2023-08-07 11:38:12 +02:00
ionutboangiu
db5c6cc4b9 Add variable to cgrates role to decide whether to clone the repo
Sometimes we want to use the already existing repo without overwriting. Defaults to true (will
clone).
2023-08-07 11:38:12 +02:00
ionutboangiu
0fab82b57e Fix integration tests in dispatchers 2023-08-07 11:38:12 +02:00
ionutboangiu
ac1ebbe525 Fix integration tests in general_tests
Made sure failed_posts_dir exists and is empty before starting engine.

When *rerate flag is true, *refund is automatically set to true as well. Made
sure to update expected value based on that.
2023-08-07 11:38:12 +02:00
ionutboangiu
e449719892 Fix integration test in migrator
Generic NOT_FOUND has been replaced by DSP_PROFILE_NOT_FOUND for dispatcher profiles.
2023-08-07 11:38:12 +02:00
ionutboangiu
9f9b4d3ef1 Replace deprecated ioutil package 2023-08-07 11:38:12 +02:00
arberkatellari
cc67f486ae Add more functionality to cgr-tester 2023-08-07 11:16:11 +02:00
arberkatellari
10443b4251 Add & improve priority of DlgList variables for Kamailio 2023-08-07 11:16:11 +02:00
arberkatellari
44b144ff02 Close channel instead of calling Shutdown() on Reload() 2023-08-07 11:16:11 +02:00
gezimbll
cf720550cb Improving coverage tests 2023-08-04 16:01:19 +02:00
gezimbll
ebd4ae3b6d Added unit tests for dispatchers 2023-08-04 16:01:19 +02:00
gezimbll
763310e46c Improving and fixing tests 2023-08-02 16:48:48 +02:00
gezimbll
f1864b648b Improving coverage tests 2023-08-02 16:48:48 +02:00
gezimbll
19f6459330 Improved coverage tests 2023-08-02 16:48:48 +02:00
ionutboangiu
c65b969e3b Disabled security in elasticsearch default configuration template 2023-08-02 16:48:05 +02:00
ionutboangiu
a9043817b8 Add new task to create symlink to nats-server binary
Based on add_nats_to_path variable (defaults to true).

Modified default service states (service isn't started and enabled by default anymore).
2023-08-02 16:48:05 +02:00
ionutboangiu
c5f97372be Use quotes instead of back ticks in postgresql script
This fixes the SQLSTATE 42601 syntax error.
2023-08-02 16:48:05 +02:00
ionutboangiu
df81455cfb Add shebang for postgres scripts 2023-08-02 16:48:05 +02:00
ionutboangiu
3c1e70dcbe Add github actions workflows for unit and it tests 2023-07-21 09:00:46 +02:00
ionutboangiu
553508d1ff Bump go version from 1.20.5 to 1.20.6 2023-07-21 09:00:46 +02:00
ionutboangiu
f3faaf2426 Add separate build tag for sessions benchmark 2023-07-21 09:00:46 +02:00
ionutboangiu
afb170734f Implement postgresql ansible role 2023-07-21 09:00:46 +02:00
ionutboangiu
ef4a59c31e Apply gofmt to make workflow pass 2023-07-21 09:00:46 +02:00
ionutboangiu
d091ab7d03 Comment systemd masked option for elastic service for now
The ansible role is executing fine the first time executing the tasks, but only the first time.
2023-07-21 09:00:46 +02:00
ionutboangiu
e5b7b91799 Revise/add unit tests after sentrypeer addition 2023-07-21 09:00:46 +02:00
ionutboangiu
20afc011fb Improve accuracy of test to assess return of time.Now() 2023-07-21 09:00:46 +02:00
ionutboangiu
69ecf60fc3 Make small revisions to installation.rst 2023-07-21 09:00:46 +02:00
ionutboangiu
29d030bd69 Update files related to rpm packaging 2023-07-21 09:00:46 +02:00
ionutboangiu
3e06e263ae Update kafka download link and bump version 2023-07-21 09:00:46 +02:00
gezimbll
7c4d18b4fd Added comments for sentrypeer filter functions and new constants 2023-07-20 09:10:55 +02:00
gezimbll
c4ff0b0184 Added logging for sentrypeer filter 2023-07-18 16:38:58 +02:00
arberkatellari
52698ba477 Rename replyCount to replyCntMux in cgr-tester 2023-07-14 17:50:56 +02:00
gezimbll
5e846c792d Fixed naming of configs 2023-07-14 17:24:03 +02:00
gezimbll
2e93354ad1 Added new fields in sentrypeerCfg && implemented fallback loop on unauthorized requests 2023-07-14 17:24:03 +02:00
gezimbll
9af02771fd Added sentrypeer credentials in config && cache partition 2023-07-14 17:24:03 +02:00
gezimbll
2c1f5012fc Updated sentrypeer filter value types 2023-07-14 17:24:03 +02:00
gezimbll
8ed7bdd060 Added it test_for sentrypeer filter 2023-07-14 17:24:03 +02:00
gezimbll
ba20dbe831 Added filter implementation for sentrypeer 2023-07-14 17:24:03 +02:00
arberkatellari
13506235ae Add digit and verbose flags for cgr-tester 2023-07-14 17:09:09 +02:00
arberkatellari
c2c65c0b87 Continue sessions cgr-tester implementation 2023-07-13 10:22:32 +02:00
arberkatellari
20a91fd889 Add cps on cgr-tester 2023-07-12 12:42:13 +02:00
ionutboangiu
b56d213078 Add integration test for the shared client deadlock issue 2023-07-10 13:56:53 +02:00
ionutboangiu
ba27e26161 Make sure kamailio dependencies are installed in role 2023-07-10 13:56:53 +02:00
ionutboangiu
c5ac601c1d Resolve permission issue in deb_packages playbook 2023-07-05 14:07:22 +02:00
ionutboangiu
691eef8e43 Update go role to support both apt and dnf 2023-07-05 14:07:22 +02:00
ionutboangiu
b6842a79ad Make small revisions to gpg role 2023-07-05 14:07:22 +02:00
ionutboangiu
915b2fa5d7 Implement gpg role 2023-07-05 14:07:22 +02:00
ionutboangiu
9d964a3e4d Implement nginx role 2023-07-05 14:07:22 +02:00