feat(templateTaskGenerator): Написан TemplateTaskGenerator, читает очередь Mq parr-template-task-generator при получении id регламентной работы проверяет несозданные шаблоны. При наличии таковых пишет сообщение в очередь parr-template-generator
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.BLL.Domain.Mq;
|
||||
using PARR.BLL.Services.Interfaces;
|
||||
using PARR.Constants;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PARR.TemplateActivator;
|
||||
|
||||
@@ -67,6 +65,6 @@ internal class MqTemplateActivator : IMqTemplateActivator
|
||||
|
||||
public async Task StopAsync()
|
||||
{
|
||||
await mqService.DisposeAsync();
|
||||
await mqService.DisposeAsync();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.Constants;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
|
||||
namespace PARR.TemplateActivator;
|
||||
|
||||
Reference in New Issue
Block a user