public StackController( IStackRepository stackRepository, IOrganizationRepository organizationRepository, IProjectRepository projectRepository, IEventRepository eventRepository, IWebHookRepository webHookRepository, WebHookDataPluginManager webHookDataPluginManager, IQueue <WebHookNotification> webHookNotificationQueue, ICacheClient cacheClient, BillingManager billingManager, FormattingPluginManager formattingPluginManager, SemanticVersionParser semanticVersionParser, IMapper mapper, StackQueryValidator validator, AppOptions options, ILoggerFactory loggerFactory ) : base(stackRepository, mapper, validator, loggerFactory) { _stackRepository = stackRepository; _organizationRepository = organizationRepository; _projectRepository = projectRepository; _eventRepository = eventRepository; _webHookRepository = webHookRepository; _webHookDataPluginManager = webHookDataPluginManager; _webHookNotificationQueue = webHookNotificationQueue; _cache = cacheClient; _billingManager = billingManager; _formattingPluginManager = formattingPluginManager; _semanticVersionParser = semanticVersionParser; _options = options; AllowedDateFields.AddRange(new[] { StackIndex.Alias.FirstOccurrence, StackIndex.Alias.LastOccurrence }); DefaultDateField = StackIndex.Alias.LastOccurrence; }
public QueueNotificationAction(IQueue<EventNotificationWorkItem> notificationQueue, IQueue<WebHookNotification> webHookNotificationQueue, IWebHookRepository webHookRepository, WebHookDataPluginManager webHookDataPluginManager, ILoggerFactory loggerFactory = null) : base(loggerFactory) { _notificationQueue = notificationQueue; _webHookNotificationQueue = webHookNotificationQueue; _webHookRepository = webHookRepository; _webHookDataPluginManager = webHookDataPluginManager; ContinueOnError = true; }
public QueueNotificationAction(IQueue <EventNotification> notificationQueue, IQueue <WebHookNotification> webHookNotificationQueue, IWebHookRepository webHookRepository, WebHookDataPluginManager webHookDataPluginManager, AppOptions options, ILoggerFactory loggerFactory = null) : base(options, loggerFactory) { _notificationQueue = notificationQueue; _webHookNotificationQueue = webHookNotificationQueue; _webHookRepository = webHookRepository; _webHookDataPluginManager = webHookDataPluginManager; ContinueOnError = true; }
public QueueNotificationAction(IQueue<EventNotificationWorkItem> notificationQueue, IQueue<WebHookNotification> webHookNotificationQueue, IWebHookRepository webHookRepository, WebHookDataPluginManager webHookDataPluginManager) { _notificationQueue = notificationQueue; _webHookNotificationQueue = webHookNotificationQueue; _webHookRepository = webHookRepository; _webHookDataPluginManager = webHookDataPluginManager; }
public QueueNotificationAction(IQueue <EventNotification> notificationQueue, IQueue <WebHookNotification> webHookNotificationQueue, IWebHookRepository webHookRepository, WebHookDataPluginManager webHookDataPluginManager) { _notificationQueue = notificationQueue; _webHookNotificationQueue = webHookNotificationQueue; _webHookRepository = webHookRepository; _webHookDataPluginManager = webHookDataPluginManager; }
public QueueNotificationAction(IQueue <EventNotificationWorkItem> notificationQueue, IQueue <WebHookNotification> webHookNotificationQueue, IWebHookRepository webHookRepository, WebHookDataPluginManager webHookDataPluginManager) { _notificationQueue = notificationQueue; _webHookNotificationQueue = webHookNotificationQueue; _webHookRepository = webHookRepository; _webHookDataPluginManager = webHookDataPluginManager; ContinueOnError = true; }
public StackController(IStackRepository stackRepository, IOrganizationRepository organizationRepository, IProjectRepository projectRepository, IQueue <WorkItemData> workItemQueue, IWebHookRepository webHookRepository, WebHookDataPluginManager webHookDataPluginManager, IQueue <WebHookNotification> webHookNotificationQueue, ICacheClient cacheClient, EventStats eventStats, BillingManager billingManager, FormattingPluginManager formattingPluginManager, ILoggerFactory loggerFactory, IMapper mapper) : base(stackRepository, loggerFactory, mapper) { _stackRepository = stackRepository; _organizationRepository = organizationRepository; _projectRepository = projectRepository; _workItemQueue = workItemQueue; _webHookRepository = webHookRepository; _webHookDataPluginManager = webHookDataPluginManager; _webHookNotificationQueue = webHookNotificationQueue; _cacheClient = cacheClient; _eventStats = eventStats; _billingManager = billingManager; _formattingPluginManager = formattingPluginManager; AllowedFields.AddRange(new[] { "first", "last" }); }
public StackController(IStackRepository stackRepository, IOrganizationRepository organizationRepository, IProjectRepository projectRepository, IWebHookRepository webHookRepository, WebHookDataPluginManager webHookDataPluginManager, IQueue <WebHookNotification> webHookNotificationQueue, BillingManager billingManager, DataHelper dataHelper, FormattingPluginManager formattingPluginManager) : base(stackRepository) { _stackRepository = stackRepository; _organizationRepository = organizationRepository; _projectRepository = projectRepository; _webHookRepository = webHookRepository; _webHookDataPluginManager = webHookDataPluginManager; _webHookNotificationQueue = webHookNotificationQueue; _billingManager = billingManager; _dataHelper = dataHelper; _formattingPluginManager = formattingPluginManager; }
public StackController(IStackRepository stackRepository, IProjectRepository projectRepository, IEventRepository eventRepository, IWebHookRepository webHookRepository, WebHookDataPluginManager webHookDataPluginManager, IQueue <WebHookNotification> webHookNotificationQueue, EventStats eventStats, BillingManager billingManager, FormattingPluginManager formattingPluginManager) : base(stackRepository) { _stackRepository = stackRepository; _projectRepository = projectRepository; _eventRepository = eventRepository; _webHookRepository = webHookRepository; _webHookDataPluginManager = webHookDataPluginManager; _webHookNotificationQueue = webHookNotificationQueue; _eventStats = eventStats; _billingManager = billingManager; _formattingPluginManager = formattingPluginManager; AllowedFields.AddRange(new[] { "first", "last" }); }
public WebHookDataTests(ServicesFixture fixture, ITestOutputHelper output) : base(fixture, output) { _webHookData = GetService <WebHookDataPluginManager>(); _formatter = GetService <FormattingPluginManager>(); }