mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
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/924
Author: @nudejustin
Created: 4/19/2023
Status: ✅ Merged
Merged: 4/23/2023
Merged by: @StefH
Base:
master← Head:master📝 Commits (9)
d18289c#630 Allow removal of prefix when proxying to another server55a8929#630 Rename replace to replace settings and ensure properties used in place of fields9e6cfb6#630 Update replace settings type name to ProxyUrlReplaceSettingsb138d6d#630 Add admin model and update settings parser to parse new values5183ce2Fix formatting issues3529951#630 Ensure json mapping between admin model and internal model takes place75fb04b#630 Refactor parsing and structure of extracting new proxy url7f6d789Reduce function complexity2ef8d93#630 Fix line length issues and remove try prefix from parser methods📊 Changes
8 files changed (+350 additions, -212 deletions)
View changed files
📝
src/WireMock.Net.Abstractions/Admin/Settings/ProxyAndRecordSettingsModel.cs(+75 -70)➕
src/WireMock.Net.Abstractions/Admin/Settings/ProxyUrlReplaceSettingsModel.cs(+18 -0)📝
src/WireMock.Net/Proxy/ProxyHelper.cs(+3 -1)📝
src/WireMock.Net/Settings/ProxyAndRecordSettings.cs(+96 -90)➕
src/WireMock.Net/Settings/ProxyUrlReplaceSettings.cs(+17 -0)📝
src/WireMock.Net/Settings/WireMockServerSettingsParser.cs(+64 -22)📝
src/WireMock.Net/Util/TinyMapperUtils.cs(+30 -28)📝
test/WireMock.Net.Tests/WireMockServer.Proxy.cs(+47 -1)📄 Description
Adds a new set of properties to the proxy server settings that allow prefix url rewriting in order to resolve issue https://github.com/WireMock-Net/WireMock.Net/issues/630
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.