Done
Details
Assignee
Mykola MakhinMykola MakhinReporter
Craig McNallyCraig McNallyPriority
P3Story Points
1Sprint
NoneDevelopment Team
EurekaFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Mykola Makhin
Mykola MakhinReporter
Craig McNally
Craig McNallyPriority
Story Points
1
Sprint
None
Development Team
Eureka
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created July 15, 2024 at 9:00 PM
Updated August 19, 2024 at 11:54 AM
Resolved August 2, 2024 at 1:23 PM
Overview
In we introduced two new API endpoints:
GET /users-keycloak/auth-users/{userId}
POST /users-keycloak/auth-users/{userId}
The error responses (4xx/5xx) should include the standard response body. See
Acceptance Criteria
All 4xx/5xx responses include a body conforming to the schema linked above.
Reasonable error messages are included in the response, e.g. indicating that the specified user does not have a username
Tests have been updated as needed
Approach
Use the
ApiExceptionHandler
which automatically maps the exception to the appropriate error response.Update the OpenAPI spec as needed.