/// <summary> /// Self-hosted сервис ETL в еластик /// </summary> public ProducerHostingService(ILogger <ProducerHostingService> logger, GitLabElasticService gitLabElasticService, IOptionsMonitor <ElasticConfig> elasticConfig) { _gitLabElasticService = gitLabElasticService; _elasticConfig = elasticConfig.CurrentValue; _logger = logger; }
/// <summary> /// Контроллер для работы с данными из GitLab /// </summary> public GitLabController(IGitLabService gitLabService, GitLabElasticService gitLabElasticService, IMapper mapper) { _gitLabService = gitLabService; _gitLabElasticService = gitLabElasticService; _mapper = mapper; }