Skip to main content

Module study_registry

Module study_registry 

Source
Expand description

What the study registry answers, in the pipeline’s own terms. The credit registration worker’s Suotar adapter reads Suotar’s wire records into these; nothing here knows the wire format.

Structs§

CreditRange
Sisu’s credit range. An import against one missing either bound is refused.
DatePeriod
Sisu’s LocalDateRange: start inclusive, end exclusive, either end possibly open.
LocalizedName
Serialized into the frozen payload as {fi, sv, en}.
RegistryAttainment
An attainment the registry holds, or one a submission of ours created. Every field but the id and the type may be missing.
RegistryEnrolment
One of a student’s enrolments on a course code. Only the id is certain: every other field may be missing or unreadable in the registry’s data.
RosterEnrolment
The enrolment a roster lists a person under; every field may be absent.
RosterPerson
One person a course roster lists, once per realisation they are enrolled on.

Enums§

RegistryErrorKind
How a whole request to the study registry failed. Failures of single items are answers, not these.
RegistryOperation
What the pipeline asks of the study registry, one variant per kind of request. The Suotar adapter maps each to its endpoint.

Constants§

ATTAINMENT_TYPE_COURSE_UNIT
The final attainment type in Sisu; any other type on a registered submission is partial evidence.