konveyor / tackle-pathfinder

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

[TACKLE-9] Business logic for the assessment creation, adding questionaire #11

Closed jonathanvila closed 3 years ago

jonathanvila commented 3 years ago

WHY

Every time an assessment is created , it needs to incorporate the questionnaire.

WHAT

Flatten the questionnaire template into the assessment, copying questions, categories, answers of the default questionnaire.

HOW

On the createAssessment endpoint copy the values.

SCOPE

Assume there's only 1 questionnaire and copy categories, question, values to the assessment structure. The endpoint is not changing its return content.