public SagaCoordinatorTests() { _sagaLog = Substitute.For <ISagaLog>(); _repository = Substitute.For <ISagaDataRepository>(); _sagaSeeker = Substitute.For <ISagaSeeker>(); _saga = Substitute.For <CustomSaga>(); _sagaCoordinator = new SagaCoordinator(_sagaLog, _repository, _sagaSeeker); }
public SagaCoordinator( ISagaLog log, ISagaStateRepository repository, ISagaSeeker seeker) { _log = log; _repository = repository; _seeker = seeker; }
public SagaCoordinator( ISagaLog sagaLog, ISagaDataRepository repository, ISagaSeeker sagaSeeker) { _sagaLog = sagaLog; _repository = repository; _sagaSeeker = sagaSeeker; }
public ExperimentWithMethodsHandler( ISagaCoordinator sagaCoordinator, ISagaLog sagaLogData, IKafkaProducer kafkaProducer, IConfiguration configuration) { _sagaCoordinator = sagaCoordinator; _kafkaProducer = kafkaProducer; Configuration = configuration; EXPERIMENTS_TOPIC = Configuration["ExperimentsTopic"]; METHODS_TOPIC = Configuration["MethodsTopic"]; SagaLogData = sagaLogData; }
public SagaPostProcessor(ISagaLog log) { _log = log; }
public SagaProcessor(ISagaStateRepository repository, ISagaLog log) { _repository = repository; _log = log; }
public SagaProcessor(ISagaStateRepository repository, IChronicleConfiguration configuration, ISagaLog log) { _repository = repository; _configuration = configuration; _log = log; }