public bfgWorkerRemoteOrchestrator(IRxnManager <IRxn> rxnManager, IAppStatusStore appCmds, IUpdateStorageClient appUpdates, IRxnProcessor <WorkerDiscovered <StartUnitTest, UnitTestResult> > workerPool, IClusterFanout <StartUnitTest, UnitTestResult> cluster, IRxnProcessor <WorkerDisconnected> workerPoolD) { _rxnManager = rxnManager; _appCmds = appCmds; _appUpdates = appUpdates; _workerPool = workerPool; _cluster = cluster; _workerPoolD = workerPoolD; }
public bfgWorkerRxnManagerBridge(IAppStatusStore appCmds, IRxnManager <IRxn> repsonseChannel, IUpdateStorageClient updates, IDictionary <string, string> info = null) { _repsonseChannel = repsonseChannel; _updates = updates; _appCmds = appCmds; if (info != null) { Info = info; } }
public static string ClientId = bfgCfg.Detect().Id.Split('-').FirstOrDefault(); //get from cfg file if exists public bfgWorkerManager(bfgCluster workerCluster, IObservable <StartUnitTest[]> cfg, SystemStatusPublisher systemStatus, IResolveTypes resolver, IRxnManager <IRxn> eventManager, IAppStatusCfg appStatusCfg, IAppServiceRegistry appServiceRegistry, IZipService zipService, IAppStatusStore appCmds, IAppStatusServiceClient appStatus, IAppServiceDiscovery serviceDiscovery, IUpdateServiceClient appUpdates) { _workerCluster = workerCluster; _cfg = cfg; _resolver = resolver; _eventManager = eventManager; _appStatusCfg = appStatusCfg; _appServiceRegistry = appServiceRegistry; _zipService = zipService; _appCmds = appCmds; _appStatus = appStatus; _serviceDiscovery = serviceDiscovery; _appUpdates = appUpdates; systemStatus.Process(new AppStatusInfoProviderEvent() { ReporterName = nameof(bfgWorkerManager), Component = "Status", Info = WorkerManagerStatus }).Until(); }