Univention Bugzilla – Bug 52727
[Kelvin API] use UDM REST API client with 'options' as a dict
Last modified: 2021-02-23 09:30:00 CET
Change the Kelvin API code to use the new UDM REST API client 0.5.0 with 'options' as a dict.
The UCS@school lib and the Kelvin API code have been adapted to work with the API change of the UDM REST API client 0.5.0. The tests have been fixed and improved. In branch dtroeder/52727_options_dict: [a5626ccd1] Bug #52727: use UDM REST API client 0.5.0 and adapt to API change ('options' as dict) [d56c75ccd] Bug #52727: fix tests
Version 1.0.1 is now required.
Code has been merged into "feature/kelvin". A new Docker image was build and the Kelvin app version 1.3.0 can now be installed form the test appcenter.
QA → Almost all OK → REOPEN - new app version is present in test-app center (1.3.0) - Code-changes → Looks good. - udm-rest-client>=1.0.1 → in ucs-school-lib & kelvin-api - tests → pass in ucs-school-lib/modules/ucsschool/lib/tests/conftest.py grp_obj.props.ucsschoolRole = [ create_ucsschool_role_string(role_school_class_share, sc_attrs["school"]), ] looks like it should be share_obj.props.ucsschoolRole = [ create_ucsschool_role_string(role_school_class_share, sc_attrs["school"]), ]
Thanks, fixed it: [feature/kelvin 96d814980] Bug #52727: fix typo A new Docker image was build and uploaded.
QA: All OK → VERIFY
A Kelvin API app with the changes in this bug has been published.