public ProjectFeatureVSTSHandlerService(IOptions <VSTSServiceOptions> vstsOptions, IHttpClientWrapperService httpClientWrapperService, Func <CloudProviderService, ICPSService> cpsService) { _vstsOptions = vstsOptions; _httpClientWrapperService = httpClientWrapperService; _cpsService = cpsService; }
public ProjectServiceTemplateCreatedHandler(IOptions <ApplicationOptions> applicationOptions, IOptions <VSTSServiceOptions> vstsOptions, IHttpClientWrapperService httpClientWrapperService, IPipelineSpaceManagerService pipelineSpaceManagerService) { _applicationOptions = applicationOptions; _vstsOptions = vstsOptions; _httpClientWrapperService = httpClientWrapperService; _pipelineSpaceManagerService = pipelineSpaceManagerService; }
public ProjectImportedHandler(IOptions <ApplicationOptions> applicationOptions, IOptions <VSTSServiceOptions> vstsOptions, IOptions <FakeAccountServiceOptions> vstsFakeOptions, Func <ConfigurationManagementService, IProjectHandlerService> projectHandlerService, IHttpClientWrapperService httpClientWrapperService, IRealtimeService realtimeService) : base(httpClientWrapperService, applicationOptions, realtimeService) { _applicationOptions = applicationOptions; _vstsOptions = vstsOptions; _vstsFakeOptions = vstsFakeOptions; _projectHandlerService = projectHandlerService; _httpClientWrapperService = httpClientWrapperService; }
public BaseHandler(IHttpClientWrapperService httpClientWrapperService, IOptions <ApplicationOptions> applicationOptions, IRealtimeService realtimeService) { _httpClientWrapperService = httpClientWrapperService; _applicationOptions = applicationOptions; this._realtimeService = realtimeService; var oAuthToken = _httpClientWrapperService.GetTokenFromClientCredentials($"{_applicationOptions.Value.Url}/connect/token", _applicationOptions.Value.ClientId, _applicationOptions.Value.ClientSecret, _applicationOptions.Value.Scope).GetAwaiter().GetResult(); InternalAuthCredentials = new HttpClientWrapperAuthorizationModel(); InternalAuthCredentials.Schema = "Bearer"; InternalAuthCredentials.Value = oAuthToken.access_token; }
public ProjectFeatureServiceCreatedHandler(IOptions <VSTSServiceOptions> vstsOptions, IOptions <FakeAccountServiceOptions> fakeAccountOptions, IOptions <ApplicationOptions> applicationOptions, Func <ConfigurationManagementService, IProjectServiceHandlerService> projectServiceHandlerService, IPipelineSpaceManagerService pipelineSpaceManagerService, IHttpClientWrapperService httpClientWrapperService, IRealtimeService realtimeService) : base(httpClientWrapperService, applicationOptions, realtimeService) { _vstsOptions = vstsOptions; _applicationOptions = applicationOptions; _fakeAccountOptions = fakeAccountOptions; _projectServiceHandlerService = projectServiceHandlerService; _pipelineSpaceManagerService = pipelineSpaceManagerService; _httpClientWrapperService = httpClientWrapperService; }
public ProjectServiceGitHubHandlerService(IOptions <VSTSServiceOptions> vstsOptions, IHttpClientWrapperService httpClientWrapperService) { _vstsOptions = vstsOptions; _httpClientWrapperService = httpClientWrapperService; }
public RealtimeService(IHttpClientWrapperService httpClientWrapperService, IOptions <ApplicationOptions> applicationOptions) { this._httpClientWrapperService = httpClientWrapperService; this._applicationOptions = applicationOptions; }
public ProjectBitbucketHandlerService(IOptions <FakeAccountServiceOptions> fakeAccountOptions, IHttpClientWrapperService httpClientWrapperService) { _fakeAccountOptions = fakeAccountOptions; _httpClientWrapperService = httpClientWrapperService; }