The installation of the Kelvin-API also creates a portal entry to "/ucsschool/kelvin". This is quite pointless because there is nothing to be shown at this URL. This might confuse and doesn't really look professional. what could be shown else? - point to the documentation of the API - point to the (Swagger)-UI - point to another (local) landingpage Note: I am creating this not as a feature request because I expect that some users (or people who notice this behaviour) might think that the API is not working at all.
Note to self in case we change this: Change the WebInterface key in the app ini. This should work: ``` WebInterface = /ucsschool/kelvin/v1/docs ```
(In reply to Jürn Brodersen from comment #1) > Note to self in case we change this: > > Change the WebInterface key in the app ini. This should work: > > ``` > WebInterface = /ucsschool/kelvin/v1/docs > ``` This DOES NOT work! WebInterface also changes the apache config and not just the link. Which breaks the swagger interface (the openapi.json can not be loaded) See: /etc/apache2/sites-available/000-default.conf Alternative: ucr set ucs/web/overview/entries/service/ucsschool-id-connector/link='/ucsschool-id-connector/api/v1/docs' in the configure_host script
For kelvin: ucr set ucs/web/overview/entries/service/ucsschool-kelvin-rest-api/link='/ucsschool/kelvin/v1/docs'
Issue has been resolved by explicitly redirecting the base url to the docs page in the kelvin api. https://git.knut.univention.de/univention/components/ucsschool-kelvin-rest-api/-/issues/136
Created attachment 11195 [details] new-behavior
QA - changelog ok - jenkins ok - upgrade works & link now points to http://10.207.208.22/ucsschool/kelvin/v1/docs (see attachment) appcenter scripts were uploaded: https://appcenter-test.software-univention.de/univention-repository/4.4/maintained/component/ucsschool-kelvin-rest-api_20231017133735/ ...but the readme is somehow messed up https://appcenter-test.software-univention.de/univention-repository/4.4/maintained/component/ucsschool-kelvin-rest-api_20231017133735/README_UPDATE_DE -> verify
Kelvin 1.10.0 was released today, if this bug occurs again please clone this bug.