Commit Graph

12732 Commits

Author SHA1 Message Date
ionutboangiu
35fee5ccdf Make rabbitmq role idempotent by replacing shell commands with apt_key 2023-06-07 10:31:21 +02:00
ionutboangiu
ef5595ac01 Use keyring with apt_key in elasticsearch role 2023-06-07 10:31:21 +02:00
ionutboangiu
14c303d639 Make small revisions to the nats ansible role
- add become: yes for all tasks where it's necessary
- add the installation directory as a variable, with its default to /opt/nats
2023-06-07 10:31:21 +02:00
ionutboangiu
4ea8fac9b7 Update the it_tests playbook to use the newly implemented roles 2023-06-05 10:53:58 +02:00
ionutboangiu
43128dd3fa Implement nats ansible role 2023-06-05 10:53:58 +02:00
ionutboangiu
9d47eb568a Implement elasticsearch ansible role 2023-06-05 10:53:58 +02:00
ionutboangiu
2593c30bd4 Make use of roles in the it_tests ansible playbook 2023-06-05 10:53:58 +02:00
ionutboangiu
289877c24a Implement install_kafka role 2023-06-05 10:53:58 +02:00
ionutboangiu
aa49a67227 Revise install_rebbitmq role 2023-06-05 10:53:58 +02:00
ionutboangiu
60c59c7259 Make install_mongodb role idempotent 2023-06-05 10:53:58 +02:00
ionutboangiu
db3c08a771 Implement install_rabbitmq role 2023-06-05 10:53:58 +02:00
ionutboangiu
c345237b8a Implement install_mongodb role 2023-06-05 10:53:58 +02:00
ionutboangiu
046505c44b Change extension of .yml files to .yaml for consistency 2023-06-05 10:53:58 +02:00
ionutboangiu
c7fdb8bf5a Downgrade sphinx version to be compatible with latest sphinx-rtd-theme 2023-06-05 10:53:58 +02:00
ionutboangiu
15703c78a5 Remove go.yaml files in favour of install_go role 2023-06-05 10:53:58 +02:00
gezimbll
a664b31df0 Fix message on agents logs 2023-06-05 10:53:17 +02:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
ionutboangiu
97c3dab0f4 Add implementation for ordered map 2023-05-31 10:23:12 +02:00
arberkatellari
f6a3af57dd Add error handler for Mongo GetCDrs remove 2023-05-31 10:19:13 +02:00
gezimbll
57d5c27f58 Fixing tpexporter initialization of slices 2023-05-25 08:12:20 +02:00
gezimbll
b95555a18b Fix cloning of variables with independent copy 2023-05-25 08:12:20 +02:00
ionutboangiu
f2201f3e62 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.
2023-05-23 03:41:07 -04:00
arberkatellari
12039b9d93 Add test for createIncrementsSlice 2023-05-23 08:21:08 +02:00
gezimbll
ecc452703a Update toExportMap to initialize the slices with make() 2023-05-23 08:03:36 +02:00
gezimbll
d2fabb428c Fix exporter handling of timings slice 2023-05-23 08:03:36 +02:00
gezimbll
1c69fd2022 Improving coverage tests at engine 2023-05-18 19:29:41 +02:00
gezimbll
5d62899d75 Improving coverage tests at engine 2023-05-18 19:29:41 +02:00
ionutboangiu
c8bc978241 Replace the api docs link with the correct one 2023-05-18 19:28:39 +02:00
ionutboangiu
738cd86103 Make small revisions to installation docs 2023-05-18 19:28:39 +02:00
ionutboangiu
3036d4eb11 Pin transitive dependencies 2023-05-18 19:28:39 +02:00
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