mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #805] [CLOSED] Matt webhooks #1095
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/805
Author: @mattisking
Created: 9/7/2022
Status: ❌ Closed
Base:
stef-webhooks← Head:matt-webhooks📝 Commits (2)
a3e235fChange 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.6edf201little cleaner skipping the await, fix example📊 Changes
19 files changed (+121 additions, -69 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/WebhookRequestModel.cs(+0 -5)📝
src/WireMock.Net.Abstractions/Models/IWebhookRequest.cs(+0 -5)📝
src/WireMock.Net/Http/WebhookSender.cs(+0 -25)📝
src/WireMock.Net/IMapping.cs(+5 -0)📝
src/WireMock.Net/Mapping.cs(+6 -0)📝
src/WireMock.Net/Models/WebhookRequest.cs(+0 -3)📝
src/WireMock.Net/Owin/WireMockMiddleware.cs(+28 -1)📝
src/WireMock.Net/Proxy/ProxyHelper.cs(+1 -0)📝
src/WireMock.Net/Serialization/MappingConverter.cs(+1 -0)📝
src/WireMock.Net/Serialization/WebhookMapper.cs(+0 -2)📝
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)📝
test/WireMock.Net.Tests/Serialization/MappingConverterTests.cs(+11 -9)📝
test/WireMock.Net.Tests/Serialization/WebhookMapperTests.cs(+0 -4)📄 Description
Little update to get rid of that warning and fix a bug in the example
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.