예제 #1
0
파일: JobService.cs 프로젝트: Ferencz8/MIWE
 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;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public JobSessionController(IJobSessionRepository jobSessionRepository, IJobService jobService)
 {
     _jobSessionRepository = jobSessionRepository;
     _jobService           = jobService;
 }