refactor: restructure solution to match ItemTracker layered architecture

- Remove Core (replaced by dedicated layers)
- Add DAL.Abstract (domain model + repository interfaces)
- Add DAL.EF (EF context, entities, migrations — references DAL.Abstract)
- Add Services (business logic — references DAL.Abstract only, not DAL.EF)
- Api and Worker reference Services + DAL.EF for DI wiring
- Replace Core.Tests with Services.Tests
- Dependency boundary enforced: Services never references DAL.EF

Ref: IT-628

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Anatolii Grynchuk
2026-05-01 19:17:26 +03:00
parent 8aee35c123
commit ed4a6578c3
12 changed files with 55 additions and 12 deletions
+4 -2
View File
@@ -1,7 +1,9 @@
<Solution>
<Project Path="HrynCo.NotificationService.Api.IntegrationTests/HrynCo.NotificationService.Api.IntegrationTests.csproj" />
<Project Path="HrynCo.NotificationService.Api/HrynCo.NotificationService.Api.csproj" />
<Project Path="HrynCo.NotificationService.Core.Tests/HrynCo.NotificationService.Core.Tests.csproj" />
<Project Path="HrynCo.NotificationService.Core/HrynCo.NotificationService.Core.csproj" />
<Project Path="HrynCo.NotificationService.DAL.Abstract/HrynCo.NotificationService.DAL.Abstract.csproj" />
<Project Path="HrynCo.NotificationService.DAL.EF/HrynCo.NotificationService.DAL.EF.csproj" />
<Project Path="HrynCo.NotificationService.Services.Tests/HrynCo.NotificationService.Services.Tests.csproj" />
<Project Path="HrynCo.NotificationService.Services/HrynCo.NotificationService.Services.csproj" />
<Project Path="HrynCo.NotificationService.Worker/HrynCo.NotificationService.Worker.csproj" />
</Solution>