public JobService(IJobExecuter jobExecuter, TaskSettings taskSettings, ILogger <JobService> logger, IJobRepository jobRepository, IInstanceRepository instanceRepository, IJobSessionRepository jobSessionRepository, IServiceScopeFactory serviceScopeFactory, IAzureBlobRepository azureBlobRepository) { _jobExecuter = jobExecuter; _taskSettings = taskSettings; _logger = logger; _jobRepository = jobRepository; _intanceRepository = instanceRepository; _jobSessionRepository = jobSessionRepository; _serviceScopeFactory = serviceScopeFactory; _azureBlobRepository = azureBlobRepository; }
public JobExecuter(IInstanceService instanceService, IPluginRunner pluginRunner, IJobRepository jobRepository, IJobSessionRepository jobSessionRepository, IJobScheduleRepository jobScheduleRepository, ILogger <JobExecuter> logger, IConfiguration configuration, IWorkloadAnalyzer workloadAnalyzer) { _instanceService = instanceService; _pluginRunner = pluginRunner; _jobRepository = jobRepository; _jobSessionRepository = jobSessionRepository; _jobScheduleRepository = jobScheduleRepository; _logger = logger; _configuration = configuration; _workloadAnalyzer = workloadAnalyzer; }
public JobSessionController(IJobSessionRepository jobSessionRepository, IJobService jobService) { _jobSessionRepository = jobSessionRepository; _jobService = jobService; }