Univention Bugzilla – Bug 56735
Add asynchronous UDM REST API client
Last modified: 2024-04-03 13:10:55 CEST
The example client of UDM REST API is synchronous. We should deliver the same client with just asynchronous IO operations.
MR: https://git.knut.univention.de/univention/ucs/-/merge_requests/926
Issue: https://git.knut.univention.de/univention/ucs/-/issues/1668
An async UDM REST API client has been added, along with an example in the developer reference and a test case with 100% test coverage. UCS 5.2: univention-directory-manager-rest (12.0.3) 54def15fad18 | feat(udm-rest): add async client ucs-test (12.0.14) 54def15fad18 | feat(udm-rest): add async client 904da20787db | docs(udm-rest-api): document async UDM REST API client UCS 5.1: 41bc363d50b feat(udm-rest): add async client 16480b91f80 docs(udm-rest-api): document async UDM REST API client UCS 5.0-7: 9a258089678 feat(udm-rest): add async client a5fefcf9fe5 docs(udm-rest-api): document async UDM REST API client
code: ok tests: ok test-coverage: ok manual-testing: ok changelog: ok errata-yaml: ok nubus-compatibility: ok debian-packaging: ok
Some tests are failing: https://jenkins2022.knut.univention.de/job/UCS-5.0/job/UCS-5.0-7/job/AutotestJoin/lastCompletedBuild/SambaVersion=s4,Systemrolle=master/testReport/73_udm-rest/00_general_tests/test_error_handling/ https://jenkins2022.knut.univention.de/job/UCS-5.0/job/UCS-5.0-7/job/AutotestJoin/lastCompletedBuild/SambaVersion=s4,Systemrolle=backup/testReport/01_base/27check_logfiles_univention/backup093/
Was just flakyness, tests aren't failing anymore-> back to verfied
<https://errata.software-univention.de/#/?erratum=5.0x1017>