Exemple #1
0
        public EventController(IEventRepository repository,
                               IOrganizationRepository organizationRepository,
                               IProjectRepository projectRepository,
                               IStackRepository stackRepository,
                               IQueue <EventPost> eventPostQueue,
                               IQueue <EventUserDescription> eventUserDescriptionQueue,
                               IValidator <UserDescription> userDescriptionValidator,
                               FormattingPluginManager formattingPluginManager,
                               IFileStorage storage,
                               ICacheClient cacheClient,
                               JsonSerializerSettings jsonSerializerSettings,
                               ILoggerFactory loggerFactory, IMapper mapper) : base(repository, loggerFactory, mapper)
        {
            _organizationRepository    = organizationRepository;
            _projectRepository         = projectRepository;
            _stackRepository           = stackRepository;
            _eventPostQueue            = eventPostQueue;
            _eventUserDescriptionQueue = eventUserDescriptionQueue;
            _userDescriptionValidator  = userDescriptionValidator;
            _formattingPluginManager   = formattingPluginManager;
            _storage                = storage;
            _cacheClient            = cacheClient;
            _jsonSerializerSettings = jsonSerializerSettings;

            AllowedFields.Add("date");
        }
        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,
                               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 EventController(IEventRepository repository,
                               IProjectRepository projectRepository,
                               IStackRepository stackRepository,
                               IQueue <EventPost> eventPostQueue,
                               IQueue <EventUserDescription> eventUserDescriptionQueue,
                               IAppStatsClient statsClient,
                               IValidator <UserDescription> userDescriptionValidator,
                               FormattingPluginManager formattingPluginManager) : base(repository)
        {
            _projectRepository         = projectRepository;
            _stackRepository           = stackRepository;
            _eventPostQueue            = eventPostQueue;
            _eventUserDescriptionQueue = eventUserDescriptionQueue;
            _statsClient = statsClient;
            _userDescriptionValidator = userDescriptionValidator;
            _formattingPluginManager  = formattingPluginManager;

            AllowedFields.Add("date");
        }
Exemple #5
0
        public EventController(IEventRepository repository,
                               IOrganizationRepository organizationRepository,
                               IProjectRepository projectRepository,
                               IStackRepository stackRepository,
                               IQueue <EventPost> eventPostQueue,
                               IQueue <EventUserDescription> eventUserDescriptionQueue,
                               IValidator <UserDescription> userDescriptionValidator,
                               FormattingPluginManager formattingPluginManager,
                               IFileStorage storage) : base(repository)
        {
            _organizationRepository    = organizationRepository;
            _projectRepository         = projectRepository;
            _stackRepository           = stackRepository;
            _eventPostQueue            = eventPostQueue;
            _eventUserDescriptionQueue = eventUserDescriptionQueue;
            _userDescriptionValidator  = userDescriptionValidator;
            _formattingPluginManager   = formattingPluginManager;
            _storage = storage;

            AllowedFields.Add("date");
        }