public PackageWebHookAutoDeployHandler(
     IDeploymentTargetReadService targetSource,
     DeploymentWorkerService deploymentService,
     ILogger logger,
     MonitoringService monitoringService,
     IApplicationSettingsStore applicationSettingsStore)
 {
     _targetSource             = targetSource;
     _deploymentService        = deploymentService;
     _logger                   = logger;
     _monitoringService        = monitoringService;
     _applicationSettingsStore = applicationSettingsStore;
 }
Пример #2
0
 public AutoDeployBackgroundService(
     [NotNull] IDeploymentTargetReadService deploymentTargetReadService,
     [NotNull] MonitoringService monitoringService,
     [NotNull] DeploymentWorkerService deploymentWorkerService,
     [NotNull] AutoDeployConfiguration autoDeployConfiguration,
     [NotNull] ILogger logger,
     [NotNull] IPackageService packageService,
     TimeoutHelper timeoutHelper,
     IApplicationSettingsStore applicationSettingsStore)
 {
     _deploymentTargetReadService = deploymentTargetReadService ??
                                    throw new ArgumentNullException(nameof(deploymentTargetReadService));
     _monitoringService       = monitoringService ?? throw new ArgumentNullException(nameof(monitoringService));
     _deploymentWorkerService = deploymentWorkerService ??
                                throw new ArgumentNullException(nameof(deploymentWorkerService));
     _autoDeployConfiguration = autoDeployConfiguration ??
                                throw new ArgumentNullException(nameof(autoDeployConfiguration));
     _logger                   = logger ?? throw new ArgumentNullException(nameof(logger));
     _packageService           = packageService ?? throw new ArgumentNullException(nameof(packageService));
     _timeoutHelper            = timeoutHelper;
     _applicationSettingsStore = applicationSettingsStore;
 }
 public DeployController(ILogger logger, DeploymentWorkerService deploymentService)
 {
     _logger            = logger;
     _deploymentService = deploymentService;
 }