- SimpleTemplateSynchronizer и GroupedTemplateSynchronizer переведены на паттерн Pipeline с разделением на Read/Write этапы - Выделены контракты этапов (ISimpleSyncStage, IGroupedSyncStage) и контексты (SimpleSyncContext, GroupedSyncContext) - Read-этапы безопасны для тестов (не пишут в БД/MQ), Write-этапы изолированы через отдельные интерфейсы - Добавлено [Perf]-логирование каждого этапа с метриками времени выполнения - Логи приведены к человекочитаемому формату 'Имя' (ID) для Job, JobGroup и Unit - Устранено дублирование данных в контекстах (FilteredUnits перезаписывается, TemplateGroups строго типизирован) - Константы неиспользуемых шаблонов вынесены в UnusedTemplateConstants - Структура проекта реорганизована: SimpleSync, GroupedSync, Implementations, Interfaces
33 lines
1.4 KiB
XML
33 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Worker">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<UserSecretsId>dotnet-PARR.Test-4ed55577-3528-48f9-99c8-33eb108a33bb</UserSecretsId>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Elastic.CommonSchema.Serilog" Version="8.19.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.16" />
|
|
<PackageReference Include="Serilog.Extensions.Hosting" Version="9.0.0" />
|
|
<PackageReference Include="Serilog.Settings.Configuration" Version="9.0.0" />
|
|
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
|
|
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\PARR.Core\PARR.Core.csproj" />
|
|
<ProjectReference Include="..\PARR.DAL\PARR.DAL.csproj" />
|
|
<ProjectReference Include="..\PARR.Domain\PARR.Domain.csproj" />
|
|
<ProjectReference Include="..\PARR.EsppApi\PARR.EsppApi.csproj" />
|
|
<ProjectReference Include="..\PARR.Infrastructure\PARR.Infrastructure.csproj" />
|
|
<ProjectReference Include="..\PARR.TemplateDistributor\PARR.TemplateDistributor.csproj" />
|
|
<ProjectReference Include="..\PARR.TemplateMatcher\PARR.TemplateMatcher.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="log\" />
|
|
</ItemGroup>
|
|
</Project>
|