feat(api): TemplateActivatorController отправка запросов на активацию/деактивацию шаблонов/расписаний
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user