public TaskService( SteamfitterContext context, IAuthorizationService authorizationService, IPrincipal user, IMapper mapper, IStackStormService stackStormService, IOptions <VmTaskProcessingOptions> options, IResultService resultService, ILogger <TaskService> logger, IPlayerService playerService, IPlayerVmService playerVmService, IHttpClientFactory httpClientFactory, ClientOptions clientSettings, IHubContext <EngineHub> engineHub, ITaskExecutionQueue taskexecutionQueue) { _context = context; _authorizationService = authorizationService; _user = user as ClaimsPrincipal; _mapper = mapper; _stackStormService = stackStormService; _options = options.Value; _resultService = resultService; _httpClientFactory = httpClientFactory; _logger = logger; _playerService = playerService; _playerVmService = playerVmService; _isHttps = clientSettings.urls.playerApi.ToLower().StartsWith("https:"); _engineHub = engineHub; _taskExecutionQueue = taskexecutionQueue; }
public ScenarioService(SteamfitterContext context, IAuthorizationService authorizationService, IPrincipal user, IMapper mapper, ITaskService taskService, IStackStormService stackstormService) { _context = context; _authorizationService = authorizationService; _user = user as ClaimsPrincipal; _mapper = mapper; _taskService = taskService; _stackstormService = stackstormService; }
public BondAgentService( IAuthorizationService authorizationService, IPrincipal user, IMapper mapper, IStackStormService stackStormService, BondAgentStore bondAgentStore, IOptions <VmTaskProcessingOptions> options, ILogger <BondAgentService> logger, IHttpClientFactory httpClientFactory) { _authorizationService = authorizationService; _user = user as ClaimsPrincipal; _mapper = mapper; _bondAgentStore = bondAgentStore; _logger = logger; }
public TaskExecutionService( ILogger <TaskExecutionService> logger, IOptionsMonitor <Infrastructure.Options.VmTaskProcessingOptions> vmTaskProcessingOptions, IServiceScopeFactory scopeFactory, IMapper mapper, IHubContext <EngineHub> engineHub, IStackStormService stackStormService, ITaskExecutionQueue taskExecutionQueue, IHttpClientFactory httpClientFactory, IOptionsMonitor <Infrastructure.Options.ClientOptions> clientOptions) { _logger = logger; _vmTaskProcessingOptions = vmTaskProcessingOptions; _scopeFactory = scopeFactory; _mapper = mapper; _engineHub = engineHub; _stackStormService = stackStormService; _taskExecutionQueue = taskExecutionQueue; _httpClientFactory = httpClientFactory; _clientOptions = clientOptions; }
public DispatchTaskService( SteamfitterContext context, IAuthorizationService authorizationService, IPrincipal user, IMapper mapper, IStackStormService stackStormService, IOptions <VmTaskProcessingOptions> options, IDispatchTaskResultService dispatchTaskResultService, ILogger <DispatchTaskService> logger, IPlayerVmService playerVmService, IHttpClientFactory httpClientFactory) { _context = context; _authorizationService = authorizationService; _user = user as ClaimsPrincipal; _mapper = mapper; _stackStormService = stackStormService; _options = options.Value; _dispatchTaskResultService = dispatchTaskResultService; _httpClientFactory = httpClientFactory; _logger = logger; _playerVmService = playerVmService; }