gezimbll
8a18eb87ec
Changed path for git repo
2023-03-21 16:22:50 +01:00
gezimbll
3b64bb4fef
Updated paths for copr ansible scripts
2023-03-21 16:22:50 +01:00
gezimbll
9adc103dff
Improving & Adding unit tests at engine
2023-03-20 17:52:04 +01:00
gezimbll
39393aecb7
Improving coverage for unit tests
2023-03-19 20:48:14 +01:00
gezimbll
35091a5538
Adding unit tests at engine
2023-03-19 20:48:14 +01:00
ionutboangiu
5bf525d4c0
Revise failing integration tests from general_tests
...
The time it takes to register RPC methods is quite long and sometimes it is causing errors when methods that are not yet registered are being called. Therefore, the 'waitRater' default value has been increased from 100ms to 500ms.
For 'cdrs_onlexp_it_test.go':
- 2 functions have been added that create and delete the kafka topic relevant to the test. This ensures that the topic exists before export and also that it is deleted to avoid the data from within to influence subsequent tests;
- the maximum duration that we are waiting for the amqp messages to be consumed has been increased. Since it usually takes anywhere between 300ms and 1.9s to read a message, it has been increased to 2 seconds;
- amqp queues are now deleted once we are done verifying the exports.
For 'cdrs_post_failover_it_test.go', we now make sure that the failed posts directories exist and are empty before starting the engine.
For 'cdrs_processevent_it_test.go':
- some of the stat queue items were expiring too quickly, causing the test for fail sometimes. In order to solve the issue, I had to modify increase the TTL, but since the 'testit' tariff plan is also used by other tests, I decided to create the .csv files within the test, taking from 'testit' only the relevant information;
- same issue as in the previous test was occuring here. Was fixed in the same way;
- removed some useless calls.
2023-03-19 19:32:25 +01:00
ionutboangiu
ee7a0d131a
Revise kafka poster integration test
...
When verifying whether the export was successful, read message by message instead of reading in batches.
2023-03-19 19:32:25 +01:00
gezimbll
e822a5ae63
Improving coverage test at engine
2023-03-15 17:44:46 +01:00
gezimbll
c5abf600cf
Improving coverage tests at engine
2023-03-15 11:43:43 +01:00
gezimbll
51af0635b0
Improving coverage test at engine
2023-03-15 11:43:43 +01:00
gezimbll
67d9c634f6
Improving coverage tests engine
2023-03-10 14:14:16 +01:00
ionutboangiu
01556a299f
Revise it tests
2023-03-10 14:07:59 +01:00
ionutboangiu
24d5a654e5
Get rid of logs from kafka cdre test
2023-03-10 14:07:59 +01:00
ionutboangiu
d264dd1c5a
Move Unguard one level up to avoid deadlock on the continue case
2023-03-10 14:07:59 +01:00
gezimbll
0f6ef42c2d
improving coverage test at engine
2023-03-08 19:14:24 +01:00
gezimbll
8d2450ecea
improving coverage tests at engine
2023-03-08 19:14:24 +01:00
gezimbll
64c6d3358f
adding meta storage types for migrator
2023-03-08 19:14:24 +01:00
gezimbll
df09129ad5
adding the db path from the stordb type
2023-03-08 19:14:24 +01:00
gezimbll
7dcbd09a1f
replacing non-meta constants for storage types
2023-03-08 19:14:24 +01:00
gezimbll
c5acb15d4a
improving coverage tests at engine
2023-03-01 17:09:47 +01:00
gezimbll
951595d55d
improving coverage tests at engine
2023-03-01 17:09:47 +01:00
gezimbll
bc486a0373
updated folder name for copr ansible script
2023-03-01 17:09:47 +01:00
gezimbll
877f726a35
ansible scripts for copr server
2023-03-01 17:09:47 +01:00
gezimbll
2a4801b9c1
spec and macros file for copr build
2023-03-01 17:09:47 +01:00
ionutboangiu
db8f2e4826
Compare GetStorageType() output to the correct constant
2023-03-01 16:06:36 +01:00
ionutboangiu
50a2bdc505
Add test to compare costs between *prepaid and *postpaid calls
2023-03-01 16:06:36 +01:00
ionutboangiu
b52d049219
Revise freeswitch ansible script
2023-02-27 09:10:31 +01:00
ionutboangiu
dbd497c4d4
Update to latest amqp 1.0 package version and fix compilation errors
2023-02-22 18:19:47 +01:00
ionutboangiu
5a0e973c5e
Bump go version
2023-02-22 18:19:47 +01:00
arberkatellari
8bef5ca2e4
Improved testing
2023-02-21 18:28:13 +01:00
ionutboangiu
edcb7d6e6b
Update amqpv1 library and fix compilation errors
2023-02-21 18:26:01 +01:00
ionutboangiu
6a7fde0c99
Add integration tests for amqpv1 exporter
2023-02-20 19:45:08 +01:00
ionutboangiu
c9ec5e53c8
Leave exportPath unprocessed for kafka + tests
2023-02-20 19:45:08 +01:00
ionutboangiu
39d50fd211
Revise kafka writer definition
2023-02-20 19:45:08 +01:00
ionutboangiu
40943dda09
Add test for *amqp_json_cdr exporter
2023-02-20 19:45:08 +01:00
ionutboangiu
6f91f027c8
Leave exportPath unprocessed for s3&sqs + tests
2023-02-17 12:19:22 +01:00
gezimbll
5557cde746
IT test for setting balance uuid
2023-02-17 11:30:30 +01:00
ionutboangiu
c2a824a94b
Leave export_path as is when exporting (AMQP) + tests
2023-02-16 11:25:20 +01:00
gezimbll
682904ad9d
replacing streadway/amqp with rabbitmq/amqp091-go
2023-02-02 17:49:05 +01:00
gezimbll
795706b73c
improving coverage at engine
2023-02-02 17:49:05 +01:00
gezimbll
46c4a22825
improving coverage at engine
2023-02-02 09:39:36 +01:00
gezimbll
2a1b696bf3
improving coverage at engine
2023-01-30 08:12:30 +01:00
ionutboangiu
3b45073212
Update go.mod and go.sum
2023-01-23 17:29:22 +01:00
ionutboangiu
d20fa06201
Allow concurrent processing when reading fwv files
2023-01-20 18:23:17 +01:00
ionutboangiu
7777e46758
Change processing method when reading fwv files
2023-01-20 18:23:17 +01:00
gezimbll
6687955519
Use dpkg-buildpackage --no-sign when the GPG key is not available
2023-01-18 13:42:13 +01:00
DanB
9704baa8b4
Updating fsock for reconnecting during in case of power/network fail
2023-01-18 13:27:24 +01:00
ionutboangiu
641577347c
Fix typo
2023-01-16 18:47:17 +01:00
ionutboangiu
637e0f935f
Implement fix for fwv single file processing
2023-01-16 18:47:17 +01:00
adi
07ff6e9c00
Updated kamailio doc
2023-01-13 16:27:10 +01:00