Skip to main content

LMS Layer Dependencies

Summary

The endpoint layer imports Application, Domain, and Infrastructure directly. Infrastructure imports Application tenant context, Domain types, shared outbox, and shared contracts. Application owns both the Document interface and concrete HTTP adapter.

Direct API-to-DbContext and Application-colocated adapter dependencies bypass a stricter ports-and-adapters/CQRS boundary. This is confirmed current structure, not an intended architecture claim.

Requires confirmation

Fine-grained authorization, production ownership, operational governance, and future architectural boundaries require confirmation where not implemented.

Source References

  • microservices/src/training-service/training-service.csproj
  • microservices/src/training-service/Program.cs
  • microservices/src/training-service/Api/TrainingEndpoints.cs
  • microservices/src/training-service/Application/Common.cs
  • microservices/src/training-service/Infrastructure/TrainingDbContext.cs
  • microservices/src/contracts/Events/TrainingLifecycleEvents.cs

See Also

Keywords

  • LMS technical architecture
  • Source-backed implementation

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-17
  • Review cycle: Quarterly