konveyor / tackle-pathfinder

Tackle Pathfinder application
Apache License 2.0
16 stars 23 forks source link

[TACKLE-9] Create updateAssessment endpoint #13

Closed jonathanvila closed 3 years ago

jonathanvila commented 3 years ago

WHY

The UI needs an endpoint to submit the answers from the user in an assessment and to store it on the DB

WHAT

Receive all assessment information with questions (questionId), selected answer (optionId) and comments ( for every question) and store it in the database

HOW

Create updateAssessment endpoint receiving described info, and create or update the info in the needed table.

SCOPE

Store the information received, setting the value for first time or updating the already inserted. The answer will be a success code or an error code.