100 Commits
Author SHA1 Message Date
Stef Heyenrath 88ff2a72db select id, name, value from table where id in (1, 2, 3, 4, 5) 2022-11-30 18:53:50 +01:00
Stef Heyenrath d5026e83b5 cf 2022-11-30 15:39:09 +01:00
Stef Heyenrath b6b17d80cc Merge branch 'master' into stef-849 2022-11-30 15:35:38 +01:00
Stef Heyenrath c8ad9f49e4 Fix 2022-11-30 15:23:36 +01:00
Stef Heyenrath 0a4aca9ae9 cf 2022-11-30 11:55:31 +01:00
Stef Heyenrath e5ed6036ee fx 2022-11-30 10:03:41 +01:00
Stef Heyenrath 7b534635b9 fix tests 2022-11-30 08:19:10 +00:00
Stef Heyenrath 1562958172 Add more QueryParameterMultipleValueSupport NoComma tests 2022-11-30 07:36:13 +00:00
Stef HeyenrathandGitHub 35d42a5c0d Fix Linux CI build + Fix opencover (#851)
* Fix Linux CI Test (opencover.xml)

* 2

* Build & Execute Unit tests

* ,cmd

* cout

* 12

* b

* server

* b =b

* /p:CoverletOutput=./test/WireMock.Net.Tests/WireMock.Net.Tests

* co?

* 2p

* 2?

* failOnStderr: false

* e0

* cc

* pub

* sc

* coverlet

* props

* pt

* coverage.net6.0.opencover.xml
2022-11-25 18:13:02 +01:00
Stef Heyenrath 429d6830ae 1.5.11 2022-11-24 21:47:56 +01:00
Stef HeyenrathandGitHub 38634ac65a Use try-catch when adding or removing logEntry (#848)
* Use try-catch when removing logEntry

* .

* try catch add

* Add extra check

* ...
2022-11-21 07:30:27 +01:00
Stef HeyenrathandGitHub ef5f988786 Add Settings.QueryParameterMultipleValueSupport (#836)
* QueryParameterMultipleValueSupport

* .

* ,

* ,
2022-11-08 19:27:44 +01:00
Stef Heyenrath 1e44f52ad6 1.5.10 2022-11-06 13:29:12 +01:00
Stef HeyenrathandGitHub 7fd1d30d0e Add WireMockNullLogger as valid commandline logger option (#845)
* Add WireMockNullLogger as valid commandline logger option

* .
2022-11-06 13:25:26 +01:00
Stef Heyenrath 80931e9fb5 Update Azure.Storage NuGets 2022-10-29 14:06:43 +02:00
Stef Heyenrath cce344ff83 1.5.9 2022-10-29 14:02:30 +02:00
Stef HeyenrathandGitHub 0972d2cb8f Add option to ProxySettings to append guid to mapping file (#838)
* Add option to ProxySettings to append guid to mapping file

* .

* .

* .
2022-10-29 13:58:29 +02:00
Stef HeyenrathandGitHub 31298d281d Support deleting / resetting a single scenario (#834)
* Support deleting / resetting a single scenario

* move files
2022-10-26 08:43:51 +02:00
Stef Heyenrath b4c32dd66b WireMock.Net.WebApplication.NET6 2022-10-25 17:19:13 +02:00
Stef HeyenrathandGitHub 57115f1a3d Add setting to skip saving the string-response in the logging when using WithBody(Func...) (#828)
* Add extra unit-test for Response WithBody (dynamic code)

* DoNotSaveDynamicResponseInLogEntry

* update SettingsModel

* fix

* .
2022-10-21 14:47:26 +02:00
Stef HeyenrathandGitHub 306c69f478 Fixes for WireMock.Net.FluentAssertions (callcount behaviour) (#832)
* UsingAnyMethod

* fix

* .
2022-10-17 21:50:24 +02:00
Stef Heyenrath fb8fec0376 Update funding.yml 2022-10-16 09:17:41 +02:00
Stef Heyenrath dd1a6fa508 1.5.8 2022-10-16 09:13:18 +02:00
Stef HeyenrathandGitHub 36037627bc WebHook - Transform Url (#824)
* WebHook - Url

* .
2022-10-15 08:55:05 +02:00
Stef HeyenrathandGitHub 55afc8041f ExactMatcher : IgnoreCase (#817)
* ...

* mm

* fix some null warnings

* fx
2022-10-15 08:23:58 +02:00
Stef HeyenrathandGitHub b523ab9125 Some fixes to WireMock.Net.Assertions (#816)
* Add extra unit test for UsingPost

* .X

* ok

* ok2

* header
2022-10-15 08:21:48 +02:00
Stef Heyenrath 14dd619763 1.5.7 2022-10-11 09:57:11 +02:00
Stef HeyenrathandGitHub 430c01a461 Add implicit operators to WireMockList (#823)
* Add implicit operators to WireMockList

* .
2022-10-01 10:50:18 +02:00
Stef HeyenrathandGitHub f7b04f3234 Add UseDefinedRequestMatchers to ProxyAndRecordSettings (#821)
* .

* UseDefinedRequestMatchers

* ok

* .

* ClientIP

* t

* fix ut

* .

* cf

* cf2
2022-09-30 11:25:11 +02:00
Stef HeyenrathandGitHub c0b18631a3 Add option to run the server on http & https (#818)
* HostingProtocol.HttpAndHttps

* .

* .

* .

* HostingScheme
2022-09-26 14:24:45 +02:00
Stef Heyenrath fd996ab4ed 1.5.6 2022-09-12 20:45:26 +02:00
Stef Heyenrath a57626c63a 1.5.6 2022-09-12 20:38:45 +02:00
98a0f2fa28 WebHook : UseFireAndForget + Delay (#803)
* UseFireAndForget

* ...

* delay

* async

* updated code accorsing to proposal

* Change 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)

Co-authored-by: Matt Philmon <Matt_Philmon@carmax.com>

* small update

* Tweak middleware and fix bug in example (#806)

Co-authored-by: Matt Philmon <Matt_Philmon@carmax.com>

* .ConfigureAwait(false)

Co-authored-by: mattisking <mattisking@gmail.com>
Co-authored-by: Matt Philmon <Matt_Philmon@carmax.com>
2022-09-12 20:30:40 +02:00
Stef Heyenrath 13a06b9b38 1.5.5 2022-09-03 08:57:30 +02:00
Stef HeyenrathandGitHub 74480c8ba9 Add support to use 'mapping' object in in reponse templating (#798)
* mapping

* .

* .
2022-09-03 08:52:05 +02:00
Stef Heyenrath 775c4fb2e3 1.5.4 2022-08-24 08:34:20 +02:00
Stef HeyenrathandGitHub 2d4f513753 Update some NuGet packages (#781) 2022-08-24 08:26:35 +02:00
Stef HeyenrathandGitHub 3d29d7fb2f Add Response.WithBody with IJsonConverter (#790)
* Response_ProvideResponse_WithBody_IJsonConverter_SystemTextJson

* Guard.NotNull(converter);

* .

* 0.1.0

* j
2022-08-23 15:49:54 +02:00
Stef HeyenrathandGitHub f0d6ed26bc Add check for duplicate Guids when posting multiple mappings in one request (#795)
* Add check for DuplicateGuids

* Add check for duplicate Guids when posting mapping(s)

* mappingModels

* fix ut
2022-08-22 20:05:52 +02:00
Stef HeyenrathandGitHub 330559b9fd Add support for PEM certificates (#787)
* Support PEM

* net5

* 31

* txt

* FILE

* new

* Fixed

* .

* .

* RSA
2022-08-16 13:26:00 +02:00
Stef HeyenrathandGitHub e2bd56531d Add support for Matcher.Pattern in Pact Body mapping (#789)
* Add support for Matcher.Pattern in Pact Body mapping

* SavePact_Get_Request_And_Response_WithNullBody
2022-08-15 09:28:16 +02:00
Stef HeyenrathandGitHub d2a1d0f069 Fix WithBody when using Pact and added more nullable annotations (#783)
* More nullable annotations

* .

* .

* FIX

* pact

* .

* p

* xxx

* ...

* auth

* array

* ...
2022-08-11 10:57:33 +02:00
Stef HeyenrathandGitHub b1af37f044 Fix Proxying when StartAdminInterface=true (#778)
* ProxyHelper fixes

* .

* more reformat

* .
2022-08-09 19:41:45 +02:00
Stef Heyenrath be4b0addca 1.5.3 2022-07-29 13:21:22 +02:00
Stef HeyenrathandGitHub ae91ed2a79 Update Scriban.Signed to version 5.5.0 (#777) 2022-07-29 13:18:23 +02:00
Stef Heyenrath 968aa598e2 1.5.2 2022-07-24 16:03:30 +02:00
Stef HeyenrathandGitHub bdd421e128 JsonPartialMatcher - support Regex (#771)
* JsonPartialMatcher - support Regex

* .

* .

* more tests

* .

* .
2022-07-24 15:54:53 +02:00
Stef HeyenrathandGitHub 150b448d07 Added some more tests for JsonMatcher + refactored some code to use nullable (#770) 2022-07-09 15:34:17 +02:00
Stef Heyenrath 9b7e5908cb 1.5.1 2022-07-08 17:41:43 +02:00
Stef HeyenrathandGitHub b1032c9dcd Update WireMock.Org.Abstractions and WireMock.Org.RestClient (#765)
* Update WireMock.Org.Abstractions and WireMock.Org.RestClient

* .

* rename
2022-07-08 11:02:18 +02:00
Stef HeyenrathandGitHub 4d0f96eabe Rename (WireMock.Pact.Models.V2)-Request to PactRequest and -Response to PactResponse (#767) 2022-07-08 10:32:12 +02:00
Stef Heyenrath 8dc9c4b46c 1.5.0 2022-06-09 21:35:44 +02:00
Stef HeyenrathandGitHub 0441c1d85e Add MatchOperator "Or", "And" and "Average" for patterns (#755)
* wip

* ...

* .

* ...

* ...

* path

* url

* b

* t

* client

* .

* RequestMessageMethodMatcherTests

* .

* h

* .

* fix tests

* .
2022-06-09 21:31:54 +02:00
Stef Heyenrath 1f23022460 1.4.43 2022-05-21 16:15:11 +02:00
Stef HeyenrathandGitHub 8d57f37261 Add WireMock.Net.xUnit project (#759)
* WireMock.Net.xunit

* Xunit

* c

* .

* x
2022-05-21 09:00:24 +02:00
Stef Heyenrath d7173d34a3 1.4.42 2022-05-13 22:06:33 +02:00
Stef HeyenrathandGitHub 5e301fd74b Swagger support (#749)
* r

* fix

* sw

* x

* s

* .

* .

* .

* CreateTypeFromJObject

* .

* .

* f

* c

* .

* .

* .

* .

* .

* .

* ok

* ,

* .

* .

* .

* .

* n

* pact

* fix

* schema

* null

* fluent

* r

* -p

* .

* .

* refs

* .
2022-05-13 22:01:46 +02:00
Stef HeyenrathandGitHub 0d8b3b1438 Update NuGets packages (#751)
* .

* re

* .

* fb

* .
2022-04-30 16:20:53 +02:00
Stef Heyenrath fe265faf33 Newtonsoft.Json 13.0.1 2022-04-25 10:01:04 +02:00
Stef Heyenrath 14a5f37bc6 Newtonsoft.Json 13.0.1 2022-04-24 19:26:23 +02:00
Stef HeyenrathandGitHub a6ee2dacc7 Initial support for converting the mappings to a Pact(flow) json file (#748)
* WithDescription

* WithConsumer / WithProvider

* x

* .

* .

* .

* .

* fix

* pact

* nullable

* ficx

* .

* fix
2022-04-22 16:17:50 +02:00
Stef Heyenrath b06b3c8e8b 1.4.41 2022-04-21 18:28:49 +02:00
Stef HeyenrathandGitHub 2e5bfc41d5 Update the logic for ProxyAndRecord (#747)
* .

* set

* .

* .

* .

* .

* prio

* appsettings

* TinyMapperUtils

* set

* p

* nullable

* .

* ,

* fs

* .

* .

* --PreferProxyMapping
2022-04-21 17:58:44 +02:00
Stef HeyenrathandGitHub 9d54994747 Allow Timeout.InfiniteTimeSpan for WithDelay (#746)
* Update WithDelay

* Allow Timeout.InfiniteTimeSpan for WithDelay
2022-04-18 20:55:23 +02:00
Stef Heyenrath 5da6e103ba 1.4.40 2022-03-26 11:22:45 +01:00
Stef HeyenrathandGitHub cbf82836f5 Add Port and Url property to WireMockServer (#740) 2022-03-26 11:03:37 +01:00
Stef Heyenrath 0789b97883 1.4.39 2022-03-25 21:39:32 +01:00
Stef Heyenrath ce4d39ae55 1.4.39 2022-03-25 21:39:14 +01:00
Stef HeyenrathandGitHub 11c0782673 Upgrade NuGet for RandomDataGenerator.Net to 1.0.14 (#739)
* RandomDataGenerator.Net 1.0.14

* .
2022-03-25 20:34:39 +01:00
Stef Heyenrath 6b15b80605 launchsettings 2022-03-11 14:48:08 +01:00
Stef HeyenrathandGitHub 55fbc52ce9 net6 (#737) 2022-03-11 14:46:25 +01:00
Stef Heyenrath 2a1d14b52c 1.4.38 2022-03-11 10:12:02 +01:00
Stef HeyenrathandGitHub bb3147eb8d Remove interface for all Settings (#736) 2022-03-10 20:58:18 +01:00
Stef HeyenrathandGitHub 3087ce55b1 Icon for preview 2022-03-07 08:53:13 +01:00
Stef Heyenrath a5af2ef920 1.4.37 2022-03-02 08:38:53 +01:00
Stef HeyenrathandGitHub a9e8e01877 Make X509CertificatePassword optional (#732) 2022-03-01 19:46:33 +01:00
Stef HeyenrathandGitHub 6c68033739 Fix FileSystemWatcher (#733)
* Define EnhancedFileSystemWatcher in class

* d
2022-03-01 19:45:39 +01:00
Stef Heyenrath 344f5c8111 Fix RootNamespace for 'WireMock.Org.*' projects 2022-02-26 10:34:39 +01:00
Stef HeyenrathandGitHub 02d28a34fd Fixed bug "dotnet nuget push -n" (#730)
* Use .NET 6.0

* 2

* remove depends on

* -n

* Fixed bug "dotnet nuget push -n"
2022-02-25 21:33:55 +01:00
Stef Heyenrath 8a5f1837ab 1.4.36 2022-02-25 17:03:01 +01:00
Stef HeyenrathandGitHub bb33b3f01a Update NuGet packages (#728)
* Update NuGet pacakges

* .

* .

* 3

* FluentBuilder

* 10000

* typo

* f

* .

* net6

* fix build

* t

* t2

* net6

* .

* <PackageReference Include="System.Text.Encodings.Web" Version="4.7.2" />

* .

* ...

* .

* fix
2022-02-25 16:59:31 +01:00
Stef HeyenrathandGitHub be070af7ad BodyAsFile should use BodyAsFileIsCached value (#729)
* BodyAsFile should use BodyAsFileIsCached value

* .
2022-02-21 20:41:51 +01:00
Stef Heyenrath d3ac811a40 1.4.35 2022-02-09 19:17:28 +01:00
Stef Heyenrath 16e0f1aa35 1.4.35 2022-02-09 19:16:56 +01:00
Stef HeyenrathandGitHub f919a03d7f Fixed for 'Response BodyAsJson with JArray does not work' (#722) 2022-02-09 19:13:19 +01:00
Stef Heyenrath bb906587ff 1.4.34 2022-01-27 12:36:35 +01:00
Stef HeyenrathandGitHub f2fab98abb MatcherMapper : Always use Pattern (#716) 2022-01-27 12:33:48 +01:00
Stef Heyenrath 288a50ccaf 1.4.33 2022-01-24 12:54:36 +01:00
Stef HeyenrathandGitHub ccd433b202 Add support for Cors (#714) 2022-01-24 12:26:19 +01:00
Stef Heyenrath d6c36bc23b 1.4.32 2022-01-17 15:56:28 +00:00
Stef Heyenrath 60bdc06d29 Small refactor on Template logic 2022-01-06 21:25:15 +01:00
Stef Heyenrath 0f1a4f32ef 1.4.31 2022-01-06 15:52:08 +01:00
Stef HeyenrathandGitHub e3a693ede7 Add example for Cors (#712)
* Cors

* Update Program.cs
2022-01-06 15:41:47 +01:00
Stef HeyenrathandGitHub b153024de3 Add ReplaceNodeOption flag (#710) 2022-01-05 17:03:29 +01:00
Stef HeyenrathandGitHub e8e28c21a1 Use NuGet "Stef.Validation" (#707)
* Use NuGet "Stef.Validation"

* nuget

* .
2021-12-30 10:44:50 +01:00
Stef Heyenrath eec9c486a5 1.4.30 2021-12-25 11:06:42 +01:00
Stef HeyenrathandGitHub b5ae087b95 Add .ConfigureAwait(false); to the await Task calls (#704)
Add .ConfigureAwait(false); to the await Task calls
2021-12-24 14:08:43 +01:00
Stef HeyenrathandGitHub 1d1ff4a418 SaveUnmatchedRequests (#703) 2021-12-24 09:34:26 +01:00
Stef Heyenrath 3e1c3598f7 RegexExtended : fix SonarCloud issue 2021-12-14 07:57:42 +00:00
Stef Heyenrath 12b868401d fix test 2021-12-12 15:55:07 +01:00