Implemented scheduling service and first two jobs

This commit is contained in:
2026-10-28 17:01:28 +02:00
parent 6114d8f457
commit 7f686fa8c6
20 changed files with 304 additions and 112 deletions
@@ -0,0 +1,3 @@
namespace PostFundManagement.Domain.Abstractions;
public interface IDomain;
@@ -9,6 +9,4 @@ public sealed class SmtpSettings
public string? Host { get; set; }
public bool UseSsl { get; set; }
public string? ProcessorJobCron { get; set; }
}
@@ -2,8 +2,6 @@ namespace PostFundManagement.Domain.Extensions;
public static class Constants
{
public const string ServiceCachingFeature = "EnableServiceCaching";
public const string SkorubaCredentialClient = nameof(SkorubaCredentialClient);
public const string SkorubaHttpClient = nameof(SkorubaHttpClient);
public const string MainScope = "ApiScope";
@@ -28,4 +26,10 @@ public static class Constants
public const int TextLength = 1024;
public const int MediumTextLength = 2048;
public const int LargeTextLength = 1_048_576; // 1 MB — accommodates branded HTML emails with embedded logo
public const string FeatureEmailProcessor = "EmailProcessorJobEnabled";
public const string FeatureLateProjectReminder = "LateProjectReminderEnabled";
public const string FeatureServiceCaching = "ServiceCaching";
public static Guid SystemUser { get; } = new(0x6059f1e4, 0x6a41, 0x4447, 0xa5, 0x46, 0x86, 0xec, 0xe5, 0x10, 0x20, 0x4) /* 6059f1e4-6a41-4447-a546-86ece5102004 */;
}
@@ -1,5 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<None Remove="Templates\lateprojectsmilestones.html" />
<None Remove="Templates\noncompliantprojects.html" />
<EmbeddedResource Include="Templates\lateprojectsmilestones.html" />
<EmbeddedResource Include="Templates\noncompliantprojects.html" />
</ItemGroup>
<!-- Transformation -->
<ItemGroup>
<PackageReference Include="Humanizer" />