Commit Graph

12702 Commits

Author SHA1 Message Date
ionutboangiu
d6f5eefa28 Revise .readthedocs.yaml cfg file 2023-05-18 19:28:39 +02:00
ionutboangiu
6911b4fb10 Revise doc for fs install + warning fixes 2023-05-18 19:28:39 +02:00
ionutboangiu
d64ce92a2d Add ansible role for kamailio 2023-05-18 19:28:39 +02:00
ionutboangiu
8f35f63822 Update asterisk installation docs 2023-05-18 19:28:39 +02:00
ionutboangiu
a2e3fa1d3a Use ansible roles for reusable tasks 2023-05-18 19:28:39 +02:00
arberkatellari
e17d952f9c Add warning for uncomputable increments 2023-05-18 19:27:43 +02:00
gezimbll
7a0ff57a36 Improving coverage tests 2023-05-07 19:25:48 +02:00
gezimbll
11e2e2dbb8 Improving coverage of unit tests 2023-05-07 19:25:48 +02:00
ionutboangiu
373df2329c Revise CDR rerating
If the reRate parameter is set to true, also set the refund to true.

The rerate parameter is now no longer hardcoded to true for the RateCDRs API.If
required, the "*rerate" flag must be provided by the caller.

In case CostDetails is not populated, retrieve it from StorDB if possible
and add it to the CGREvent before converting to CDRs.

Now that the refund happens before the debit, revise the expected values for
the testV1CDRsProcessEventWithRefund subtest within the
apier/v1/cdrs_it_test.go file.
2023-04-20 20:06:16 +02:00
gezimbll
f4c1fa0d3d Add packit.yaml for automated RPM builds 2023-04-19 16:10:15 +02:00
ionutboangiu
d262aaac8b Revise CDR rerating
If the reRate parameter is set to true, also set the refund to true.

In case CostDetails is not populated, before attempting to refund try to
retrieve it from StorDB.

Now that the refund happens before the debit, revise the expected values for
the testV1CDRsProcessEventWithRefund subtest within the
apier/v1/cdrs_it_test.go file.
2023-04-19 16:09:41 +02:00
arberkatellari
311d01861d Add Integration test for ResourceSv1GetResourceWithConfig 2023-04-06 11:50:03 +02:00
gezimbll
c2a21365aa Changed path for git repository 2023-03-21 16:22:19 +01:00
gezimbll
d57b6adaa6 Updated paths for copr ansible scripts 2023-03-21 16:22:19 +01:00
gezimbll
1bc7ddc712 adding meta storage types for migrator 2023-03-08 19:15:23 +01:00
gezimbll
7dd79308b8 fixing it tests for db type 2023-03-08 19:15:23 +01:00
gezimbll
b221a385e4 changed internal db type to *internal 2023-03-08 19:15:23 +01:00
gezimbll
5c4bf0e538 changing db type constants with leading * 2023-03-08 19:15:23 +01:00
gezimbll
f9b8fe38b8 updated folder name for copr ansible script 2023-03-08 19:15:23 +01:00
gezimbll
fedc99ab27 ansible scripts for copr server 2023-03-08 19:15:23 +01:00
gezimbll
541a73f22e spec and macros file for copr build 2023-03-08 19:15:23 +01:00
ionutboangiu
a7d2fc53e2 Add comment to getProcessOptions func 2023-03-08 19:13:04 +01:00
ionutboangiu
b1b9647104 Implement EventExporterCfg constructor and use it to get rid of boilerplate code 2023-03-06 17:01:12 +01:00
ionutboangiu
d69f08890b Compare GetStorageType() output to the correct constant 2023-03-01 16:13:49 +01:00
arberkatellari
475a239401 Improving Logger init 2023-02-27 09:14:45 +01:00
arberkatellari
e52fd1dbda Improve logger tests 2023-02-24 16:50:48 +01:00
ionutboangiu
25e08ebe79 Add options for SASL PLAIN auth (amqp 1.0) 2023-02-22 18:20:33 +01:00
ionutboangiu
f5d007a3e0 Revise caps unit test 2023-02-22 18:20:33 +01:00
ionutboangiu
a1449499cf Update to latest amqp 1.0 package version and fix compilation errors 2023-02-22 18:20:33 +01:00
ionutboangiu
0a9f6d90d9 Bump go version 2023-02-22 18:20:33 +01:00
ionutboangiu
d4cc3f39d6 Add integration tests for amqpv1 exporter 2023-02-21 18:27:45 +01:00
ionutboangiu
a8fa028ad7 Update amqpv1 library and fix compilation errors 2023-02-21 18:27:45 +01:00
ionutboangiu
12ed87a5e1 Add integration tests for kafka exporter 2023-02-21 18:27:45 +01:00
ionutboangiu
70c393cbb0 Revise amqp integration tests 2023-02-21 18:27:45 +01:00
gezimbll
f6ab8b599f IT test for setting balance uuid 2023-02-17 12:18:22 +01:00
ionutboangiu
b27ed9f53e Fix caps error typo 2023-02-16 11:28:36 +01:00
ionutboangiu
7c7c701b2c Revise caps integration tests (error handling) 2023-02-16 11:28:36 +01:00
ionutboangiu
3b0a397cd0 Make caps codec return error through API instead of directly 2023-02-16 11:28:36 +01:00
arberkatellari
c7a52d7573 Improve TestCloseLogger 2023-02-13 13:21:56 +01:00
arberkatellari
3646ac71cf Remove unnecessary comment 2023-02-13 13:21:56 +01:00
arberkatellari
2f0e497ddb Change compatibility for environments without syslog 2023-02-13 13:21:56 +01:00
arberkatellari
5bd0c7d065 Move from streadway/amqp to rabbitmq/amqp091-go 2023-02-13 13:21:56 +01:00
ionutboangiu
9ee38516ac Add it test for AMQP exporter 2023-02-02 09:40:55 +01:00
Eng Zer Jun
5973fc9f39 Update CONTRIBUTORS.md 2023-02-02 08:34:14 +01:00
Eng Zer Jun
21bf25f038 Move from streadway/amqp to rabbitmq/amqp091-go
The `github.com/streadway/amqp` module is no longer actively maintained.
The new module is now maintained by the RabbitMQ core team under a
different package name.

Reference: https://github.com/rabbitmq/amqp091-go
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-02-02 08:34:14 +01:00
gezimbll
2217d1525c improving coverage at engine 2023-01-30 08:13:06 +01:00
gezimbll
d9821eb1bb improving coverage test at engine 2023-01-30 08:13:06 +01:00
gezimbll
4b4c591288 improving coverage at engine 2023-01-25 18:28:20 +01:00
gezimbll
b2afa909bc improving coverage at engine 2023-01-25 18:28:20 +01:00
gezimbll
0b9cf7ba7a improving coverage at engine 2023-01-23 17:30:36 +01:00