public CompleteComponentWorkCommandHandler(IMessageSenderFactory messageSenderFactory, IComponentChannelIdentifierRepository componentChannelIdentifierRepository, IStagingStoreContainer stagingStoreContainer, IComponentPlanExecutor componentPlanExecutor) { this._stagingStoreContainer = stagingStoreContainer; this._componentPlanExecutor = componentPlanExecutor; this._messageSenderFactory = messageSenderFactory; this._componentChannelIdentifierRepository = componentChannelIdentifierRepository; }
public static async Task <CaPMIngestEventStore> GetCaPMEventStore(IStagingStoreContainer stagingStoreContainer, Guid ingestId) { var stagingStore = await stagingStoreContainer.GetStoreForContextIdAsync(ingestId).ConfigureAwait(false); var capmComponentStore = await stagingStore.GetComponentStagingStoreAsync(CaPMComponentStagingStoreID).ConfigureAwait(false); return(new CaPMIngestEventStore(capmComponentStore, ingestId)); }
public StartIngestCommandHandler(IMessageSenderFactory messageSenderFactory, IComponentChannelIdentifierRepository componentChannelIdentifierRepository, ISubmissionAgreementStore submissionAgreementStore, IStagingStoreContainer stagingStoreContainer, IComponentPlanExecutor componentPlanExecutor) { this._submissionAgreementStore = submissionAgreementStore; this._stagingStoreContainer = stagingStoreContainer; this._componentPlanExecutor = componentPlanExecutor; this._messageSenderFactory = messageSenderFactory; this._componentChannelIdentifierRepository = componentChannelIdentifierRepository; }
public static async Task <CaPMIngestEventStore> CreateCaPMEventStore(IStagingStoreContainer stagingStoreContainer, Guid ingestId) { await stagingStoreContainer.CreateStoreForContextIdAsync(ingestId).ConfigureAwait(false); return(await GetCaPMEventStore(stagingStoreContainer, ingestId).ConfigureAwait(false)); }
public StartArchiverComponentWorkCommandHandler(IStagingStoreContainer stagingStoreContainer, IMessageSenderFactory messageSenderFactory) { this._stagingStoreContainer = stagingStoreContainer; this._messageSenderFactory = messageSenderFactory; }
public StartCollectorComponentCompensationCommandHandler(IStagingStoreContainer stagingStoreContainer, IMessageSenderFactory messageSenderFactory) { this._stagingStoreContainer = stagingStoreContainer; this._messageSenderFactory = messageSenderFactory; }
public CaPMEventStore(IStagingStoreContainer stagingStoreContainer) { _stagingStoreContainer = stagingStoreContainer; }
public TimeoutComponentWorkCommandHandler(IComponentChannelIdentifierRepository componentChannelIdentifierRepository, IMessageSenderFactory messageSenderFactory, IStagingStoreContainer stagingStoreContainer) { this._componentChannelIdentifierRepository = componentChannelIdentifierRepository; this._messageSenderFactory = messageSenderFactory; this._stagingStoreContainer = stagingStoreContainer; }
public static async Task <IComponentStagingStore> GetSharedStore(this IStagingStoreContainer stagingStoreContainer, Guid ingestId) { var ingestStore = await stagingStoreContainer.GetStoreForContextIdAsync(ingestId); return(await ingestStore.GetComponentStagingStoreAsync(SharedStoreComponentIdentifier)); }
public ComponentPlanExecutor(IComponentChannelIdentifierRepository componentChannelIdentifierRepository, IMessageSenderFactory messageSenderFactory, IStagingStoreContainer stagingStoreContainer) { this._componentChannelIdentifierRepository = componentChannelIdentifierRepository; this._messageSenderFactory = messageSenderFactory; this._stagingStoreContainer = stagingStoreContainer; }
public CachingStagingStoreContainerDecorator(IStagingStoreContainer stagingStoreContainer) { this._stagingStoreContainer = stagingStoreContainer; }