Files
Umbraco-CMS/src/Umbraco.Core/Models/WebhookRequest.cs
Nikolaj Geisle 46df3a05a7 V13: request queueing (#15176)
* Implement persistence

* Start implementing repository

* Implement repository

* Implement request service

* Dont run WebhookFiring if not in runtime mode run

* Refactor repository and service to have full CRUD

* add tests for Request service

* Implement WebhookRequest lock

* Register hosted service

* Add try catch when firing HttpRequest

* Add migration

* Refactor to use renamed IWebhookService

* Refactor tests too

* Add setting to configure webhook firing period

* Update docs

* Review fixes

* Add column renaming migration

* Remove unused service

* run request in parralel

* Refactor to fire parallel in background

---------

Co-authored-by: Zeegaan <nge@umbraco.dk>
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2023-11-13 15:49:02 +01:00

15 lines
294 B
C#

namespace Umbraco.Cms.Core.Models;
public class WebhookRequest
{
public int Id { get; set; }
public Guid WebhookKey { get; set; }
public string EventAlias { get; set; } = string.Empty;
public string? RequestObject { get; set; }
public int RetryCount { get; set; }
}