Commit Graph

10381 Commits

Author SHA1 Message Date
ionutboangiu
7e663e7b60 Bump workflow actions to latest versions 2024-06-06 11:13:32 +02:00
ionutboangiu
52e879b505 Bump go version 2024-06-06 11:13:32 +02:00
ionutboangiu
29c570b935 Run unstable offline tests separately in actions
Added condition to skip them during integration_test.sh. Has
    to be removed once the issue is fixed.
2024-06-06 11:13:32 +02:00
ionutboangiu
c0b665a015 Make go vet pass
The rpcclient constructor could not see the centralized
Encoding flag because it didn't have the necessary build
constraints. Added the constraints in lib_test.go files
where it wasn't alone. In all the other cases, it was
moved to the first file where it was needed.

Moved resources cache tests relying on DBType flag value
to a separate integration test file. Before it was getting
skipped for *internal anyway.
2024-06-06 11:13:32 +02:00
ionutboangiu
6d3d7b3b23 Run integration and flaky scripts separately in workflow
flaky_test.sh failure will be ignored
2024-06-06 11:13:32 +02:00
ionutboangiu
e531b6e66d Add script to specifically run flaky tests 2024-06-06 11:13:32 +02:00
ionutboangiu
6ac644e85c Revise integration script to return correct exit code
Before it was always returning 1
2024-06-06 11:13:32 +02:00
ionutboangiu
41c62c1291 Add flaky build constraint to unstable tests 2024-06-06 11:13:32 +02:00
ionutboangiu
454c0552f2 Centralize test flags in utils for shared use across tests 2024-06-06 11:13:32 +02:00
ionutboangiu
1c45173c8e Remove top-level changelog symlink for now 2024-05-16 14:45:21 +02:00
ionutboangiu
424416d8c9 Revert "Restore changelog and update symlink to it"
This reverts commit 48f4ef1f90.
2024-05-16 14:45:21 +02:00
gezimbll
27a9179ab8 revise threshold snooze time to update only after sleep interval 2024-05-07 13:39:32 +02:00
ionutboangiu
141c0efbd7 Bump kafka version inside ansible role 2024-04-11 13:23:23 +02:00
ionutboangiu
56f8549ea4 Ensure EC FieldAsInterface method works correctly
- trim fldPath Increments before retrieving the field
- Rating map can be accessed from Accounting
- ExtraCharges can be accessed from Accounting
- RatingUnit fields that did not represent the id of
another EC struct are now retrievable
- add unit tests
2024-04-11 13:23:23 +02:00
ionutboangiu
09f4ede812 Remove condition when moving package files to pkg host 2024-02-28 12:45:55 +01:00
ionutboangiu
0ee816a3f0 Update config sanity check for xmldp
Before it included paths starting with prefixes other than
~*req which is incorrect.
2024-02-28 12:45:55 +01:00
ionutboangiu
48f4ef1f90 Restore changelog and update symlink to it 2024-02-28 12:45:55 +01:00
ionutboangiu
4850a75499 Bump go version 2024-02-28 12:45:55 +01:00
Bas Couwenberg
f1c5aae7da Update deb_packages playbook to support multiple distributions. 2024-02-27 16:25:57 +01:00
Bas Couwenberg
d8c5a61253 Fix script-not-executable Lintian issue. 2024-02-27 16:25:57 +01:00
Bas Couwenberg
f9bfb8cba1 Fix executable-not-elf-or-script Lintian issues. 2024-02-27 16:25:57 +01:00
Bas Couwenberg
4a7fb0b2ae Fix systemd-service-file-missing-documentation-key Lintian issue. 2024-02-27 16:25:57 +01:00
Bas Couwenberg
ce88516024 Fix maintainer-script-lacks-home-in-adduser Lintian issue. 2024-02-27 16:25:57 +01:00
Bas Couwenberg
4846cbdd81 Modernize Debian packaging. 2024-02-27 16:25:57 +01:00
Bas Couwenberg
ef1696d5e1 Pass commit date and hash to -ldflags separately. 2024-02-27 16:25:57 +01:00
ionutboangiu
b2b82dd55b Update fsock library 2024-01-06 17:16:10 +01:00
ionutboangiu
7eb78cb40e Rename composeURI func to composeMongoURI
To reflect that it's used exclusively for MongoDB (for now at least).

Also added a descriptive comment to the function.
2023-12-07 16:57:43 +01:00
ionutboangiu
f23179899c Revise buildURL function
Renamed to composeURI.

Use simple string concatenation to build URI because there is
no need to keep the Parse call as a validation step. Any issue
would be caught when establishing a connection.
2023-12-07 16:57:43 +01:00
ionutboangiu
23d9211fe5 Update MongoDB driver 2023-12-07 16:57:43 +01:00
ionutboangiu
baea103b07 Revise integration_test.sh script 2023-10-27 18:51:42 +02:00
ionutboangiu
4eb2b9d5d4 Replace deprecated Publish method with PublishWithContext 2023-10-27 18:51:42 +02:00
ionutboangiu
6d20afc8c5 Bump mongodb version in ansible role 2023-10-26 16:26:52 +02:00
ionutboangiu
563666e61c Update README links to docs 2023-10-26 16:26:52 +02:00
ionutboangiu
43a71dd6d2 Update expected value in kafka it tests 2023-10-26 16:26:52 +02:00
ionutboangiu
4d05b1683b Delete coprgate ansible playbook 2023-10-19 17:20:25 +02:00
ionutboangiu
7dbef9443b Update kafka handler to run with sudo 2023-10-19 17:20:25 +02:00
ionutboangiu
ca52732430 Update kafka test to use the correct topic name 2023-10-17 17:41:19 +02:00
ionutboangiu
0651f3cb8f Update kafka ansible role
- use kraft instead of zookeeper
- add handlers in case of cfg changes
- create a separate user for the kafka service
- bump kafka version
- make the role more configurable
2023-10-17 17:41:19 +02:00
ionutboangiu
ccbaa70c00 Update libraries 2023-10-17 17:41:19 +02:00
ionutboangiu
0cb4055cd0 Update test for XmlProvider String() func 2023-10-17 17:41:19 +02:00
ionutboangiu
d861dfa80e Rename prefix to isAbsolute inside HP.AsString() 2023-10-17 17:41:19 +02:00
ionutboangiu
66893d3d76 Handle empty relative path case in HP.AsString()
Return '.' when HierarchyPath is empty and prefix is false.
2023-10-17 17:41:19 +02:00
ionutboangiu
5a5c141806 Properly handle cdr verification in fwv er test 2023-10-17 17:41:19 +02:00
ionutboangiu
708742169f Update XmlProvider String() func
The comment specifies that it should display the already parsed values
out of cache.
2023-10-17 17:41:19 +02:00
ionutboangiu
2ff7824aa3 Handle test received value instead of printing 2023-10-17 17:41:19 +02:00
ionutboangiu
32517c6d68 Update rabbitmq role for latest debian/ubuntu compatibility 2023-10-16 18:56:49 +03:00
gezimbll
09619a8442 adding tests for internal storage 2023-10-16 18:17:11 +03:00
gezimbll
78ef6209da Adding tests for internal storage 2023-10-16 18:17:11 +03:00
gezimbll
c82596c810 Adding tests for internal storage 2023-10-16 13:34:29 +03:00
ionutboangiu
f3e0669c2d Update github workflows to use correct go version 2023-10-16 13:31:14 +03:00