Which layer I should add scheduler project in domain driven design architecture?
I am thinking of adding scheduler in Distributed service layer and business login inside application services layer.
Here is the solution design I am thinking of:
Presentation Layer
- UI project
Distribute Service Layer
- Application API
- Scheduler
Application Layer
- Application (Application services for Application API and Scheduler logic)
- DTO
Domain Entity Model
- Project Domain (Domain entities specific to project)
- Scheduler Domain (Domain entities specific to scheduler)
Data Persistence
- Data Access Project (Repositories)
- Data Access Scheduler Domain (Repositories)
Cross Cutting Infra.
- Authorization
- Logging
Any help is appreciated.