feat(esppScheduleSync): создан проект. Добавлена основная логика синхронизации. Docker

This commit is contained in:
Mikhail Trubnikov
2023-11-22 16:34:16 +10:00
parent dc90275f6f
commit b2f150890c
27 changed files with 457 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ namespace PARR.EsppTemplateSync.Domain
public required string TemplateName { get; set; }
public RobotsEnum Robot => RobotsEnum.TemplateOrder;
public bool IsActive { get; set; }
public required string WorkGroup { get; set; }
public required string ShortDescription { get; set; }

View File

@@ -7,7 +7,7 @@ namespace PARR.EsppTemplateSync.Settings
public MqSettings? MqSettings { get; set; }
public StorageSettings? StorageSettings { get; set; }
public List<string>? IgnoreTemplateFields { get; set; }
//public List<string>? IgnoreTemplateFields { get; set; }
public string ParsingSeparator { get; set; } = "<|>";
}

View File

@@ -29,6 +29,7 @@ namespace PARR.EsppTemplateSync
this.mqService = mqService;
this.syncService = syncService;
this.settingsFromDb = settingsFromDb;
if (globalSettings.MqSettings == null)
{
logger.LogError("Нет секции настроек хранилища. MqSettings, EsppTemplates");