Bug 50720 - [Kelvin API] deactivate School create route
Summary: [Kelvin API] deactivate School create route
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
Version: UCS@school 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Daniel Tröder
QA Contact: Ole Schwiegert
URL:
Keywords:
Depends on:
Blocks: 50637
  Show dependency treegraph
 
Reported: 2020-01-16 08:57 CET by Daniel Tröder
Modified: 2021-02-23 09:30 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2020-01-16 08:57:19 CET
As creating school OUs is not yet supported, the route should not exist.
Comment 1 Daniel Tröder univentionstaff 2020-01-16 09:00:52 CET
The route that previously existed, and always returned HTTP 405 (METHOD_NOT_ALLOWED), does not exist anymore.
Thus the server will keep returning HTTP 405, but the route won't show up in the OpenAIP schema and the Swagger UI anymore.
The test ucs-test-ucsschool/94_ucsschool-api-kelvin/01_school_resource::test_05_create_ou has been adapted accordingly.

[feature/kelvin 4edcbf8cb] Bug #50720: deactivate route for school creation

To test this, check the SwaggerUI before and after updating for the POST /schools route.
Comment 2 Ole Schwiegert univentionstaff 2020-01-21 08:00:37 CET
Route does not exist anymore: OK
405 returned: OK
Swagger: OK
Comment 3 Daniel Tröder univentionstaff 2021-02-23 09:30:02 CET
A Kelvin API app with the changes in this bug has been published.