public WebhookSubscriptionStore_Tests()
        {
            _webhookSubscriptionsStore = Resolve <IWebhookSubscriptionsStore>();

            AbpSession.TenantId = null;
            AbpSession.UserId   = 1;
        }
        public WebhookSubscriptionManager(
            IGuidGenerator guidGenerator,
            IWebhookDefinitionManager webhookDefinitionManager)
        {
            _guidGenerator            = guidGenerator;
            _webhookDefinitionManager = webhookDefinitionManager;

            WebhookSubscriptionsStore = NullWebhookSubscriptionsStore.Instance;
        }
Ejemplo n.º 3
0
 public EventsApiController()
 {
     this.WebhookSubscriptionsStore = IocManager.Instance.Resolve <IWebhookSubscriptionsStore>();
     this.WebhookSendAttemptStore   = IocManager.Instance.Resolve <IWebhookSendAttemptStore>();
     this.WebhookEventStore         = IocManager.Instance.Resolve <IWebhookEventStore>();
 }
 public AbpWebhookRepository(IEventTypesRepository eventTypesRepository, ITenantRepository tenantRepository)
 {
     this.WebhookSubscriptionsStore = IocManager.Instance.Resolve <IWebhookSubscriptionsStore>();
     this.EventTypesRepository      = eventTypesRepository;
     this.TenantRepository          = tenantRepository;
 }