Skip to content

Story 4: As a user I like to earn points when I finish a course in moodle

No due date 0% complete

Moodle API sends a webhook request when a course is finished.
Spring registers the "course finished" request to a moodle webhook history table. (Logbook)
When a new "course finished" log is requested, Spring checks if the course has already been finished before in the Logbook, if not it calls to update the points of a user.
When the points service receive…

Moodle API sends a webhook request when a course is finished.
Spring registers the "course finished" request to a moodle webhook history table. (Logbook)
When a new "course finished" log is requested, Spring checks if the course has already been finished before in the Logbook, if not it calls to update the points of a user.
When the points service receives a request to update a user's points, it updates the points.

Loading