Stef Heyenrath
e61f08fe48
WireMockMiddleware should use HandleRequestsSynchronously correctly ( #939 )
2023-05-19 21:43:14 +02:00
Stef Heyenrath
090e0eb437
Add WithProbability ( #922 )
...
* WithProbability
* fix
* x
* ,
* .
* .
* .
2023-04-12 20:48:53 +02:00
Stef Heyenrath
b30e4faab6
Fix issue with application/x-www-form-urlencoded and ExactMatcher ( #907 )
2023-03-19 10:21:47 +01:00
Stef Heyenrath
20eb37b0c8
Add MappingBuilder to build mappings in code and export to Models or JSON ( #869 )
...
* MappingBuilder
* .
* ...
* sc
* t
* .
2023-01-06 19:11:56 +01:00
billybraga
9ed6a75384
Add client certificate support ( #862 )
...
* Add client certificate support
* Add missing test certificate file
* Review fixes
* Review fixes
* Review fixes
* Review fixes
2022-12-11 20:30:47 +01:00
Stef Heyenrath
e2f3ffd33a
Add UpdatedAt property to Mapping ( #859 )
...
* Add UpdatedAt property to Mapping
* .
2022-12-09 14:18:50 +01:00
Stef Heyenrath
795dcf42e2
Add .Net 7 ( #853 )
...
* Add .NET 7
* UseDotNet
* 7
* Ubuntu 6
* 'Use .NET 7'
* 67
* .
* use 7
* use 7
* test = 7
* coverage.7.0.opencover.xml
2022-12-03 11:03:57 +01:00
Stef Heyenrath
be1cbc5a12
Fix logic for QueryParameterMultipleValueSupport ( #854 )
...
* Add more QueryParameterMultipleValueSupport NoComma tests
* fix tests
* fx
* cf
* Fix
* cf
* select id, name, value from table where id in (1, 2, 3, 4, 5)
2022-12-03 11:03:45 +01:00
Stef Heyenrath
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 Heyenrath
ef5f988786
Add Settings.QueryParameterMultipleValueSupport ( #836 )
...
* QueryParameterMultipleValueSupport
* .
* ,
* ,
2022-11-08 19:27:44 +01:00
Stef Heyenrath
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 Heyenrath
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
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 Heyenrath
55afc8041f
ExactMatcher : IgnoreCase ( #817 )
...
* ...
* mm
* fix some null warnings
* fx
2022-10-15 08:23:58 +02:00
Stef Heyenrath
f7b04f3234
Add UseDefinedRequestMatchers to ProxyAndRecordSettings ( #821 )
...
* .
* UseDefinedRequestMatchers
* ok
* .
* ClientIP
* t
* fix ut
* .
* cf
* cf2
2022-09-30 11:25:11 +02:00
Stef Heyenrath
c0b18631a3
Add option to run the server on http & https ( #818 )
...
* HostingProtocol.HttpAndHttps
* .
* .
* .
* HostingScheme
2022-09-26 14:24:45 +02:00
Stef Heyenrath
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
74480c8ba9
Add support to use 'mapping' object in in reponse templating ( #798 )
...
* mapping
* .
* .
2022-09-03 08:52:05 +02:00
Stef Heyenrath
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 Heyenrath
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 Heyenrath
b1af37f044
Fix Proxying when StartAdminInterface=true ( #778 )
...
* ProxyHelper fixes
* .
* more reformat
* .
2022-08-09 19:41:45 +02:00
Stef Heyenrath
150b448d07
Added some more tests for JsonMatcher + refactored some code to use nullable ( #770 )
2022-07-09 15:34:17 +02:00
Stef Heyenrath
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 Heyenrath
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
a9e8e01877
Make X509CertificatePassword optional ( #732 )
2022-03-01 19:46:33 +01:00
Stef Heyenrath
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 Heyenrath
ccd433b202
Add support for Cors ( #714 )
2022-01-24 12:26:19 +01:00
Stef Heyenrath
e3a693ede7
Add example for Cors ( #712 )
...
* Cors
* Update Program.cs
2022-01-06 15:41:47 +01:00
Stef Heyenrath
b153024de3
Add ReplaceNodeOption flag ( #710 )
2022-01-05 17:03:29 +01:00
Stef Heyenrath
e8e28c21a1
Use NuGet "Stef.Validation" ( #707 )
...
* Use NuGet "Stef.Validation"
* nuget
* .
2021-12-30 10:44:50 +01:00
Stef Heyenrath
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 Heyenrath
1d1ff4a418
SaveUnmatchedRequests ( #703 )
2021-12-24 09:34:26 +01:00
Stef Heyenrath
e9db520cc3
Add TimeSettings (Start, End and TTL) ( #661 )
...
* time
* .
* UT
* using JetBrains.Annotations;
2021-10-27 18:57:13 +02:00
Stef Heyenrath
7ca2095576
Update logging (add version)
2021-10-24 10:44:39 +02:00
Stef Heyenrath
affe388e30
Add support for AzureAD authentication for REST admin interface ( #637 )
2021-10-20 16:39:51 +02:00
Stef Heyenrath
b04000bfdd
Add support for multiple webhooks ( #615 )
2021-05-19 13:58:48 +02:00
starkpl
80b5eaac6e
Add AdditionalServiceRegistration action for custom ASP.NET Core DI setup ( #611 )
2021-05-11 07:37:20 +02:00
Stef Heyenrath
8140b37095
WithProxy() should save the new mapping ( #600 )
...
* WithProxy should save the new mapping
* fix ut
* .
2021-03-31 18:17:27 +02:00
Stef Heyenrath
d758301e4f
Webhook ( #591 )
...
Webhook
2021-03-24 18:15:31 +01:00
Ben Arnold
6f7d2c83f5
Remove an approximate two second delay in response to the first request from a new socket connection, only occuring on some Windows 10 machines. ( #597 )
...
A side-effect of this fix is that is also allows connections to IPv6 addresses.
2021-03-21 09:12:19 +01:00
Roman Vovk
7a8f4c3630
Fix response date header ( #585 )
2021-02-11 11:49:24 +01:00
Stef Heyenrath
e4071b9c6a
Net5 issue ( #579 )
...
* 472
* .
* .
* p
* buffers
* 3
* Fix date
* fix
2021-02-02 22:21:30 +01:00
Stef Heyenrath
a228cdcb7c
Do not save "admin" mappings when running in Proxy - mode ( #561 )
...
* wip
* .
* .
2020-12-23 08:46:07 +01:00
Stef Heyenrath
35565f6aa8
WithProxy(...) also use all proxy settings ( #550 )
2020-12-08 08:21:00 +01:00
Stef Heyenrath
db2caadf70
Fix SonarCloud OpenCover (coverlet-coverage) ( #545 )
2020-11-30 15:48:17 +01:00
Stef Heyenrath
37d81aabad
.NET 5 ( #543 )
2020-11-28 11:03:55 +01:00
Stef Heyenrath
09533f1e3a
Add Custom Certificate settings ( #537 )
2020-11-10 16:40:15 +01:00
Stef Heyenrath
a0fdc002c8
WithCallback should use also use enum HttpStatusCode ( #535 )
...
* Fix #533
* simplyfy code
2020-11-10 10:20:57 +01:00
Eduardo Cáceres
94e176dd85
Make kestrel limits configurable ( #520 )
...
* Allow kestrel options to be overriden with values of config files and environment variables (see https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-3.1#kestrel-options )
* Make appsettings.json optional
* Move changes to AspNetCoreSelfHost.Framework files.
* Implement ConfigureKestrelServerOptions for .NET Standard 1.3.
2020-10-15 16:05:07 +02:00
Stef Heyenrath
65e01937a6
_logger.Info("WireMock.Net server using .NET Core 3.1");
2020-10-14 21:38:17 +02:00