Service Layer high complexity backend
0
Dependencies
0
Dependents
3
Entities
0
Integrations

Description

Core service that orchestrates the full lifecycle of workshop sessions from creation through archival. Enforces role-based access ensuring only coordinators and admins can manage sessions. Exposes workshop counts to the Bufdir reporting pipeline and handles business rules around session state transitions.

Feature: Mentor Workshop & Career Tools

workshop-management-service

Responsibilities

  • Manage session lifecycle: create, start, complete, archive
  • Enforce coordinator and admin role access for session operations
  • Provide completed workshop count for Bufdir reporting integration
  • Validate state transitions and business rules before persisting changes

Interfaces

createSession(payload)
getSession(sessionId)
listSessions(coordinatorId, filters)
startSession(sessionId)
completeSession(sessionId)
archiveSession(sessionId)
getCompletedWorkshopCount(organisationId, period)
updateSessionMetadata(sessionId, data)
deleteSession(sessionId)