Commit Graph

10149 Commits

Author SHA1 Message Date
ionutboangiu
3d8ad41d83 Remove executable bit from .csv files 2023-06-13 20:14:58 +02:00
ionutboangiu
53c51bfe5f Remove executable bit from .conf files 2023-06-13 20:14:58 +02:00
ionutboangiu
a8bdbe33a6 Remove executable bit from .json files 2023-06-13 20:14:58 +02:00
ionutboangiu
8f4a3e8d13 Revise config integration test 2023-06-13 20:14:58 +02:00
ionutboangiu
e7deb1bcd0 Update cgrates.spec file and installation docs for .rpm distros 2023-06-13 10:27:29 +02:00
NikolasPetriti
c87644a451 Cover all slice.go tests 2023-06-13 10:26:38 +02:00
NikolasPetriti
d4527b4691 covered testing for map.go 2023-06-13 10:26:38 +02:00
NikolasPetriti
9a6597a7ee Sign contributors list 2023-06-13 10:26:38 +02:00
NikolasPetriti
c62eb7bd7a Add tests for concureqs.go 2023-06-13 10:26:38 +02:00
ionutboangiu
39a0fe7d8a Revise tutorial documentation 2023-06-12 14:18:37 +02:00
ionutboangiu
fa180b829d Update libraries 2023-06-12 14:18:37 +02:00
ionutboangiu
f2359d1fe1 Sign contributors list 2023-06-12 14:18:37 +02:00
ionutboangiu
796b51be60 Add copy button extension for documentation code blocks 2023-06-12 14:18:37 +02:00
ionutboangiu
69b1e9279a Revise test to check for panic in case of rerate for a 0 cost CDR 2023-06-12 14:18:37 +02:00
ionutboangiu
b0bddb7c74 Update installation docs 2023-06-12 14:18:37 +02:00
ionutboangiu
1df7b52e17 Add cgr-engine binary to /usr/local/bin instead of /usr/bin 2023-06-12 14:18:37 +02:00
ionutboangiu
a554946162 Make rabbitmq role idempotent by replacing shell commands with apt_key 2023-06-07 10:28:32 +02:00
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
ionutboangiu
fbfb9fddd0 Revise exporter fields for fwv unit test 2023-06-05 10:55:32 +02:00
gezimbll
de2eaec25a Fixing tpexporter initialization of slices && testing errors for tpexporter 2023-05-31 10:21:02 +02:00
arberkatellari
43daf3efe5 Add error handler for Mongo GetCDrs remove 2023-05-25 11:35:53 +02:00
ionutboangiu
c83d097e9e Remove duplicate implementation 2023-05-25 08:58:05 +02:00
ionutboangiu
5f890881f0 Implement generic OrderedMap to keep track of csv/fwv record order 2023-05-25 08:52:32 +02:00
ionutboangiu
c7914f3bb3 Implement generic OrderedMap to keep track of csv/fwv record order 2023-05-25 08:41:26 +02:00
gezimbll
bda68b7a0d Revert slice initializiation with append 2023-05-24 09:59:41 +02:00
arberkatellari
e3cd50c26d Add case for AsExportMap field types 2023-05-23 08:20:37 +02:00
gezimbll
4e6da29569 Update toExportMap to initialize the slices with make() 2023-05-23 08:19:57 +02:00
ionutboangiu
e06fc9eb8d Check if RoundingDecimals is nil before loading
This prevents the nil pointer dereference panic occuring when not set it is not set.
2023-05-22 09:38:57 +02:00
gezimbll
a2633a7fd7 Improving coverage test at engine 2023-05-22 07:54:12 +02:00
ionutboangiu
a3a8c5a4a4 Make the FCTmpl.RoundingDecimals field a pointer
The purpose of this is to check whether RoundingDecimals was set from the fields configuration.
If it wasn't, we are going to be using the RoundingDecimals dictated by the general subsection.
2023-05-22 07:53:47 +02:00
ionutboangiu
6a6fefd0cd Improve cost formatting and parsing for CDRs
The FormatCost function in cdr.go now accepts an additional parameter of type *config.RSRParser. This is
then used to extract the value from its path as opposed to always using the value of the Cost field directly.

Improved the unit test for the FormatCost function. Now it has become a table-driven test and it handles
cases when the cost is retrieved from different fields other than  from the CDR.
2023-05-22 07:53:47 +02:00
gezimbll
b357dfa0df Improving coverage test at engine 2023-05-18 19:29:24 +02:00
gezimbll
021c860a81 Improving coverage tests at engine 2023-05-18 19:29:24 +02:00
gezimbll
4bfdebd48f Improving coverage tests at engine 2023-05-18 19:29:24 +02:00
gezimbll
00961123ff Improving coverage tests at engine 2023-05-18 19:29:24 +02:00
ionutboangiu
f45d33a70b Make use of roles in the it_tests ansible playbook 2023-05-18 19:28:16 +02:00
ionutboangiu
f523cb444a Implement install_kafka role 2023-05-18 19:28:16 +02:00
ionutboangiu
995199e634 Revise install_rebbitmq role 2023-05-18 19:28:16 +02:00
ionutboangiu
0657a9525e Make install_mongodb role idempotent 2023-05-18 19:28:16 +02:00
ionutboangiu
73fa59d32b Implement install_rabbitmq role 2023-05-18 19:28:16 +02:00
ionutboangiu
0743363bb2 Implement install_mongodb role 2023-05-18 19:28:16 +02:00
ionutboangiu
6b4dbbbe24 Change extension of .yml files to .yaml for consistency 2023-05-18 19:28:16 +02:00
ionutboangiu
051240f5e5 Downgrade sphinx version to be compatible with latest sphinx-rtd-theme 2023-05-18 19:28:16 +02:00
ionutboangiu
f3807bc656 Remove go.yaml files in favour of install_go role 2023-05-18 19:28:16 +02:00
gezimbll
dc2741c025 Improving coverage tests 2023-05-10 10:40:13 +02:00
gezimbll
f67c9e2455 Improving coverage tests at engine 2023-05-10 10:40:13 +02:00
ionutboangiu
40ba65a019 Make small revisions to installation docs 2023-05-10 10:39:53 +02:00
ionutboangiu
bca0cd8af1 Pin transitive dependencies 2023-05-10 10:39:53 +02:00
ionutboangiu
189a8dee7b Revise .readthedocs.yaml cfg file 2023-05-10 10:39:53 +02:00
ionutboangiu
609a9a129d Revise doc for fs install + warning fixes 2023-05-07 19:25:19 +02:00