feat(api): TemplateActivatorController отправка запросов на активацию/деактивацию шаблонов/расписаний

This commit is contained in:
Mikhail Trubnikov
2024-07-25 12:26:54 +10:00
parent 9ae4903527
commit 70d96cb88f
8 changed files with 149 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ namespace PARR.API.Settings
{
public MqGenerateTemplates GenerateTemplates { get; set; } = new MqGenerateTemplates();
public MqTemplateDistributor TemplateDistributor { get; set; } = new MqTemplateDistributor();
public MqTemplateActivator TemplateActivator { get; set; } = new MqTemplateActivator();
public MqStatistics Statistics { get; set; } = new MqStatistics();
}
@@ -25,6 +26,14 @@ namespace PARR.API.Settings
public string Password { get; set; } = string.Empty;
}
public class MqTemplateActivator : IMqSettings
{
public string HostName { get; set; } = string.Empty;
public string QueueName { get; set; } = string.Empty;
public string User { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
}
public class MqStatistics
{
public StatMqAuth StatMqAuth { get; set; } = new StatMqAuth();