Ejemplo n.º 1
0
 /// <summary>
 /// QueueItemsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="manager"></param>
 /// <param name="membershipManager"></param>
 /// <param name="userManager"></param>
 /// <param name="hub"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="binaryObjectRepository"></param>
 /// <param name="configuration"></param>
 /// <param name="hubManager"></param>
 /// <param name="queueItemAttachmentRepository"></param>
 /// <param name="queueRepository"></param>
 /// <param name="scheduleRepository"></param>
 /// <param name="webhookPublisher"></param>
 public QueueItemsController(
     IQueueItemRepository repository,
     IQueueRepository queueRepository,
     IQueueItemManager manager,
     IMembershipManager membershipManager,
     ApplicationIdentityUserManager userManager,
     IHubContext <NotificationHub> hub,
     IHttpContextAccessor httpContextAccessor,
     IHubManager hubManager,
     IScheduleRepository scheduleRepository,
     IConfiguration configuration,
     IBinaryObjectRepository binaryObjectRepository,
     IQueueItemAttachmentRepository queueItemAttachmentRepository,
     IWebhookPublisher webhookPublisher,
     IOrganizationSettingManager organizationSettingManager) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     this.manager                       = manager;
     _hub                               = hub;
     this.queueRepository               = queueRepository;
     this.hubManager                    = hubManager;
     scheduleRepo                       = scheduleRepository;
     Configuration                      = configuration;
     this.binaryObjectRepository        = binaryObjectRepository;
     this.queueItemAttachmentRepository = queueItemAttachmentRepository;
     this.webhookPublisher              = webhookPublisher;
     this.organizationSettingManager    = organizationSettingManager;
 }
Ejemplo n.º 2
0
 public QueueItemProcessorPublic(
     IHttpClientFactory clientFactory,
     ISqlConnectionFactory sqlConnectionFactory,
     IQueueItemRepository queueItemRepository,
     IQueueWorkerRepository queueWorkerRepository,
     IOptions <AppSettings> config,
     ILogger <QueueItemProcessor> logger
     ) : base(clientFactory, sqlConnectionFactory, queueItemRepository, queueWorkerRepository, config, logger)
 {
 }
 /// <summary>
 /// QueueItemAttachmentsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="userManager"></param>
 /// <param name="membershipManager"></param>
 /// <param name="configuration"></param>
 /// <param name="queueItemRepository"></param>
 /// <param name="manager"></param>
 /// <param name="webhookPublisher"></param>
 public QueueItemAttachmentsController(
     IQueueItemAttachmentRepository repository,
     IHttpContextAccessor httpContextAccessor,
     ApplicationIdentityUserManager userManager,
     IMembershipManager membershipManager,
     IConfiguration configuration,
     IQueueItemRepository queueItemRepository,
     IQueueItemManager manager,
     IWebhookPublisher webhookPublisher) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     _queueItemRepository = queueItemRepository;
     _manager             = manager;
     _webhookPublisher    = webhookPublisher;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// QueueItemsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="manager"></param>
 /// <param name="membershipManager"></param>
 /// <param name="userManager"></param>
 /// <param name="hub"></param>
 /// <param name="httpContextAccessor"></param>
 public QueueItemsController(
     IQueueItemRepository repository,
     IQueueRepository queueRepository,
     IQueueItemManager manager,
     IMembershipManager membershipManager,
     ApplicationIdentityUserManager userManager,
     IHubContext <NotificationHub> hub,
     IHttpContextAccessor httpContextAccessor,
     IConfiguration configuration) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     this.manager         = manager;
     _hub                 = hub;
     this.queueRepository = queueRepository;
     Configuration        = configuration;
 }
Ejemplo n.º 5
0
 public QueueItemManager(
     IQueueItemRepository repo,
     IQueueRepository queueRepository,
     IQueueItemAttachmentRepository queueItemAttachmentRepository,
     IBinaryObjectManager binaryObjectManager,
     IHttpContextAccessor httpContextAccessor,
     IBinaryObjectRepository binaryObjectRepository)
 {
     this.repo            = repo;
     this.queueRepository = queueRepository;
     this.queueItemAttachmentRepository = queueItemAttachmentRepository;
     this.binaryObjectManager           = binaryObjectManager;
     this.httpContextAccessor           = httpContextAccessor;
     this.binaryObjectRepository        = binaryObjectRepository;
 }
 public QueueItemProcessor(
     IHttpClientFactory clientFactory,
     ISqlConnectionFactory sqlConnectionFactory,
     IQueueItemRepository queueItemRepository,
     IQueueWorkerRepository queueWorkerRepository,
     IOptions <AppSettings> config,
     ILogger <QueueItemProcessor> logger
     )
 {
     this.config = config.Value;
     this.logger = logger;
     this.queueItemRepository   = queueItemRepository;
     this.queueWorkerRepository = queueWorkerRepository;
     this.clientFactory         = clientFactory;
     this.sqlConnectionFactory  = sqlConnectionFactory;
 }
Ejemplo n.º 7
0
 public WebhookPublisher(
     IIntegrationEventRepository eventRepository,
     IIntegrationEventLogRepository eventLogRepository,
     IIntegrationEventSubscriptionRepository eventSubscriptionRepository,
     IIntegrationEventSubscriptionAttemptRepository integrationEventSubscriptionAttemptRepository,
     IBackgroundJobClient backgroundJobClient,
     IQueueItemRepository queueItemRepository,
     IHubContext <NotificationHub> hub)
 {
     _eventRepository             = eventRepository;
     _eventLogRepository          = eventLogRepository;
     _eventSubscriptionRepository = eventSubscriptionRepository;
     _backgroundJobClient         = backgroundJobClient;
     _queueItemRepository         = queueItemRepository;
     _attemptRepository           = integrationEventSubscriptionAttemptRepository;
     _hub = hub;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// QueueItemsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="manager"></param>
 /// <param name="membershipManager"></param>
 /// <param name="userManager"></param>
 /// <param name="hub"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="configuration"></param>
 /// <param name="organizationSettingManager"></param>
 /// <param name="webhookPublisher"></param>
 public QueueItemsController(
     IQueueItemRepository repository,
     IQueueItemManager manager,
     IMembershipManager membershipManager,
     ApplicationIdentityUserManager userManager,
     IHubContext <NotificationHub> hub,
     IHttpContextAccessor httpContextAccessor,
     IConfiguration configuration,
     IWebhookPublisher webhookPublisher,
     IOrganizationSettingManager organizationSettingManager) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     _manager                    = manager;
     _hub                        = hub;
     Configuration               = configuration;
     _webhookPublisher           = webhookPublisher;
     _organizationSettingManager = organizationSettingManager;
 }
Ejemplo n.º 9
0
 public QueueItemManager(
     IQueueItemRepository repo,
     IQueueRepository queueRepository,
     IQueueItemAttachmentRepository queueItemAttachmentRepository,
     IHttpContextAccessor httpContextAccessor,
     IFileManager fileManager,
     IScheduleRepository schedulerepository,
     IHubManager hubManager,
     IConfiguration configuration)
 {
     _repo            = repo;
     _queueRepository = queueRepository;
     _queueItemAttachmentRepository = queueItemAttachmentRepository;
     _httpContextAccessor           = httpContextAccessor;
     _fileManager  = fileManager;
     _scheduleRepo = schedulerepository;
     _hubManager   = hubManager;
     Configuration = configuration;
 }
 public QueueItemRestController(IQueueItemRepository queueItemRepository)
 {
     _queueItemRepository = queueItemRepository;
 }
Ejemplo n.º 11
0
 public QueueItemUnlocker(IQueueItemRepository queueItemRepository, IOptions <AppSettings> config, ILogger <QueueItemUnlocker> logger)
 {
     this.config = config.Value;
     this.logger = logger;
     this.queueItemRepository = queueItemRepository;
 }
Ejemplo n.º 12
0
 public QueueItemManager(IQueueItemRepository repo)
 {
     this.repo = repo;
 }
Ejemplo n.º 13
0
 public QueueController(ILogger <QueueController> logger, IQueueItemRepository queueItemRepository)
 {
     this.logger = logger;
     this.queueItemRepository = queueItemRepository;
 }
Ejemplo n.º 14
0
 public QueueManager(IQueueRepository queueRepository, IQueueItemRepository queueItemRepository)
 {
     _queueItemRepo = queueItemRepository;
     _queueRepo     = queueRepository;
 }
Ejemplo n.º 15
0
 public QueueManager(IQueueItemRepository queueItemRepository)
 {
     queueItemRepo = queueItemRepository;
 }