public ClusterMonitoringBusiness(IClusterRepository clusterRepository, ILogger <ClusterMonitoringBusiness> logger, IClusterNodeRepository clusterNodeRepository, IMetricRepository metricRepository) { this.clusterRepository = clusterRepository; this.logger = logger; this.clusterNodeRepository = clusterNodeRepository; this.metricRepository = metricRepository; }
public ClusterBusiness(IClusterRepository clusterRepository, IDatacenterRepository datacenterRepository, ISshKeyRepository sshKeyRepository, IClusterNodeRepository clusterNodeRepository, IQueueService queueService, ITemplateRepository templateRepository, IConfiguration configuration, IMetricRepository metricRepository, IMapper mapper, ITraefikRouterService traefikRouterService, IDomainRepository domainNameRepository) { if (clusterRepository == null) { throw new ArgumentNullException(nameof(clusterRepository)); } if (datacenterRepository == null) { throw new ArgumentNullException(nameof(datacenterRepository)); } if (sshKeyRepository == null) { throw new ArgumentNullException(nameof(sshKeyRepository)); } if (clusterNodeRepository == null) { throw new ArgumentNullException(nameof(clusterNodeRepository)); } if (queueService == null) { throw new ArgumentNullException(nameof(queueService)); } if (templateRepository == null) { throw new ArgumentNullException(nameof(templateRepository)); } if (traefikRouterService == null) { throw new ArgumentNullException(nameof(traefikRouterService)); } if (metricRepository == null) { throw new ArgumentNullException(nameof(metricRepository)); } if (mapper == null) { throw new ArgumentNullException(nameof(mapper)); } this.clusterRepository = clusterRepository; this.datacenterRepository = datacenterRepository; this.sshKeyRepository = sshKeyRepository; this.clusterNodeRepository = clusterNodeRepository; this.queueService = queueService; this.templateRepository = templateRepository; this.domain = configuration["Kubernox:Domain"]; this.metricRepository = metricRepository; this.mapper = mapper; this.traefikRouterService = traefikRouterService; this.domainNameRepository = domainNameRepository; }
public ClusterBusiness(IClusterRepository clusterRepository, IDatacenterRepository datacenterRepository, ISshKeyRepository sshKeyRepository, IClusterNodeRepository clusterNodeRepository, IQueueService queueService, ITemplateRepository templateRepository, IConfiguration configuration, ITraefikRedisStore traefikCache, IHubContext <AppHub, IAppHub> hubContext) { this.clusterRepository = clusterRepository; this.datacenterRepository = datacenterRepository; this.sshKeyRepository = sshKeyRepository; this.clusterNodeRepository = clusterNodeRepository; this.queueService = queueService; this.templateRepository = templateRepository; this.configuration = configuration; this.traefikCache = traefikCache; this.hubContext = hubContext; ConfigureClient.Initialise(configuration["Proxmox:Uri"], configuration["Proxmox:Token"]); }
public ClusterService( ISamplesService samplesService, IPhotoProcessingService photoProcessingService, IApplicationLogger logger, IClusterRepository clusterRepository, IClusterSamplePhotoRepository clusterSamplePhotoRepository, IConfiguration configuration) { _samplesService = samplesService; _photoProcessingService = photoProcessingService; _logger = logger; _clusterRepository = clusterRepository; _clusterSamplePhotoRepository = clusterSamplePhotoRepository; _taskFactory = new TaskFactory(); _numberOfClusters = int.Parse(configuration["app:clusters"]); _predictionLength = int.Parse(configuration["imageProcessing:predictionLength"]); }
public QueueBusiness(IQueueService queueService, IHubContext <AppHub, IAppHub> hubContext, IClusterRepository clusterRepository, ILogger <QueueBusiness> logger, IDatacenterRepository datacenterRepository) { if (queueService == null) { throw new ArgumentNullException(nameof(queueService)); } if (clusterRepository == null) { throw new ArgumentNullException(nameof(clusterRepository)); } if (datacenterRepository == null) { throw new ArgumentNullException(nameof(datacenterRepository)); } this.queueService = queueService; this.hubContext = hubContext; this.clusterRepository = clusterRepository; this.logger = logger; this.datacenterRepository = datacenterRepository; }
public DomainBusiness(IDomainRepository domainNameRepository, IMapper mapper, ILookupClient lookupClient, ITraefikRedisStore traefikCache, IClusterRepository clusterRepository, IClusterDomainRepository clusterDomainRepository, ITraefikRouterService traefikRouterService, ILogger <DomainBusiness> logger) { if (domainNameRepository == null) { throw new ArgumentNullException(nameof(domainNameRepository)); } if (mapper == null) { throw new ArgumentNullException(nameof(mapper)); } if (lookupClient == null) { throw new ArgumentNullException(nameof(lookupClient)); } if (traefikCache == null) { throw new ArgumentNullException(nameof(traefikCache)); } if (clusterRepository == null) { throw new ArgumentNullException(nameof(clusterRepository)); } this.domainRepository = domainNameRepository; this.mapper = mapper; this.lookupClient = lookupClient; this.traefikCache = traefikCache; this.clusterRepository = clusterRepository; this.clusterDomainRepository = clusterDomainRepository; this.traefikRouterService = traefikRouterService; this.logger = logger; }
public ClustersController(IClusterRepository clusterRepository, IUserRepository userRepository, IRoomRepository roomRepository) { this.clusterRepository = clusterRepository; this.userRepository = userRepository; this.roomRepository = roomRepository; }
public ClusterController(IClusterRepository clusterRepository) { _clusterRepository = clusterRepository; }
public ClusterService(IClusterRepository clusterRepository) { _clusterRepository = clusterRepository; _messageMapper = new MessageMapper(); }
public TopicDomainService(ITopicRepository topicRepository, IClusterRepository clusterRepository) { _topicRepository = topicRepository; _clusterRepository = clusterRepository; }
public QueueBusiness(IQueueService queueService, IHubContext <AppHub, IAppHub> hubContext, IClusterRepository clusterRepository) { this.queueService = queueService; this.hubContext = hubContext; this.clusterRepository = clusterRepository; }