コード例 #1
0
 protected AzureControlQueueConsumer(IJobControlQueue <StorageQueueMessage> messageService, ILogService logger, string jobName, string queueName)
 {
     MessageService = messageService;
     _jobName       = jobName;
     QueueName      = queueName;
     _logger        = logger;
 }
コード例 #2
0
 public MonitorControlQueueConsumer(IJobControlQueue <StorageQueueMessage> messageService,
                                    IMonitorTasksRunner monitorTasksRunner, IConfigurationService configurationService, ILogService logger)
     : base(messageService, logger, "Monitor", ScheduledJobQueues.Monitor)
 {
     _monitorTasksRunner   = monitorTasksRunner;
     _configurationService = configurationService;
 }
コード例 #3
0
 public DailyMetricsControlQueueConsumer(
     IJobControlQueue <StorageQueueMessage> messageService,
     IDailyMetricsTasksRunner dailyMetricsTasksRunner,
     IConfigurationService configurationService,
     ILogService logger)
     : base(messageService, logger, "DailyMetrics", ScheduledJobQueues.DailyMetrics)
 {
     _dailyMetricsTasksRunner = dailyMetricsTasksRunner;
     _configurationService    = configurationService;
 }
コード例 #4
0
 public HousekeepingControlQueueConsumer(
     ILogService logger,
     IJobControlQueue <StorageQueueMessage> messageService,
     ICandidateProcessor candidateProcessor,
     IRootApplicationHousekeeper rootApplicationHousekeeper,
     IRootCommunicationHousekeeper rootCommunicationHousekeeper)
     : base(messageService, logger, "Housekeeping", ScheduledJobQueues.Housekeeping)
 {
     _candidateProcessor           = candidateProcessor;
     _rootApplicationHousekeeper   = rootApplicationHousekeeper;
     _rootCommunicationHousekeeper = rootCommunicationHousekeeper;
 }
コード例 #5
0
 public VacancyEtlControlQueueConsumer(IJobControlQueue <StorageQueueMessage> messageService,
                                       IVacancySummaryProcessor vacancySummaryProcessor,
                                       IVacancyIndexerService <ApprenticeshipSummaryUpdate, ApprenticeshipSummary> apprenticeshipVacancyIndexerService,
                                       IVacancyIndexerService <TraineeshipSummaryUpdate, TraineeshipSummary> traineeshipVacancyIndexerService,
                                       ILogService logger)
     : base(messageService, logger, "Vacancy ETL", ScheduledJobQueues.VacancyEtl)
 {
     _vacancySummaryProcessor             = vacancySummaryProcessor;
     _apprenticeshipVacancyIndexerService = apprenticeshipVacancyIndexerService;
     _traineeshipVacancyIndexerService    = traineeshipVacancyIndexerService;
     _logger = logger;
 }
コード例 #6
0
 public VacancySummaryProcessor(
     IServiceBus serviceBus,
     IVacancyIndexDataProvider vacancyIndexDataProvider,
     IMapper mapper,
     IJobControlQueue <StorageQueueMessage> jobControlQueue,
     IApprenticeshipSummaryUpdateProcessor apprenticeshipSummaryUpdateProcessor,
     ITraineeshipsSummaryUpdateProcessor traineeshipsSummaryUpdateProcessor,
     ILogService logger)
 {
     _serviceBus = serviceBus;
     _vacancyIndexDataProvider = vacancyIndexDataProvider;
     _mapper          = mapper;
     _jobControlQueue = jobControlQueue;
     _apprenticeshipSummaryUpdateProcessor = apprenticeshipSummaryUpdateProcessor;
     _traineeshipsSummaryUpdateProcessor   = traineeshipsSummaryUpdateProcessor;
     _logger = logger;
 }
 public VacancyStatusControlQueueConsumer(IJobControlQueue <StorageQueueMessage> messageService, ILogService logger, IVacancyStatusProcessor vacancyStatusProcessor)
     : base(messageService, logger, "Vacancy Status Processor", ScheduledJobQueues.VacancyStatus)
 {
     _vacancyStatusProcessor = vacancyStatusProcessor;
     _logger = logger;
 }
コード例 #8
0
        public FaaMigrationControlQueueConsumer(IJobControlQueue <StorageQueueMessage> messageService, IConfigurationService configurationService, ILogService logService) : base(messageService, logService, "FAA Migration", ScheduledJobQueues.FaaMigration)
        {
            _logService = logService;

            _migrationProcessor = new MigrationProcessor(configurationService, _logService);
        }
コード例 #9
0
 public DailyDigestControlQueueConsumer(IJobControlQueue <StorageQueueMessage> messageService,
                                        ICommunicationProcessor communicationProcessor, ILogService logger)
     : base(messageService, logger, "Communications", ScheduledJobQueues.DailyDigest)
 {
     _communicationProcessor = communicationProcessor;
 }
コード例 #10
0
 public SavedSearchControlQueueConsumer(IJobControlQueue <StorageQueueMessage> messageService, ILogService logger, ISavedSearchProcessor savedSearchProcessor)
     : base(messageService, logger, "Saved Search Processor", ScheduledJobQueues.SavedSearch)
 {
     _logger = logger;
     _savedSearchProcessor = savedSearchProcessor;
 }