e-Learning-by-SSE / nm-skill-service

The Skill Repository Service allows content creators / teachers to develop their own competence repositories (i.e., taxonomies), share them with others, and use them to model required and offered compenences of a course.
Apache License 2.0
0 stars 0 forks source link

Review API: user-profiles (POST/GET) #100

Closed Elscha closed 6 months ago

Elscha commented 7 months ago

Beschreibung

Review und falls nötig fehlende Funktionen implementieren um:

Image

Verantwortlichkeiten

Hinweise

LPhD commented 7 months ago

To clarify: Do we need the POST API? Users are created via events. Also user creation still needs more validation/testing and probably a revision. Do we need the GET API for all profiles?

Chris-Sauer commented 7 months ago

The GET API for all profiles and the user creation were planned and implemented before the "Event" system. If this is now all handled by events we may also remove the GET All and user creation form the user-service.

LPhD commented 7 months ago

Feedback from MLS: Post and Get are not necessary, as indicated by the dashed lines. Post is handled via Events, Get is maybe usefull in the future (but not in its current form).

Elscha commented 6 months ago

Entscheidung vom 9.4.2024 mit Eugen & Florian: UserProfile enthählt nur stauts (active/inactive) Sub-DTOs sollen nicht direkt mitgesendet werden. Sub-DTOs (z.B. LearningProfile, CareerProfile, LearningHistory, ...) werden über die gleiche MLS-ID referenziert und müssen im Event-System blanko angelegt werden, wenn auch ein leeres UserProfile angelegt wird.

LPhD commented 6 months ago

This should be the new userProfile: • Id (MLS id) • learningProfile -> Präferenzen des Users, mehr Details s.u. • careerProfile -> Job Historie etc., s.u. • learningHistory -> Welche Skills wurden wann wie erlernt, etc. (das wird ja nur von uns intern verwendet, richtig?) • status (active/inactive)