arberkatellari
ebc5fd4a21
Continuation for cgr-tester
2023-08-28 12:25:52 +02:00
arberkatellari
bbdef8921e
Changes to cgr-tester sessions
2023-08-28 12:25:52 +02:00
ionutboangiu
f2108901a1
Remove the line overriding the dfltCfg (cgr-loader)
2023-08-28 12:23:28 +02:00
ionutboangiu
e963b22fb5
Bump go version to 1.21
2023-08-28 12:23:28 +02:00
ionutboangiu
353fc05440
Update github workflows
...
In the integration_tests one, go is now installed using actions, therefore
the ansible go installation will be skipped.
2023-08-28 12:23:28 +02:00
ionutboangiu
2754f1e7d4
Rename ansible roles to be consistent
2023-08-28 12:23:28 +02:00
ionutboangiu
9fd262884f
Simplify integration_tests ansible playbook
...
Instead of using tasks to include the roles, use them directly.
The go role executes by default, unless the install_go variable
is set to false.
2023-08-28 12:23:28 +02:00
ionutboangiu
48b375ab99
Revise cgrates ansible role
...
Removed clone_repository variable from defaults. Now if it's not found
we will assume it's true.
In the cgrates building task we are not forcibly sourcing the /etc/profile
script anymore since it's redundant (we are using bash -lc to execute the
script, where -l will do that automatically).
Make sure we create symbolic links for all binaries we build (not just cgr-engine).
This meant the migrator task environment field could be removed as well.
2023-08-28 12:23:28 +02:00
ionutboangiu
f2a3af6ddf
Simplify go ansible role
2023-08-28 12:23:28 +02:00
NikolasPetriti
9b0116516e
Add tests for msgpack encoding/decoding for all basic go types that we are using in master
2023-08-28 12:22:33 +02:00
NikolasPetriti
cf5e31ce3a
Revise struct tags for tp models
2023-08-28 12:22:33 +02:00
gezimbll
853d5beb43
Updated deb_packages ansible script
2023-08-10 11:06:30 +02:00
DanB
c5d66d920e
Adding sample ansible inventory file for building deb packages
2023-08-09 17:32:02 +02:00
gezimbll
5670a0b399
changing permissions for deb_packages tasks
2023-08-09 17:03:59 +02:00
gezimbll
eaa0d808af
Updated installation docs
2023-08-09 12:28:10 +02:00
gezimbll
c446b15f9e
Changing permissions for ansible copying .deb to www-data
2023-08-09 12:28:10 +02:00
arberkatellari
b7770ec07f
Revamp onDlgList func
2023-08-07 11:57:42 +02:00
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