mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #803] [MERGED] WebHook : UseFireAndForget + Delay #1091
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/803
Author: @StefH
Created: 9/5/2022
Status: ✅ Merged
Merged: 9/12/2022
Merged by: @StefH
Base:
master← Head:stef-webhooks📝 Commits (9)
7ca68ceUseFireAndForget29c7575...9f3ed06delay33fc5f1asynce27decbupdated code accorsing to proposal7e328a0Change nuget to package reference for WireMock.Net.Console.Net472.Classic, move the new FireAndForget into the main mapping, out of individual webhook mappings making it all or nothing, update tests, change Middleware to await or not the firing of all webhooks. Update models as needed. (#804)b71b2e9small updatecfa8ca9Tweak middleware and fix bug in example (#806)fb3943f.ConfigureAwait(false)📊 Changes
22 files changed (+634 additions, -424 deletions)
View changed files
📝
examples/WireMock.Net.Console.Net452.Classic/MainApp.cs(+35 -0)📝
examples/WireMock.Net.Console.Net472.Classic/WireMock.Net.Console.Net472.Classic.csproj(+10 -9)📝
examples/WireMock.Net.Console.Net472.Classic/packages.config(+0 -3)📝
src/WireMock.Net.Abstractions/Admin/Mappings/MappingModel.cs(+5 -0)📝
src/WireMock.Net.Abstractions/Admin/Mappings/WebhookModel.cs(+9 -10)📝
src/WireMock.Net.Abstractions/Admin/Mappings/WebhookRequestModel.cs(+17 -2)📝
src/WireMock.Net.Abstractions/Models/IWebhookRequest.cs(+54 -40)📝
src/WireMock.Net/Http/WebhookSender.cs(+43 -13)📝
src/WireMock.Net/IMapping.cs(+5 -0)📝
src/WireMock.Net/Mapping.cs(+6 -0)📝
src/WireMock.Net/Matchers/Request/RequestMessageParamMatcher.cs(+1 -1)📝
src/WireMock.Net/Models/Webhook.cs(+8 -9)📝
src/WireMock.Net/Models/WebhookRequest.cs(+29 -21)📝
src/WireMock.Net/Owin/WireMockMiddleware.cs(+31 -4)📝
src/WireMock.Net/Proxy/ProxyHelper.cs(+1 -0)📝
src/WireMock.Net/Serialization/MappingConverter.cs(+2 -1)📝
src/WireMock.Net/Serialization/WebhookMapper.cs(+9 -3)📝
src/WireMock.Net/Server/IRespondWithAProvider.cs(+7 -0)📝
src/WireMock.Net/Server/RespondWithAProvider.cs(+10 -1)📝
test/WireMock.Net.Tests/Owin/WireMockMiddlewareTests.cs(+2 -2)...and 2 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.