public WebhookManager( IWebhooksConfiguration webhooksConfiguration, IWebhookSendAttemptStore webhookSendAttemptStore) { _webhooksConfiguration = webhooksConfiguration; _webhookSendAttemptStore = webhookSendAttemptStore; }
public WebhookSender_Tests() { _webhookManager = Resolve <IWebhookManager>(); _webhookSender = Resolve <IWebhookSender>(); _webhookSubscriptionManager = Resolve <IWebhookSubscriptionManager>(); _webhookEventStore = Resolve <IWebhookEventStore>(); _webhookSendAttemptStore = Resolve <IWebhookSendAttemptStore>(); }
public WebhookSenderJob( IWebhooksConfiguration webhooksConfiguration, IWebhookSubscriptionManager webhookSubscriptionManager, IWebhookSendAttemptStore webhookSendAttemptStore, IWebhookSender webhookSender) { _webhooksConfiguration = webhooksConfiguration; _webhookSubscriptionManager = webhookSubscriptionManager; _webhookSendAttemptStore = webhookSendAttemptStore; _webhookSender = webhookSender; }
public WebhookSendAttemptStore_Tests() { LocalIocManager.IocContainer.Register( Component.For <IAsyncQueryableExecuter>() .ImplementedBy <FakeAsyncQueryableExecuter>() .LifestyleSingleton() .IsDefault() ); _webhookSendAttemptStore = Resolve <IWebhookSendAttemptStore>(); _webhookEventStore = Resolve <IWebhookEventStore>(); }
public WebhookSendAttemptAppService( IWebhookSendAttemptStore webhookSendAttemptStore, IBackgroundJobManager backgroundJobManager, IWebhookEventAppService webhookEventAppService, IWebhookSubscriptionAppService webhookSubscriptionAppService, IRepository <WebhookSubscriptionInfo, Guid> subscriptionRepository ) { _webhookSendAttemptStore = webhookSendAttemptStore; _backgroundJobManager = backgroundJobManager; _webhookEventAppService = webhookEventAppService; _webhookSubscriptionAppService = webhookSubscriptionAppService; _subscriptionRepository = subscriptionRepository; }
public DefaultWebhookSender(IWebhooksConfiguration webhooksConfiguration) { _webhooksConfiguration = webhooksConfiguration; WebhookSendAttemptStore = NullWebhookSendAttemptStore.Instance; }
public EventsApiController() { this.WebhookSubscriptionsStore = IocManager.Instance.Resolve <IWebhookSubscriptionsStore>(); this.WebhookSendAttemptStore = IocManager.Instance.Resolve <IWebhookSendAttemptStore>(); this.WebhookEventStore = IocManager.Instance.Resolve <IWebhookEventStore>(); }
public WebhookSendAttemptStore_Tests() { _webhookSendAttemptStore = Resolve <IWebhookSendAttemptStore>(); _webhookEventStore = Resolve <IWebhookEventStore>(); }