/// <summary> /// Historic Data Deletion Processor /// </summary> /// <param name="reportDataService">Report Data Service</param> /// <param name="clientTokenHandler">GCP Client Token Hanlder</param> /// <param name="documentDeletionProcessor">Document Deletion Processor</param> /// <param name="logger">Event Logger</param> public HistoricDataDeletionProcessor(IReportDataService reportDataService, IClientTokenHandler clientTokenHandler, IDocumentDeletionProcessor documentDeletionProcessor, ILogger <HistoricDataDeletionProcessor> logger) { _reportDataService = reportDataService; _clientTokenHandler = clientTokenHandler; _documentDeletionProcessor = documentDeletionProcessor; _logger = logger; }
/// <summary> /// Creates new instance of Notification Service /// </summary> /// <param name="reportDataService">Report Data Service</param> /// <param name="messagePublisher">Service Bus Message Publisher</param> /// <param name="secondaryReportNotificationTopic">Topic Name</param> /// <param name="logger">Event Logger</param> public NotificationService(IReportDataService reportDataService, IMessagePublisher messagePublisher, string secondaryReportNotificationTopic, ILogger <NotificationService> logger) { _reportDataService = reportDataService; _messagePublisher = messagePublisher; _secondaryReportNotificationTopic = secondaryReportNotificationTopic; _logger = logger; }
public ReportController( IMapper mapper, IReportDataService reportDataService) { _mapper = mapper; _reportDataService = reportDataService; }
public ReportService(IReportDataService dataService, IUserService userService, ITransactionService transactionService, ISupplyService supplyService) { this._dataService = dataService; this._userService = userService; this._transactionService = transactionService; this._supplyService = supplyService; }
/// <summary> /// Raw Input Sheet Controller /// </summary> /// <param name="reportDataService">Report Data Service</param> /// <param name="clientTokenHandler">Auth0 Token Service</param> /// <param name="documentSettings">Document Settings</param> /// <param name="serviceProvider">Service Provider</param> /// <param name="logger">Event Logger</param> public RawDocumentController(IReportDataService reportDataService, IClientTokenHandler clientTokenHandler, IDocumentStoreSettings documentSettings, IServiceProvider serviceProvider, ILogger <RawDocumentController> logger) : base(serviceProvider, clientTokenHandler, documentSettings) { _reportDataService = reportDataService; _clientTokenHandler = clientTokenHandler; _documentSettings = documentSettings; _logger = logger; }
/// <summary> /// Constructor ProcessedDocumentController /// </summary> /// <param name="reportDataService">Report Data Service</param> /// <param name="clientTokenHandler">Auth0 Token Service</param> /// <param name="documentSettings">Document Settings</param> /// <param name="serviceProvider">Service Provider</param> /// <param name="notificationService">Service Notification</param> /// <param name="logger">Event Logger</param> public ProcessedDocumentController(IReportDataService reportDataService, IClientTokenHandler clientTokenHandler, IDocumentStoreSettings documentSettings, IServiceProvider serviceProvider, INotificationService notificationService, ILogger <ProcessedDocumentController> logger) : base(serviceProvider, clientTokenHandler, documentSettings) { _reportDataService = reportDataService; _clientTokenHandler = clientTokenHandler; _documentSettings = documentSettings; _notificationService = notificationService; _logger = logger; }
/// <summary> /// Admin Controller /// </summary> /// <param name="reportDataService">Report Data Service</param> /// <param name="documentDeletionProcessor">Document Deletion Service</param> /// <param name="documentUpsertProcessor">Document Upsert Processor</param> /// <param name="clientTokenHandler">GCP Token Handler</param> /// <param name="historicDocumentProcessor">Historic Document Processor</param> /// <param name="messagePublisher">Message Publisher</param> /// <param name="configuration">Configuration</param> /// <param name="logger">Event Logger</param> public AdminController(IReportDataService reportDataService, IDocumentDeletionProcessor documentDeletionProcessor, IDocumentUpsertProcessor documentUpsertProcessor, IClientTokenHandler clientTokenHandler, IHistoricDataDeletionProcessor historicDocumentProcessor, IMessagePublisher messagePublisher, IConfiguration configuration, ILogger <AdminController> logger) { _reportDataService = reportDataService; _documentDeletionProcessor = documentDeletionProcessor; _documentUpsertProcessor = documentUpsertProcessor; _clientTokenHandler = clientTokenHandler; _historicDocumentProcessor = historicDocumentProcessor; // var services = serviceProvider.GetServices<IMessagePublisher>(); // _messagePublisher = services.First(s => s.GetType() == typeof(MessagePublisher) && !s.IsGCPVersion); // _messagePublisherGCP = services.First(s => s.GetType() == typeof(MessagePublisher) && s.IsGCPVersion); _messagePublisher = messagePublisher; _configuration = configuration; _logger = logger; _gcpAserviceAPI = configuration.GetValue <string>("GcpAudience"); }
public ReportService(IReportDataService reportDataService) { _reportDataService = reportDataService; }
public ReportDataRepository(string jobNumber, IReportDataService reportDataService) { _jobNumber = jobNumber; _reportDataService = reportDataService; }
public ReportService(IReportDataService reportDataService, ICacheService cacheService) { _reportDataService = reportDataService; _cache = cacheService; }
public ReportController(IReportDataService reportDataService) { _reportDataService = reportDataService; }
public ReportService(IReportDataService reportDataService, ICacheWrapper cacheWrapper) { _reportDataService = reportDataService; _cacheWrapper = cacheWrapper; }
public ReportController(IReportDataService reportDataService, IUserOrientedDataService userOrientedDataService) { _reportDataService = reportDataService; _userOrientedDataService = userOrientedDataService; }
public Repor() { competitorRepo = IoC.Resolve <ICompetitorRepo>(); rds = IoC.Resolve <IReportDataService>(); }
/// <summary> /// Initializes a new instance of the <see cref="ReportsController" /> class. /// </summary> /// <param name="loggerService">The logger service.</param> /// <param name="reportDataService">The report data service.</param> public ReportsController(ILoggerService loggerService, IReportDataService reportDataService) : base(loggerService) { this.reportDataService = reportDataService; }
public TextFileReportExporter(IReportDataService reportDataService) { _reportDataService = reportDataService; }
public Repor() { competitorRepo = IoC.Resolve<ICompetitorRepo>(); rds = IoC.Resolve<IReportDataService>(); }