Stef Heyenrath
abe996671e
Add Copilot Setup Steps action ( #1419 )
2026-01-09 18:20:12 +01:00
Petr Houška
9f819de696
Update aspire to 13.1 (examples + code) ( #1417 )
...
Allows usage of aspire CLI which is very useful for dev in codespaces (for my next PR).
2026-01-09 18:01:45 +01:00
Stef Heyenrath
f5d53453e5
1.23.0
2026-01-05 21:34:11 +01:00
samlatham
0e60e3f3f9
Fix: Pass AllowedHandlebarsHelpers configuration to Handlebars.Net.Helpers ( #1416 )
...
Pass AllowedHandlebarsHelpers configuration to Handlebars.Net.Helpers so that optional handlebars helpers can be enabled.
Co-authored-by: Sam Latham <sam.latham@citrix.com >
2026-01-05 21:24:48 +01:00
Luca Ma
9cee6dde00
Pass the parameter matchOperator in Request.WithPath to its inner calls ( #1414 )
...
Co-authored-by: Luca Ma <lucama@microsoft.com >
2026-01-04 08:03:19 +01:00
Stef Heyenrath
c88e7378a7
1.22.0
2026-01-02 21:30:59 +01:00
Vadim Hatsura
b090296559
chore(testcontainers): bump up Testcontainers to version 4.10.0 ( #1412 )
2026-01-02 21:25:28 +01:00
Stef Heyenrath
e5afd69f7c
1.21.0
2025-12-25 15:00:54 +01:00
Stef Heyenrath
f38133d7a4
Fix readyness-check for Testcontainers ( #1408 )
...
* Add XUnit Logging to TestcontainersTests
* .
2025-12-25 13:56:29 +01:00
Stef Heyenrath
597c95000e
vmImage: 'windows-2025' ( #1407 )
2025-12-24 16:59:02 +01:00
Stef Heyenrath
4617b99c30
[Collection("Grpc")]
2025-12-24 12:32:56 +01:00
Stef Heyenrath
ffd4d89946
Re-enable TestcontainersTestsGrpc ( #1406 )
...
* Re-enable TestcontainersTestsGrpc
* //[Collection("Grpc")]
2025-12-24 12:16:56 +01:00
Stef Heyenrath
2d46c86f47
1.20.0
2025-12-24 10:11:53 +01:00
Stef Heyenrath
75f4fbe9d0
Fix Testcontainers AddProtoDefinition ( #1405 )
...
* Fix Testcontainers AddProtoDefinition
* .
* UntilHttpRequestIsSucceeded
* WireMockContainer.ContainerPort
* System.Net/System.Net.Http
* ...
* WithWaitStrategy
* MaxHealthCheckRetries
* for
* _adminApi
* static
* ...
* testOutputHelper.WriteLine("Dumping WireMock logs:");
* Console.WriteLine(
* testOutputHelper.WriteLine("Dumping WireMock.Net mappings:");
* fix WithWaitStrategy
* [Fact]
* <PackageReference Include="ProtoBufJsonConverter" Version="0.11.0" />
* [Collection("Grpc")] / [Fact(Skip = "TODO")]
* ...
2025-12-24 10:09:30 +01:00
Stef Heyenrath
16e3872402
Run the Grpc TestcontainersTests sequential ( #1402 )
2025-12-21 09:40:16 +01:00
Stef Heyenrath
4c797c328f
Add WireMock.Net.NUnit project ( #1400 )
...
* Add WireMock.Net.NUnit project
* <Version>0.0.1-preview-01</Version>
* --v
2025-12-20 13:43:54 +01:00
Stef Heyenrath
a5e75a7278
Fix Grpc tests ( #1401 )
...
* Fix some Grpc tests
* await Task.Delay(1000);
* ports
2025-12-20 12:08:41 +01:00
Stef Heyenrath
56f65c19e2
Upgrade RamlToOpenApiConverter and YamlDotNet ( #1399 )
...
* Upgrade RamlToOpenApiConverter and YamlDotNet
* fix
2025-12-19 18:33:58 +01:00
Stef Heyenrath
6aef4816a5
WireMockServer_WithRequiredClientCertificates_Should_Work_Correct --> IgnoreOnContinuousIntegrationFact
2025-12-19 17:52:20 +01:00
Stef Heyenrath
197a211a52
TestcontainersTests
2025-12-13 11:48:48 +01:00
Stef Heyenrath
3cfeec6035
1.19.0
2025-12-12 11:16:38 +01:00
Stef Heyenrath
b57d5e7548
WireMockContainerBuilder: allow only docker images named wiremock ( #1392 )
2025-12-11 22:21:39 +01:00
Stef Heyenrath
36b89afce5
fix CI link in Readme
2025-12-11 11:25:28 +01:00
Stef Heyenrath
e2acac55a4
Update WireMockContainerBuilder (WithImage and WithCustomImage) ( #1391 )
...
* Update WireMockContainerBuilder (WithImage and WithCustomImage)
* .
2025-12-11 10:55:31 +01:00
Stef Heyenrath
ceabd27ce0
1.18.0
2025-12-09 18:28:28 +01:00
Stef Heyenrath
f8e2c7ee90
Add WithBodyAsType to RequestMatcher ( #1388 )
...
* Add WithBody<T>
* .
* t
* t2
2025-12-08 19:15:14 +01:00
Stef Heyenrath
c25d8f33d2
1.17.0
2025-12-07 10:55:07 +01:00
Stef Heyenrath
6da190e596
Aspire: Add WithProtoDefinition to support proto definition at server level ( #1383 )
...
* Add property UseHttp2 to WireMockServerArguments
* .
* additionalUrls
* ok?
* WireMockServerArguments
* fx
* AddProtoDefinition
* ...
* FIX
* Always add the lifecycle hook to support dynamic mappings and proto definitions
2025-12-07 10:50:11 +01:00
Stef Heyenrath
44388ce80d
Fix random delay in mapping json file ( #1386 )
2025-11-25 20:54:06 +01:00
Stef Heyenrath
5e25ca767d
Fix BuildId ( #1384 )
2025-11-23 11:19:39 +01:00
Stef Heyenrath
0cc583a4a3
WireMock.Net.xUnit.v3 (netstandard2.0)
2025-11-18 18:52:07 +01:00
Stef Heyenrath
f9633adac1
1.16.0
2025-11-18 18:45:12 +01:00
Stef Heyenrath
37bad618a3
Add WireMock.Net.xUnit.v3 project ( #1380 )
...
* Add WireMock.Net.xUnit.v3 project
* .
2025-11-18 18:42:28 +01:00
Johannes Häggqvist
8e69f36f04
Add WireMockHealthCheck in WireMock.Net.Aspire ( #1375 )
...
* Add WireMockHealthCheck
For use with Aspire, to make WaitFor(wiremock) more useful.
Calls /__admin/health and checks the result, as well as checks if mappings using AdminApiMappingBuilder has been submitted to the server.
This created a catch-22 problem where the mappings were not submitted until the health check was healthy, but the health check was not healthy until the mappings were submitted.
To avoid this, the WireMockServerLifecycleHook class has been slightly re-arranged, and is now using the AfterEndpointsAllocatedAsync callback rather than the AfterResourcesCreatedAsync callback. Within which a separate Task is created that waits until the server is ready and submits the mappings.
* Move WireMockMappingState to its own file
* Dispose the cancellation tokens in WireMockServerLifecycleHook
2025-11-17 20:14:42 +01:00
Stef Heyenrath
21601889e0
Check if the path is valid when using WithPath(...) ( #1377 )
2025-11-08 09:02:00 +01:00
Stef Heyenrath
dfeabf228e
WireMock.Net.OpenApiParser : support Examples ( #1366 )
2025-11-08 07:45:38 +01:00
Stef Heyenrath
1feb0ade70
Fix wiki links ( #1373 )
...
* Change all links from wiki to documention website
* .
* doc
* ws
2025-10-26 10:13:58 +01:00
Stef Heyenrath
8b1bd1b21b
1.15.0
2025-10-22 10:58:44 +02:00
Michi
c1b23b615e
Support Testcontainers 4.8.0 ( #1370 )
2025-10-22 10:18:16 +02:00
Stef Heyenrath
5885324dfb
Fix WithProbability logic ( #1367 )
...
* Fix WithProbability logic
* .
* FIX
* Update src/WireMock.Net.Minimal/Owin/MappingMatcher.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-22 10:16:59 +02:00
Tom Akehurst
e3f3e0a8f2
Tweaked docs message in README
2025-10-13 20:29:29 +01:00
Tom Akehurst
685d28db0b
Added link to new doc site from README.md
2025-10-13 20:23:18 +01:00
Stef Heyenrath
f6c5225fe0
1.14.0
2025-10-06 17:00:19 +02:00
Stef Heyenrath
b9019a2f61
Update ProxyUrlReplaceSettingsModel with TransformTemplate property ( #1362 )
...
* Update ProxyUrlReplaceSettingsModel with TransformTemplate property + parse settings correctly
* oldValue nullable
* <Version>1.14.0-preview-01</Version>
2025-10-06 09:16:25 +02:00
Stef Heyenrath
b82dad2563
Add Tls13 ( #1363 )
...
* Add Tls13
* fix
2025-10-05 15:51:47 +02:00
Stef Heyenrath
45d4e7077d
1.13.0
2025-09-28 12:44:14 +02:00
Stef Heyenrath
19e95325fa
ProxyUrlTransformer ( #1361 )
...
* ProxyUrlTransformer
* tests
* Update src/WireMock.Net.Shared/Settings/ProxyUrlReplaceSettings.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-28 12:40:33 +02:00
Stef Heyenrath
371bfdc160
TypeLoader: implement Try methods ( #1358 )
...
* TypeLoader: implement Try methods
* fix
2025-08-31 08:48:29 +02:00
Stef Heyenrath
5c5e104f2c
1.12.0
2025-08-30 11:49:20 +02:00
Stef Heyenrath
068fdf33e3
Upgrade Testcontainers to 4.7.0 ( #1357 )
...
* Upgrade Testcontainers to 4.7.0
* .
2025-08-30 11:46:52 +02:00
Stef Heyenrath
358590918e
1.11.2
2025-08-27 10:25:31 +02:00
Stef Heyenrath
32afea5d30
Revert JetBrains.Annotations and add System.Text.RegularExpressions to solve CVE ( #1355 )
2025-08-27 10:04:36 +02:00
Stef Heyenrath
50b3d58a01
1.11.1
2025-08-27 08:47:58 +02:00
Stef Heyenrath
35bf5e94a5
Add System.Net.Http again to solve CVE warning ( #1354 )
2025-08-27 08:45:24 +02:00
Stef Heyenrath
9fcc9ade10
Add additional try-catch to TypeLoader logic ( #1352 )
2025-08-27 08:33:01 +02:00
Stef Heyenrath
865bbf2432
WireMock.Net.ProtoBuf: fix version
2025-08-26 15:42:23 +02:00
Stef Heyenrath
560540099e
1.11.0
2025-08-26 07:58:04 +02:00
Stef Heyenrath
e5c4605020
Create WireMock.Net.ProtoBuf project ( #1350 )
...
* Create WireMock.Net.ProtoBuf project
* ok
* Update Directory.Build.props
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-26 07:55:02 +02:00
Stef Heyenrath
124d29c86a
1.10.1
2025-08-22 19:58:00 +02:00
Stef Heyenrath
08117e870b
Add AtPath and AtAbsolutePath to Assertions projects ( #1349 )
...
* Add AtPath and AtAbsolutePath to Assertions projects
* tst
2025-08-22 19:40:59 +02:00
Stef Heyenrath
ddb181cc52
WireMock.Net.Extensions.Routing
2025-08-18 20:47:10 +02:00
Stef Heyenrath
10fdd24fca
1.10.0
2025-08-18 20:22:49 +02:00
Gennadii Saltyshchak
be2ea67b89
Add new package WireMock.Net.Extensions.Routing which provides minimal-API-style routing for WireMock.Net ( #1344 )
...
* Add new package WireMock.Net.Extensions.Routing
* Update documentation for WireMock.Net.Extensions.Routing
* Cleanup imports
* Add header to all source files inside WireMock.Net.Extensions.Routing
* Add header to all source files inside WireMock.Net.Extensions.Routing.Tests
* Revert unintended changes
* Remove redundant build configurations
* Remove incorrect links from documentation
* Update nuget package references
* Revert unintended changes
* Migrate to AwesomeAssertions
* Remove redundant project reference
* Adjust formatting
* Migrate to primary constructor
* Refactoring: rename delegate parameter
* Abstract over JSON converter
* Replace WireMock with WireMock.Net in comments
* Move local functions to the bottom of the methods
2025-08-18 19:52:42 +02:00
Stef Heyenrath
60eb519ae2
1.9.1
2025-08-17 10:11:48 +02:00
Stef Heyenrath
22ed94918a
Fix generating source code for Scenario and State ( #1347 )
...
* Fix generating source code for Scenario and State
* Update src/WireMock.Net.Minimal/Serialization/MappingConverter.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.Minimal/Serialization/MappingConverter.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-17 10:06:39 +02:00
Stef Heyenrath
faffc56484
Add TimesInSameState to MappingModel ( #1345 )
...
* Add TimesInSameState to MappingModel
* fix tests
2025-08-11 08:46:18 +02:00
Stef Heyenrath
a5558777e2
1.9.0
2025-08-10 19:07:24 +02:00
Stef Heyenrath
6722ca40ba
Update feature_request.md
2025-08-10 19:02:24 +02:00
Stef Heyenrath
0597a73e0e
Create GraphQL project ( #1334 )
...
* Create new project for GraphQL
* ...
* .
* ok?
* Update src/WireMock.Net.Shared/Extensions/AnyOfExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* --
* ...
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-10 19:00:22 +02:00
Stef Heyenrath
0d510cdde8
1.8.18
2025-08-04 18:03:44 +02:00
Stef Heyenrath
52a396beef
1.8.18
2025-08-04 18:03:23 +02:00
Sam Fields
6ccfe68686
Fixes an issue with matching JSON bodies as bytes ( #1339 )
...
* Fixes an issue with matching JSON bodies as bytes
* Adding tests for exact object matching
* Simplify the check for byte data
2025-08-02 20:11:13 +02:00
Stef Heyenrath
e400e92452
1.8.17
2025-07-23 09:40:55 +02:00
Stef Heyenrath
7a187dfb78
Add more examples for WithGraphQLSchema ( #1335 )
2025-07-23 09:34:31 +02:00
Stef Heyenrath
e6ff8776fb
Make CSharpCodeMatcher public ( #1337 )
2025-07-23 09:29:53 +02:00
Stef Heyenrath
c32e904f4d
1.8.16
2025-07-19 08:16:34 +02:00
Stef Heyenrath
e80d436dd6
Use corerct Handlebars.Net.Helpers.Xslt (2.5.2) ( #1332 )
2025-07-18 10:57:58 +02:00
Stef Heyenrath
fcc95ff06f
1.8.15
2025-07-18 08:45:42 +02:00
Stef Heyenrath
020cc15420
Correctly map the Pact Interaction Description property ( #1331 )
...
* Correctly map the Pact Interaction Description property
* Update src/WireMock.Net.Minimal/Serialization/PactMapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* post
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-18 08:41:04 +02:00
Stef Heyenrath
aeb15725e4
1.8.14
2025-07-13 08:53:53 +02:00
Stef Heyenrath
a06ee6b158
Fix HandlebarsContext.ParseAndEvaluate ( #1329 )
2025-07-12 11:05:02 +02:00
Stef Heyenrath
b0076b4e81
Implement IMimeMessageData ( #1326 )
...
* Implement IMimeMessageData
* 1
* Update src/WireMock.Net.MimePart/Util/MimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* v1
* v2
* e
* ?
* fix
* if (Array.TrueForAll(_funcs, func => func(value).IsPerfect()))
* Update src/WireMock.Net.Shared/Util/IMimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.Minimal/Matchers/Request/RequestMessageMultiPartMatcher.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.MimePart/Models/MimeEntityDataWrapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Models.Mime.IMimeMessageData? BodyAsMimeMessage { get; }
* Update src/WireMock.Net.MimePart/Util/MimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.MimePart/Models/MimePartDataWrapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.MimePart/Models/MimeMessageDataWrapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.Shared/Util/IMimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-12 09:54:18 +02:00
Stef Heyenrath
6c61f87ef3
Add method CreateHttpClientFactory ( #1325 )
...
* Add method CreateHttpClientFactory
* rev
2025-07-08 10:50:30 +02:00
Stef Heyenrath
35cd06b47b
Update README.md
2025-06-24 09:31:22 +02:00
Stef Heyenrath
b925c537c7
1.8.13
2025-06-23 08:07:30 +02:00
Stef Heyenrath
f80925c1fb
Add Scenario set State method ( #1322 )
...
* Add SetScenarioState
* add tests
* summary
* .
* 1.8.13-preview-01
* fix
* fix name
2025-06-23 08:03:11 +02:00
Stef Heyenrath
43cff52b69
1.8.12
2025-06-15 11:50:31 +02:00
Stef Heyenrath
7b93b2668d
Fix TypeLoader ( #1320 )
...
* no ilmerge
* .
* .
* nullable
* .UsingNuGet
* fix
* .
* directoriesToSearch
* .
2025-06-15 11:44:09 +02:00
Dom Light
70a9180af4
Set description when converting MappingModel to IRespondWithAProvider ( #1317 )
...
Adding a mapping with a description to `WireMockServer.WithMapping`
did not include the description to the resulting
`IRespondWithAProvider`, which means that calling
`WireMockServer.SavePact` does not populate the description in the
contract file.
This PR includes the description when mapping from `MappingModel` to
`IRespondWithAProvider`.
2025-06-14 11:13:04 +02:00
Stef Heyenrath
acd6592562
remove some old console projects
2025-06-13 13:07:48 +02:00
Sébastien Crocquesel
2a010dcd42
Use default resource cleaning behavior in test ( #1316 )
2025-06-12 22:06:58 +02:00
Stef Heyenrath
8151119cca
1.8.11
2025-06-11 12:04:21 +02:00
Stef Heyenrath
77000372c6
Fix for WithTransformer and JsonBody as list ( #1315 )
...
* Fix for WithTransformer and JsonBody as list
* Fix WithTransformer when the response BodyAsJson is a List
2025-06-11 11:51:29 +02:00
Stef Heyenrath
ec248a9a78
Fix TestcontainersTests to ignore exception when stopping ( #1314 )
2025-06-11 11:12:58 +02:00
Stef Heyenrath
2f7e3a3178
Update TestcontainersTests to ignore exception when stopping
2025-06-11 10:21:42 +02:00
Stef Heyenrath
ac9c51e34e
Update RandomDataGenerator.Net to 1.0.19 ( #1313 )
...
* Update RandomDataGenerator.Net to 1.0.19
* Handlebars.Net.Helpers
2025-06-11 09:00:23 +02:00
Sébastien Crocquesel
8ba243ddcd
Bump Testcontainers version to 4.5.0 ( #1311 )
...
* Bump Testcontainers version to 4.5.0
The Testcontainers dependency Docker.DotNet was bumped to 3.128.1 and is not binary compatible with previous version.
When a user has a direct dependency on Testcontainers 4.5.0, WireMock.Net.Testcontainers fails with :
System.MissingMethodException : Method not found: 'Docker.DotNet.DockerClient Docker.DotNet.DockerClientConfiguration.CreateClient(System.Version)'
* Bump System.Net.Http.Json version to 8.0.1
Minimum required version for Testcontainers 4.5.0
* Do not dispose null container
2025-06-10 22:23:56 +02:00
Stef Heyenrath
d4b95e73ea
Remove unit test which uses postman-echo
2025-06-10 13:16:24 +02:00
Stef Heyenrath
f9ae045847
Images/Icons
2025-06-10 12:23:07 +02:00
Stef Heyenrath
05b5876b5c
1.8.10
2025-06-10 08:15:22 +02:00
Stef Heyenrath
c1bd2d315f
Update AwesomeAssertions to version 9 ( #1309 )
2025-06-06 21:06:38 +02:00
Stef Heyenrath
8917a6eaaa
For some projects, change dependency to WireMock.Net.Minimal ( #1308 )
2025-06-06 11:22:34 +02:00
Stef Heyenrath
3cc9040f51
Update RequestModelBuilder (add WithHeader) ( #1306 )
...
* Update RequestModelBuilder (add WithHeader)
* rejectOnMatch
* fix
2025-06-05 12:24:40 +02:00
Stef Heyenrath
6136bc177c
1.8.9
2025-05-28 07:18:51 +02:00
Stef Heyenrath
86d4717216
Add option to provide X509Certificate ( #1303 )
...
* Add option to provide X509CertificateRawData
* X509Certificate
* remove X509CertificateRawData
2025-05-28 07:15:46 +02:00
Stef Heyenrath
3438539138
1.8.8
2025-05-24 12:34:30 +02:00
Stef Heyenrath
96eca4262a
Create WireMock.Net.MimePart project ( #1300 )
...
* Create WireMock.Net.MimePart project
* .
* REFACTOR
* ILRepack
* --
* ...
* x
* x
* .
* fix
* public class MimePartMatcher
* shared
* min
* .
* <!--<DelaySign>true</DelaySign>-->
* Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-24 12:17:42 +02:00
Stef Heyenrath
c15206ecd8
Update README.md [codecov]
2025-05-22 15:30:01 +02:00
Stef Heyenrath
ec15c544c4
Update README.md (fix codefactor link)
2025-05-22 08:46:11 +02:00
Stef Heyenrath
339d3ab3a8
Fix CSharpFormatterTests
2025-05-22 08:42:23 +02:00
Stef Heyenrath
001ba03ee9
1.8.7
2025-05-22 08:22:48 +02:00
Stef Heyenrath
17545da2c3
Add extra unit test test to CSharpFormatterTests
2025-05-22 08:14:45 +02:00
Asaf Agami
b4279be3cb
Fix exception when converting json array to C# code ( #1301 )
2025-05-22 07:54:58 +02:00
Stef Heyenrath
d628ce2270
Fix BodyParser to correctly check for json ( #1297 )
...
* Fix BodyParser to correctly check for json
* JsonUtils
2025-05-21 17:28:29 +02:00
Stef Heyenrath
1e23c58bf2
Use TinyMapper.Signed ( #1299 )
...
* Use TinyMapper.Signed
* <PackageReference Include="TinyMapper.Signed" Version="4.0.0" />
2025-05-17 18:29:03 +02:00
Stef Heyenrath
9b5801f828
1.8.6
2025-05-15 20:16:17 +02:00
Stef Heyenrath
61b6eb8752
Content-Type multipart/form-data header should also be proxied ( #1296 )
2025-05-15 18:21:21 +02:00
Stef Heyenrath
baa33552e9
1.8.5
2025-05-14 07:34:04 +02:00
Stef Heyenrath
492f01ade1
Add more tests for WireMockOpenApiParser ( #1294 )
2025-05-13 22:11:25 +02:00
Stef Heyenrath
7596967fcc
Grpc: Fix parsing null value for google.protobuf.Timestamp ( #1293 )
...
* Add another example for Grpc client + mapping
* <PackageReference Include="ProtoBufJsonConverter" Version="0.9.0" />
2025-05-10 12:53:18 +02:00
Stef Heyenrath
56c058fe24
Cleanup old WireMock.Net.OpenApiParser
2025-05-10 08:10:20 +02:00
Stef
b43be28b5f
1.8.4
2025-05-08 20:15:23 +02:00
Stef Heyenrath
5ed09d84a3
Use ILRepack to include Microsoft.OpenApi as internal ( #1290 )
...
* .
* Use ILRepack to include Microsoft.OpenApi as internal
* ...
* OpenApiSpecificationVersion
* .
* 080
* 4
2025-05-08 20:11:41 +02:00
Stef
cfcc55d2dd
1.8.3
2025-05-06 21:47:29 +02:00
Stef Heyenrath
249b3562ab
Update AzureADAuthenticationMatcher to support V2 Azure AAD tokens ( #1288 )
...
* Update AzureADAuthenticationMatcher to support V2 Azure AAD tokens
* fix ;-)
* add tests
* Update test/WireMock.Net.Tests/Authentication/MockJwtSecurityTokenHandler.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .
* WIREMOCK_AAD_TENANT
* update logging
* throw new SecurityTokenInvalidIssuerException($"tenant {extractedTenant} does not match {_tenant}.");
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-06 18:49:21 +02:00
Stef
cfc13b2449
1.8.2
2025-05-05 10:23:14 +02:00
Stef Heyenrath
4303706530
Update ProtoBufJsonConverter to fix conflict for 'MessageOptions' ( #1291 )
...
* Update ProtoBufJsonConverter to fix conflict for 'MessageOptions'
* <PackageReference Include="ProtoBufJsonConverter" Version="0.8.0" />
2025-05-05 10:21:15 +02:00
Stef Heyenrath
5c8105b50d
move 'WireMock.Net.OpenApiParser.Preview' to ''src-preview' folder
2025-05-02 09:15:59 +02:00
Stef Heyenrath
630ffab56e
Do not generate NuGet for WireMock.Net.OpenApiParser.Preview
2025-05-02 08:50:32 +02:00
Stef Heyenrath
c181d0286a
Do not generate NuGet for WireMock.Net.OpenApiParser.Preview
2025-05-02 08:41:51 +02:00
Stef Heyenrath
16dab99175
1.8.1
2025-05-02 07:29:11 +02:00
Stef Heyenrath
cf0dcf5855
Revert changes to WireMock.Net.OpenApiParser ( #1289 )
...
* Revert changes to WireMock.Net.OpenApiParser
* revert
2025-05-02 07:18:35 +02:00
Stef
e7310fbc7b
1.8.0
2025-04-28 19:35:48 +02:00
Jonathan Mezach
8a07286b89
Add an launch inspector command to Aspire Dashboard ( #1283 )
...
* Upgrade to Aspire 9.2.0
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Remove workload installs from CI pipeline
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Missed package upgrade
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Fix usings
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Add Open Inspector command
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Fix broken test
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* PR comments
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* More PR comments
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
---------
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
2025-04-25 20:23:19 +02:00
Emil Tang Kristensen
9392069f8a
Enable support for WireMock Middleware in Hosted Services ( #1285 )
2025-04-25 16:35:55 +02:00
Stef Heyenrath
0fd190b5a3
Fix Changelog
2025-04-24 20:17:15 +02:00
Stef Heyenrath
4368e3cde6
1.7.x ( #1268 )
...
* Fix construction of path in OpenApiParser (#1265 )
* Server-Sent Events (#1269 )
* Server Side Events
* fixes
* await HandleSseStringAsync(responseMessage, response, bodyData);
* 1.7.5-preview-01
* IBlockingQueue
* 1.7.5-preview-02 (03 April 2025)
* IBlockingQueue
* ...
* Support OpenApi V31 (#1279 )
* Support OpenApi V31
* Update src/WireMock.Net.OpenApiParser/Extensions/OpenApiSchemaExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fx
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add ProtoDefinitionHelper.FromDirectory (#1263 )
* Add ProtoDefinitionHelper.FromDirectory
* .
* unix-windows
* move test
* imports in the proto files indeed should use a forward slash
* updates
* .
* private Func<IdOrTexts> ProtoDefinitionFunc()
* OpenTelemetry
* .
* fix path utils
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-04-23 11:51:44 +02:00
Stef Heyenrath
fc0f82db33
Add HandlebarsSettings ( #1271 )
...
* Add HandlebarsSettings class
* DefaultAllowedHandlebarsHelpers
* HB - 2.5.0-preview-01
* readme
* fix
* readme
* Handlebars.Net.Helpers Version="2.5.0"
2025-04-23 07:47:37 +02:00
Stef Heyenrath
beabba4064
Add extra unit tests for PR #1278
2025-04-23 07:47:07 +02:00
jollyjoyce1995
d9a7e80360
changed null check in JSONPathMatcher and JmesPathMatcher to ensure that the body is not an empty string (the json parse would throw an exception at this point) ( #1278 )
2025-04-23 07:30:52 +02:00
Stef Heyenrath
66a048a487
update readme for WireMock.Net.AwesomeAssertions
2025-04-23 07:30:21 +02:00
Francesco Venturoli
04d53f3a9e
feat(awesome-assertions): Added new project WireMock.Net.AwesomeAssertions ( #1273 )
...
* feat(awesome-assertions): Added new project WireMock.Net.AwesomeAssertions
* feat(awesome-assertions): Applied dotnet naming convention for private readonly fields
---------
Co-authored-by: Francesco Venturoli <f.venturoli@crif.com >
2025-04-22 22:51:40 +02:00
Stef Heyenrath
a8562fda32
Use vmImage ubuntu-22.04 and install aspire workload in Azure DevOps CI-CD pipeline ( #1282 )
...
* Install aspire workload in Azure DevOps CI-CD pipeline
* vmImage: 'ubuntu-22.04'
2025-04-22 22:47:43 +02:00
Stef Heyenrath
5abb424d3c
Add extra JsonPartialWildcardMatcher Tests ( #1267 )
...
* Add extra JsonPartialWildcardMatcher Tests
* responseText.Should().Contain
2025-04-02 08:57:44 +02:00
Stef Heyenrath
db158bcc7e
Update readme
2025-03-04 18:17:09 +01:00
Stef Heyenrath
0effda3cfa
1.8.0-prview-01 (Update the usage from the custom Handlebars.Net File helper)
2025-03-04 18:11:13 +01:00
Stef Heyenrath
ff36c1ee6f
Merge commit from fork
2025-03-04 17:58:38 +01:00
Stef Heyenrath
be55022a2a
1.7.4
2025-02-27 07:15:02 +01:00
Stef Heyenrath
7c68fc1d94
Add ToArray() to ConcurrentObservableCollection ( #1256 )
...
* Add ToArray() to ConcurrentObservableCollection
* ---
2025-02-27 07:12:05 +01:00
Stef Heyenrath
e7d442e5ac
1.7.3
2025-02-24 23:14:50 +01:00
Stef Heyenrath
f977b3eb86
Update QueryStringParser to support param with equal but no value ( #1253 )
...
* RequestMessageParamMatcher
* ?
* .
* .
2025-02-13 18:09:18 +01:00
Stef
84e5ba6dce
1.7.2
2025-02-12 06:15:52 +01:00
Stef
e0d693c515
1.7.2
2025-02-12 06:14:39 +01:00
Stef Heyenrath
e8de5aa73c
Add ProtoDefinition to WireMockContainer ( #1250 )
...
* AddProtoDefinitionAsync
* ...
* Body
* "
* .
* .
* .
* [Fact(Skip = "new docker is needed")]
* x
2025-02-12 06:08:55 +01:00
Stef Heyenrath
a02ff47db6
Update WireMockProtoFileResolver and add tests for ProtoBufUtils ( #1252 )
...
* Update WireMockProtoFileResolver and add tests for ProtoBufUtils
* .
2025-02-01 22:27:32 +01:00
JvE-iO
29bf9b42f8
Add exception message to logging when mapping fails due to an exception. ( #1248 )
...
* Add exception message to logging when mapping fails due to an exception.
* Revert "Add exception message to logging when mapping fails due to an exception."
This reverts commit eb7cf46c95 .
* Fix loggers with improved exception logging.
2025-01-30 10:59:22 +01:00
Stef Heyenrath
52b00d74a9
Add "AddUrl" to WireMockContainerBuilder to support grpc ( #1246 )
...
* Add "AddUrl" to WireMockContainerBuilder to support grpc
* fix
* fix for windows
* wip
* fix !
* change some example code
2025-01-29 22:09:17 +01:00
Stef
f5fe51e227
1.7.1
2025-01-26 08:56:47 +01:00
Stef Heyenrath
fa8f45a7ac
Use Handlebars.Net.Helpers version 2.4.10 ( #1245 )
2025-01-26 08:52:37 +01:00
Stef Heyenrath
ed07da7d18
Fix ProtoBuf mapping.json ( #1236 )
...
* Fix ProtoBuf Mappings
* [Fact(Skip = "#1233 ")]
* fix?
* PortUtils
2025-01-26 08:37:17 +01:00
Stef Heyenrath
442d8a715c
Update README.md [Breaking changes]
2025-01-25 11:53:56 +01:00
Stef Heyenrath
09f4953936
1.7.0
2025-01-22 10:36:22 +01:00
Stef Heyenrath
12d2219752
Disable DynamicLinq to fix CVE ( #1242 )
...
* Disable DynamicLinq
* Disable DynamicLinq functionality
2025-01-22 10:30:52 +01:00
Stef
888d913729
1.6.12
2025-01-21 22:12:35 +01:00
Stef Heyenrath
6688a64d49
Upgrade to Handlebars.Net.Helpers 2.4.9 ( #1241 )
...
* Upgrade to Handlebars.Net.Helpers 2.4.9
* uses: actions/setup-dotnet@v4
2025-01-21 22:10:19 +01:00
Stef Heyenrath
6aa1594d31
Fix ArgumentException in FindLogEntries ( #1235 )
2025-01-09 21:14:11 +01:00
Stef Heyenrath
44c1c7aaa8
Fix google protobuf WellKnownTypes: Empty, Duration and Timestamp ( #1231 )
...
* Fix google protobuf WellKnownTypes: Timestamp and Duration
* Fix protobuf Empty
* .
* small refactor
* 006
* fix
* policy
* ---
* <PackageReference Include="ProtoBufJsonConverter" Version="0.7.0" />
2025-01-09 18:50:16 +01:00
Stef
9c94324cff
1.6.11
2025-01-02 10:42:39 +01:00
Stef
1198feae5e
Add unit test "WireMockServer_WithBodyAsProtoBuf_JsonPartialWildcardMatcher"
2025-01-02 09:00:39 +01:00
Stef Heyenrath
ab7ce37e7e
Fix WireMockContainerBuilder (duplicate entries) ( #1222 )
2024-12-31 18:24:29 +01:00
Stef Heyenrath
485f7ad952
FindLogEntries ( #1224 )
2024-12-23 20:00:03 +01:00
Stef Heyenrath
c4ae4eaf8e
Add functionality to call a PostTransform method after the Webhook request has been transformed ( #1223 )
...
* Add functionality to call a PostTransform method after the Webhook request has been transformed
* UseTransformer == true
2024-12-22 18:38:12 +01:00
Stef Heyenrath
6db5427e6e
Add overloads to AtUrl and AtAbsoluteUrl which can use a IStringMatcher ( #1221 )
2024-12-22 17:11:21 +01:00
Stef Heyenrath
deda7fb686
1.6.10
2024-12-15 11:39:03 +01:00
Stef Heyenrath
2a19b4491f
WireMock.Net.Testcontainers: implement watching the static mapping folder for changes ( #1189 )
...
* WireMock.Net.Testcontainers: implement watching the static mapping files + folder for changes
* ReloadStaticMappings
* fix
* .
* .
* .
* .
* .
* .
* .
* CopyAsync
* <VersionPrefix>1.6.7-preview-02</VersionPrefix>
* <VersionPrefix>1.6.7-preview-03</VersionPrefix>
2024-12-15 11:31:25 +01:00
Stef Heyenrath
c548600dea
1.6.9
2024-12-06 19:22:25 +01:00
Stef Heyenrath
7f640dfa0d
Fix JsonPartialMatcher when using property names with dot ( #1216 )
...
Fix JsonPartialMatcher when using property names with dot (#1216 )
2024-12-06 09:23:31 +01:00
Stef Heyenrath
4b3e9feca0
1.6.8
2024-11-24 16:22:32 +01:00
Stef Heyenrath
4aaed2a6ca
Fix HandlebarsContext ParseAndEvaluate method ( #1213 )
...
* Fix HandlebarsContext ParseAndEvaluate method
* test
* xxx
2024-11-22 07:58:23 +01:00
Stef Heyenrath
6f73dfe360
Use GraphQL 8.2.1 ( #1211 )
2024-11-18 10:23:00 +01:00
Stef Heyenrath
f4103b47aa
Fix security issues ( #1206 )
...
* .
* .
* x
2024-11-17 17:25:21 +01:00
Stef Heyenrath
edab3ad7e5
WireMockLogger
2024-11-01 10:31:23 +01:00
Stef Heyenrath
38c2131472
IWireMockLogger.Error(string, Exception)
2024-10-29 19:55:02 +01:00
Stef Heyenrath
3693d6a676
Log exception when (static) mapping file cannot be read ( #1202 )
2024-10-29 19:52:31 +01:00
Stef Heyenrath
214fb539ec
1.6.7
2024-10-17 18:49:24 +02:00
Stef Heyenrath
a468b89788
Fix Google.Protobuf.WellKnownTypes.Value ( #1198 )
...
* <PackageReference Include="ProtoBufJsonConverter" Version="0.5.0-preview-01" />
* Fix Google.Protobuf.WellKnownTypes.Value
2024-10-17 18:47:09 +02:00
Stef Heyenrath
1682c61a0c
Use latest ProtoBufJsonConverter to support WellKnownTypes ( #1161 )
...
* Use latest ProtoBufJsonConverter to support WellKnownTypes
* Fix
* 02
* WireMockServer_WithBodyAsProtoBuf_WithWellKnownTypes
* .
* extra test
* 0.4.0-preview-06
* 7
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0-preview-08" />
* Update README.md
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0-preview-09" />
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0" />
* Update README.md
2024-10-16 10:57:47 +02:00
dependabot[bot]
ac693e0f96
Bump System.Text.Json from 8.0.4 to 8.0.5 in /src/dotnet-WireMock.Net ( #1197 )
...
Bumps [System.Text.Json](https://github.com/dotnet/runtime ) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/dotnet/runtime/releases )
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5 )
---
updated-dependencies:
- dependency-name: System.Text.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 10:41:07 +02:00
dependabot[bot]
45755adae4
Bump System.Text.Json in /examples/WireMock.Net.Console.Net472.Classic ( #1190 )
...
Bumps [System.Text.Json](https://github.com/dotnet/runtime ) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/dotnet/runtime/releases )
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5 )
---
updated-dependencies:
- dependency-name: System.Text.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 21:46:08 +02:00
Stef Heyenrath
2ffdae1863
Upgrade System.Text.RegularExpressions to 4.3.1 to solve CVE-2019-0820 ( #1194 )
...
* Upgrade Handlebars.Net.Helpers to 2.4.6 to solve CVE-2019-0820
* .
2024-10-10 08:29:57 +02:00
Stef Heyenrath
5adbff0fa3
Update README.md (add blog)
2024-10-06 18:31:46 +02:00
Stef Heyenrath
5e04ff1a42
Add an architecture diagram for Aspire project ( #1174 )
...
* Add an architecture diagram for Aspire project
* .
* "WireMock.Net : " +
* .
2024-10-04 19:30:47 +02:00
Stef Heyenrath
eb7e6c397f
1.6.6
2024-10-01 17:43:18 +02:00
Stef Heyenrath
f56ecf943d
Fix StaticMappingsPath in WireMockContainerBuilder ( #1187 )
...
* Fix StaticMappingsPath in WireMockContainerBuilder
* .
2024-10-01 17:39:59 +02:00
Stef Heyenrath
76ae1466cc
Throw exception in case WithTransformer is used after WithBodyFromFile ( #1185 )
...
* Fix .WithBodyFromFile + .WithTransformer combination
* Ex
2024-09-29 21:29:34 +02:00
Stef Heyenrath
edbc7aeb5c
1.6.5
2024-09-28 10:26:38 +02:00
Stef Heyenrath
42306d1864
Add WireMock.Net.AspNetCore.Middleware ( #1175 )
...
* Add WireMock.Net.AspNetCore.Middleware
* .
* WireMock.Net.Middleware.Tests
* .
* X-WireMock-Response-Delay
2024-09-27 20:39:57 +02:00
Stef Heyenrath
c57590b2ba
Set <SonarQubeExclude>true</SonarQubeExclude> in test projects ( #1183 )
2024-09-27 20:06:22 +02:00
Stef Heyenrath
dca3fd0260
WireMock.Net.Testcontainers: Use 'sheyenrath/wiremock.net-alpine' image as default for Linux ( #1181 )
...
* WireMock.Net.Testcontainers: Use 'sheyenrath/wiremock.net-alpine' image as default for Linux
* ...
* .
* WithBindMount
* fix
* r
* .
2024-09-27 19:10:51 +02:00
Jason Landbridge
95994421ae
pass in the request when no matching is found to the warn logger ( #1182 )
2024-09-27 19:10:39 +02:00
Stef Heyenrath
697411555a
Update README.md (add WireMock.Net.TUnit)
2024-09-26 18:47:36 +02:00
Stef Heyenrath
f89f0fa466
1.6.4
2024-09-25 08:56:44 +02:00
Stef Heyenrath
b892e85d2a
Add WireMock.Net.TUnit project ( #1179 )
...
* Add WireMock.Net.TUnit project
* fix
* .
* fix
* bd
* 0.1.812
* dotnet test
* 0.1.817
* cat
* type
* type2
* find
* -- --diagnostic
* --no-build
* fix?
2024-09-25 08:52:40 +02:00
Stef Heyenrath
836976ca19
Upgrade CS-Script to version 4.8.17 ( #1178 )
2024-09-20 15:20:38 +02:00
Stef Heyenrath
c845f73dd0
Unpin Testcontainers version and upgrade to version 3.10.0 ( #1177 )
2024-09-20 15:20:25 +02:00
Stef Heyenrath
2cbbef01ae
Refactor some code (IBodyDataExtensions)
2024-09-20 13:52:45 +02:00
Ruxo
dd80fd7822
Attempt to fix JSON parsing of text/plain content type ( #1172 )
...
* UseContentType
* Fix unit tests
* Add a unit test and an integration test for the fix.
* Simplify body type checking with GetBodyType extension.
* Split IBodyDataExtension, and use imperative style instead of functional style
* Remove excessive null forgiving operators
* Adjust braces
---------
Co-authored-by: Ruxo Zheng <rz@just.sent.as >
2024-09-20 13:19:32 +02:00
Stef Heyenrath
527278e60c
Update the .NET Aspire tests ( #1170 )
...
* Skip unit tests when Docker is not running in Linux container mode using DockerIsRunningInLinuxContainerModeFact
* IgnoreOnContinuousIntegrationFact
2024-09-10 16:14:05 +02:00
Stef Heyenrath
7d7f1f8fbb
Allow mapping without Path or Url ( #1169 )
2024-09-09 20:48:09 +02:00
Stef Heyenrath
af124d556d
1.6.3
2024-09-07 09:36:33 +02:00
cocoon
60931f6273
Fix listen on AnyIP for url 0.0.0.0 ( #1165 )
...
* fix listen to AnyIP if url is 0.0.0.0
* Add Test for listenin on AnyIP for url 0.0.0.0
* add missing using, use var, indent, remove empty line
* remove assert for ipv4/v6 address list
* test only if NET6_0_OR_GREATER
* use same code style
* add missing +
* Asser. to Assert
* split single test into one for IPv4 and one for IPv6
* Create IgnoreOnContinuousIntegrationFact.cs
* Ignore tests if CI/CD
* change to file - scoped namespace and add GITHUB_ACTIONS
* use PortUtils.FindFreeTcpPort()
* add and use GetIPAddressesByFamily
* add using System.Net.Sockets
* use #if for both unit tests and include new helper method inside
2024-09-07 09:31:19 +02:00
Stef Heyenrath
b99a80e782
Update README.md (Fix NuGet and MyGet badges)
2024-09-06 15:11:30 +02:00
Stef Heyenrath
07c9aebf44
1.6.2
2024-09-04 18:50:59 +02:00
Stef Heyenrath
8348a7b9a3
Also update IWireMockMiddlewareOptions when settings are updated via admin interface ( #1166 )
...
* Also update IWireMockMiddlewareOptions when settings are updated via admin interface
* ci
2024-09-04 18:47:25 +02:00
Stef Heyenrath
9a49e6a1cd
Upgrade Aspire to version 8.2.0 ( #1163 )
2024-08-31 17:06:30 +02:00
Stef Heyenrath
f82891c996
Fix version from "WireMock.Net.Aspire"
2024-08-29 18:51:25 +02:00
Stef Heyenrath
da100298c1
Update MappingConverter to correctly write the Matcher as C# code ( #1152 )
...
* Update MappingConverter to correctly write the Matcher as C# code
* .
* CSharpCodeMatcher
* tests
* .
2024-08-27 19:38:07 +02:00
Stef Heyenrath
95573eeb96
1.6.1
2024-08-22 20:33:39 +02:00
Stef Heyenrath
487d6d2db1
Use default timeout for Regex ( #1160 )
2024-08-22 20:31:03 +02:00
Stef Heyenrath
d2b53893db
1.6.0
2024-08-16 13:19:07 +02:00
Stef Heyenrath
088444024f
Allow setting Content-Length header on the response ( #1158 )
...
* Allow setting Content-Length header on the response
* fix?
2024-08-16 12:14:42 +02:00
Stef Heyenrath
7e162a00ab
Fix FormUrlEncodedMatcher (MatchOperator.And) ( #1157 )
2024-08-15 11:01:37 +02:00
Stef Heyenrath
8dcf35d8ac
Use Guid.TryParseExact with format "D" ( #1148 )
2024-07-29 07:56:10 +02:00
Stef Heyenrath
4b12f3419f
Add Aspire Extension ( #1109 )
...
* WireMock.Net.Aspire
* .
* xxx
* nuget
* [CodeFactor] Apply fixes
* ut
* t
* **WireMock.Net.Aspire**
* .
* t
* .
* .
* .
* TESTS
* docker utils
* Install .NET Aspire workload
* 4
* 4!
* projects: '**/test/**/*.csproj'
* script: 'dotnet workload install aspire'
* projects: '**/test/**/*.csproj'
* coverage
* WithWatchStaticMappings
* Admin
* typo
* port
* fix
* .
* x
* ...
* wait
* readme
* x
* 2
* async
* <Version>0.0.1-preview-03</Version>
* ...
* fix aspire
* admin/pwd
* Install .NET Aspire workload
* 0.0.1-preview-04
* WaitForHealthAsync
* ...
* IsHealthyAsync
* .
* add eps
* name: 'Execute Aspire Tests'
* name: Install .NET Aspire workload
* .
* dotnet test
* remove duplicate
* .
* cc
* dotnet tool install --global coverlet.console
* -*
* merge
* /d:sonar.pullrequest.provider=github
* <Version>0.0.1-preview-05</Version>
* // Copyright © WireMock.Net
* .
---------
Co-authored-by: codefactor-io <support@codefactor.io >
2024-07-27 18:53:59 +02:00
Stef Heyenrath
69c829fae0
Update + add fluent builder methods ( #1042 )
...
* Update some fluent builder methods
* fix
* sc
* ThenRespondWith
* // Copyright © WireMock.Net
2024-07-27 16:16:11 +02:00
Stef Heyenrath
275816c414
Fix Directory.Build.props
2024-07-27 14:59:10 +02:00
Stef Heyenrath
3888b9b00e
1.5.62
2024-07-27 14:46:08 +02:00
Stef Heyenrath
3353be65b5
Add FormUrlEncodedMatcher ( #1147 )
...
* FormUrlEncodedMatcher
* .
* Fix
* new
* support wildcard
2024-07-27 14:40:23 +02:00
Stef Heyenrath
926eaaece4
1.5.61
2024-07-22 21:59:47 +02:00
Stef Heyenrath
d79f6f128d
Fix OpenApiPathsMapper ( #1122 )
...
* Fix OpenApiPathsMapper
* utc
* s
2024-07-22 21:36:45 +02:00
Stef Heyenrath
422e7c9b5e
Make properyt FromConfiguredStub nullable ( #1142 )
2024-07-22 21:35:19 +02:00
Stef Heyenrath
6055b0df1a
Fix some SonarCloud warnings ( #1138 )
...
* r
* hdr
* sc
* StyleCop.Analyzers
2024-07-22 21:24:30 +02:00
Stef Heyenrath
6ab1a6fd13
Update WireMockContainerBuilder.WithMappings for "includeSubDirectories" ( #1141 )
2024-07-22 21:24:08 +02:00
Stef Heyenrath
54edf0bebc
Add link to TIOBE Index on main page + fix issues ( #1137 )
...
* Add TIOBE + include SonarAnalyzer.CSharp
* .
* cp
* Copyright © WireMock.Net
* more fixes
* fix
* xpath
* if (Matchers == null || !Matchers.Any())
* if (Matchers != null)
* ?
* .
* .
2024-07-18 18:06:04 +02:00
dependabot[bot]
baac83c9b9
Bump System.Text.Json from 8.0.0 to 8.0.4 in /src/dotnet-WireMock.Net ( #1136 )
...
Bumps System.Text.Json from 8.0.0 to 8.0.4.
---
updated-dependencies:
- dependency-name: System.Text.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 20:28:27 +02:00
dependabot[bot]
be2698d246
Bump System.Text.Json in /examples/WireMock.Net.Console.Net472.Classic ( #1135 )
...
Bumps System.Text.Json from 4.7.2 to 8.0.4.
---
updated-dependencies:
- dependency-name: System.Text.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 08:17:00 +02:00
Stef Heyenrath
b367299643
1.5.60
2024-07-09 18:45:37 +02:00
rmeshksar
2179df7b44
Multipart Matcher Fix ( #1132 )
...
* Add unit tests for AdminApiMappingBuilder (#1131 )
* Multipart Matcher Fix
---------
Co-authored-by: Stef Heyenrath <Stef.Heyenrath@gmail.com >
2024-07-09 18:42:07 +02:00
Stef Heyenrath
8788d9ba4a
Add AdminPath to WireMockServerSettings ( #1130 )
...
* Make admin endpoint configurable
* Add AdminPath to WireMockServerSettings
* sealed
* foo
* WireMockServer_CreateClient_And_CallAdminSettingsEndpoint
2024-07-09 07:06:38 +02:00
Stef Heyenrath
d96ae9b063
Remove some files and folders ( #1134 )
2024-07-08 22:00:03 +02:00
Stef Heyenrath
ecb8e620ed
Add unit tests for AdminApiMappingBuilder ( #1133 )
2024-07-08 21:41:05 +02:00
Stef Heyenrath
780c233ef3
Add Handlebars.Net.Helpers.Xslt ( #1128 )
2024-07-03 17:32:13 +02:00
Stef Heyenrath
4d83d82b91
1.5.59
2024-06-26 19:30:08 +02:00
Eric Dugas
bf28ba79b5
Made changes to accommodate breaking change in testcontainers-dotnet v3.9. ( #1127 )
...
Ref: https://github.com/testcontainers/testcontainers-dotnet/pull/1100
2024-06-26 19:26:27 +02:00
Stef Heyenrath
90e017b79a
Use dotnet sonar scanner (part 2) ( #1125 )
...
* ddd
* ---ddd
* f
* revert
* /d:sonar.branch.name=$(Build.SourceBranchName)
* FIX
* coverlet
* coverlet - 1 line
* dotnet-coverage
* --configuration Debug --no-build --framework net8.0
* script
* /d:
* collect?
* "wiremock-coverage.xml"
* see
* tests
2024-06-20 15:35:37 +02:00
Stef Heyenrath
2602db566b
Revert Sonar to old way ( #1124 )
2024-06-19 18:21:37 +02:00
Stef Heyenrath
61937db0b3
Fix SonarCloud integration ( #1123 )
...
* Use sonarscanner global dotnet tool
* io
* jdk?
* JAVA_HOME_17_X64
* /d:sonar.pullrequest.base=master
* /d:sonar.pullrequest.branch=$(Build.SourceBranch)
* /d:sonar.pullrequest.key=$(Build.BuildNumber)
* /d:sonar.pullrequest.branch=$(Build.SourceBranchName)
* ...
* $(System.PullRequest.PullRequestId)
* ---
* PR?
* cleanup
2024-06-19 17:07:52 +02:00
Stef Heyenrath
8a60950620
Fix link to ci.yml
2024-06-18 21:54:42 +02:00
Stef Heyenrath
90747462eb
1.5.58
2024-06-08 09:49:52 +02:00
Stef Heyenrath
8b03307a94
Add some methods to the BodyModelBuilder ( #1116 )
...
* Add some methods to the BodyModelBuilder
* .
2024-06-08 09:26:21 +02:00
Stef Heyenrath
86f8877039
Fix JsonMatcher if IgnoreCase and Regex are used
2024-06-08 09:11:22 +02:00
Stef Heyenrath
4538f6cd27
1.5.57
2024-06-04 14:31:01 +02:00
Stef Heyenrath
43746631e1
Add some Extension methods to IWireMockAdminApi ( #1113 )
2024-06-04 14:28:07 +02:00
Stef Heyenrath
8eda46ffc7
1.5.56
2024-06-03 11:01:46 +02:00
Stef Heyenrath
17f5ab5145
Add "/__admin/health" endpoint ( #1112 )
2024-06-03 10:59:44 +02:00
Stef Heyenrath
f76ea1d8ec
Update Unit Test Response_ProvideResponse_Transformer_WithBodyAsFile_JsonPath
2024-05-25 09:31:39 +02:00
Stef Heyenrath
ea4ea95866
Fix Request.Create().WithBodyAsJson(...) ( #1111 )
...
* Fix Request.Create().WithBodyAsJson(...)
* [CodeFactor] Apply fixes
---------
Co-authored-by: codefactor-io <support@codefactor.io >
2024-05-25 09:09:03 +02:00
Stef Heyenrath
13f87a1364
1.5.55
2024-05-22 16:38:30 +02:00
Stef Heyenrath
dd35cea44e
When only Port is provided, bind to * ( Fixes #1100 ) ( #1107 )
...
* Fix for #1100
* tst
2024-05-22 16:33:35 +02:00
Stef Heyenrath
11b39cf57c
1.5.54
2024-05-18 09:06:24 +02:00
Stef Heyenrath
2c001f661d
Add support to bind to ip-address instead of only localhost ( #1100 )
...
* Add support to bind to ip-address instead of only localhost
* .
* .
2024-05-17 21:46:07 +02:00
Aaron Sherber
0b278dbbbb
Use try..catch to set encoding in WireMockConsoleLogger ( #1104 )
2024-05-17 20:58:08 +02:00
Stef Heyenrath
add3f662ba
Fix build for .NET Framework example projects #1103
2024-05-17 10:05:54 +02:00
Stef Heyenrath
c0c07ea127
1.5.53
2024-05-08 17:43:21 +02:00
Stef Heyenrath
e20a90b615
Fix MappingConverter to support Body with JsonMatcher ( #1101 )
...
* Fix MappingBuilder for Body
* .
* .
* Fix MappingConverter
2024-05-08 17:40:53 +02:00
Stef Heyenrath
9210957e55
Update Handlebars.Net ( #1093 )
...
* Use latest version (2.4.2) from Handlebars.Net.Helpers
* .1
2024-04-25 10:40:31 +02:00
Stef Heyenrath
c135854cbe
1.5.52
2024-04-06 18:14:40 +02:00
Stef Heyenrath
54fe0823dc
Add RegEx support to JsonMatcher ( #1091 )
...
* json matcher regex
* better test
* regression
2024-04-06 18:08:45 +02:00
Stef Heyenrath
ef9baf3472
Add example for IRequestMessage.BodyAsMimeMessage
2024-04-06 13:59:51 +02:00
Stef Heyenrath
22f9647e88
1.5.51
2024-03-20 08:26:38 +01:00
Stef Heyenrath
d5fa385a46
Fix FluentAssertions (actual body is not displayed in error message) ( #1085 )
...
* Fix FluentAssertions (actual body is not displayed in error message)
* .
* .
* raw
2024-03-20 08:24:43 +01:00
Stef Heyenrath
27a673953d
1.5.50
2024-03-12 20:31:50 +01:00
Stef Heyenrath
511540a7f1
Make WireMockAssertions extendable ( #1082 )
2024-03-12 20:27:12 +01:00
Stef Heyenrath
5b609915e1
Fix FluentAssertions on Header(s) ( #1080 )
...
* Fix FluentAssertions on Header(s)
* ...
2024-03-09 08:39:52 +01:00
Stef Heyenrath
a7b0d502c6
1.5.49
2024-03-06 13:46:51 +01:00
Stef Heyenrath
fcd67466b5
Upgrade ProtoBufJsonConverter to fix issue with dot(s) in package name ( #1078 )
2024-03-06 13:44:10 +01:00
Stef Heyenrath
ce833c1f29
Extend TypeLoader ( #1069 )
...
* Extend PluginLoader
* rename
2024-02-23 08:51:38 +01:00
Stef Heyenrath
2364866f97
Update README.md - blog
2024-02-22 10:07:00 +01:00
Stef Heyenrath
d4d588c593
1.5.48
2024-02-17 13:37:05 +01:00
Stef Heyenrath
97a749d54a
Fix some SonarCloud issues ( #1058 )
...
* Fix some SonarCloud issues
* added some xml comments
2024-02-17 13:32:28 +01:00
Stef Heyenrath
6ac95cf57d
Add Grpc ProtoBuf support (request-response) ( #1047 )
...
* ProtoBuf
* .
* x
* ---
* x
* fx
* ...
* sc
* ...
* .
* groen
* x
* fix tests
* ok!?
* fix tests
* fix tests
* !
* x
* 6
* .
* x
* ivaluematcher
* transformer
* .
* sc
* .
* mapping
* x
* tra
* com
* ...
* .
* .
* .
* AddProtoDefinition
* .
* set
* grpahj
* .
* .
* IdOrText
* ...
* async
* async2
* .
* t
* nuget
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0-preview-04" />
* http version
* tests
* .WithHttpVersion("2")
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0" />
* HttpVersionParser
2024-02-16 17:16:51 +01:00
Stef Heyenrath
801546fae7
1.5.47
2024-01-25 10:13:54 +01:00
Stef Heyenrath
57c42492bc
Pin the version from Testcontainers to 3.7.0 in WireMock.Net.Testcontainers ( #1057 )
...
* TestcontainersTests
* WireMockContainer_Build_and_StartAsync_and_StopAsync
* --
* [3.7.0]
2024-01-25 09:54:25 +01:00
dependabot[bot]
057cd6c963
Bump System.IdentityModel.Tokens.Jwt ( #1055 )
...
Bumps [System.IdentityModel.Tokens.Jwt](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet ) from 6.25.0 to 6.34.0.
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases )
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/6.25.0...6.34.0 )
---
updated-dependencies:
- dependency-name: System.IdentityModel.Tokens.Jwt
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 21:48:41 +01:00
Stef Heyenrath
b2b7172043
fix: src/WireMock.Net/WireMock.Net.csproj to reduce vulnerabilities ( #1053 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DOTNET-MICROSOFTIDENTITYMODELJSONWEBTOKENS-6148656
- https://snyk.io/vuln/SNYK-DOTNET-SYSTEMIDENTITYMODELTOKENSJWT-6148655
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-01-23 21:32:55 +01:00
Stef Heyenrath
13a3dfa9fe
Update README.md
2024-01-08 08:12:38 +01:00
Stef Heyenrath
4020a178a6
Add WithoutHeader to WireMock.FluentAssertions ( #1049 )
...
* Add WithoutHeader to WireMock.FluentAssertions
* .
* .
2023-12-27 08:18:56 +01:00
Stef Heyenrath
30ee768430
1.5.46
2023-12-23 09:44:59 +01:00
Thomas Levesque
5299ced000
Change FindRequestByMappingGuidAsync to return a collection of entries ( #1046 )
2023-12-23 09:40:35 +01:00
Stef Heyenrath
e4df6cc93d
WireMockServerSettingsParser ( #1044 )
...
* WireMockServerSettingsParser
* nameof
2023-12-22 14:36:42 +01:00
Stef Heyenrath
abf3969bee
1.5.45
2023-12-21 22:18:26 +01:00
Stef Heyenrath
a8339a0867
FindRequestByMappingGuidAsync ( #1043 )
...
* FindRequestByMappingGuidAsync
* fix
* sc
2023-12-21 20:03:22 +01:00
Stef Heyenrath
4721b73a16
Update Handlebars Transformer logic (ReplaceNodeOptions) ( #1036 )
...
* Update Handlebars Transformer logic (ReplaceNodeOptions)
* okeee
* EvaluateAndKeep = Evaluate
* fix?
* linux
* _
* tt
* xxx
* fx
* x
* fix test
2023-12-21 20:02:58 +01:00
Stef Heyenrath
c96d7d31b1
1.5.44
2023-12-14 21:08:05 +01:00
Mindaugas Laganeckas
7b8e7bb684
Implement prefix for saved mapping file ( #1040 )
...
* Implement PrefixForSavedMappingFile
* Add missing new line
* Add missing new line
* Fix warning
* Fix typo
* Change from readonly to const
* Assign default value
* Use nameof()
* Change from readonly to const
* Update tests
* Update failing test
* Rename settingsMock to settings
* Create public const
* Use const from ProxyAndRecordSettings
---------
Co-authored-by: Mindaugas Laganeckas <mindaugas.laganeckas@nexigroup.com >
2023-12-14 08:28:21 +01:00
Stef Heyenrath
68ad015dcf
1.5.43
2023-12-11 17:34:39 +01:00
sameena syed
97d26338e6
Proxy all requests - even a repeated one ( #1038 )
...
* Adding proxyall
* Adding proxyAll flag
* Reverting extra spaces added
* Make proxyall to true
* Resolving review comments for proxyall
* Resolving codefactor spaces in the code
* Adding proxyall parser in wmserversettingsparser
---------
Co-authored-by: Sameena Syed <sameena.syed@nexigroup.com >
2023-12-11 17:16:30 +01:00
Stef Heyenrath
0c6129e86b
Add ProxyUrlReplaceSettings to Response ( #1026 )
2023-12-10 09:57:37 +01:00
Stef Heyenrath
61c8ce76eb
1.5.42
2023-12-09 09:24:27 +01:00
Stef Heyenrath
8e1b6f87f0
Workaround for: Random.Generate Type="Long" ( #1034 )
...
* Workaround for: Random.Generate Type="Long"
* x
* 11
* .
* 2
2023-12-09 09:18:16 +01:00
Stef Heyenrath
c6c7ba13b4
Calling Reset also resets the scenarios ( #1031 )
...
* Calling Reset also resets the scenarios
* .
2023-12-07 16:03:37 +01:00
Stef Heyenrath
1174acce6e
ResponseWithHandlebarsDateTimeTests ( #1029 )
2023-12-06 20:20:45 +01:00
Stef Heyenrath
932dde07e4
FixMapping[] for WireMock.Org REST API ( #1023 )
2023-12-06 09:24:58 +01:00
Stef Heyenrath
c193bcf61f
1.5.41 - releasenotes
2023-12-04 18:11:55 +01:00
Stef Heyenrath
9757245c61
1.5.41
2023-12-04 18:09:03 +01:00
Stef Heyenrath
8b91cec457
Add .NET 8 ( #1018 )
...
* Add .NET 8
* 'Use .NET 8'
* tests 8
* 8
* tc8
* ci
* CI
2023-12-04 18:05:18 +01:00
Stef Heyenrath
fb3ae53e1c
GraphQL - custom scalar support ( #1012 )
...
* x
* CustomScalars
* more tests
* .
* add or set
* ...
* x
2023-12-04 18:02:03 +01:00
Stef Heyenrath
124ecc2097
Add Github Action ( #1020 )
...
* CI github action
* push
2023-11-21 08:12:54 +01:00
Stef Heyenrath
29e149a7fa
1.5.40
2023-11-07 18:03:34 +01:00
Stef Heyenrath
7160dbdd19
FluentAssertions - WithBody and WithBodyAsJson and WithBodyAsBytes ( #1014 )
...
* WithBody
* .
* fix
* .
* .
2023-11-04 16:17:23 +01:00
Stef Heyenrath
2f29d80336
Add more tests for JmesPathMatchers and StringUtils.ParseMatchOperator ( #1009 )
...
* Add more tests for JmesPathMatchers and StringUtils.ParseMatchOperator
* .
* prio
2023-10-16 17:13:52 +02:00
Stef Heyenrath
f7cd4b100e
GraphQL - add support for standard scalar types in the schema ( #1011 )
...
* GraphQL: register BuiltInTypes
* GraphQLMatcher_For_ValidSchema_And_CorrectGraphQL_Mutation_IsMatch
2023-10-16 16:13:53 +02:00
Stef Heyenrath
62fa4666b5
Add unit tests for HttpClient with WebProxy ( #1010 )
...
* Add test for SSL / Https
* Add unit tests for HttpClient with WebProxy
* cert.pem
* x
* skip
* example google
* revert
* host tests
* sonar
2023-10-14 17:55:29 +02:00
Stef Heyenrath
30372a9348
1.5.39
2023-10-09 18:30:19 +02:00
Stef Heyenrath
bc75db8c8c
Fix RequestMessageParamMatcher : RejectOnMatch ( #1006 )
2023-10-09 18:28:22 +02:00
Stef Heyenrath
6254ee3950
1.5.38
2023-10-02 19:33:32 +02:00
Carsten Alder
60bf12e2a9
Support for xml namespaces in XPathMatcher ( #1005 )
...
* Support for xml namespaces in XPathMatcher
* Review findings of Stef implemented.
* Fix of build error
* New review findings by Stef
---------
Co-authored-by: Carsten Alder <carsten.alder@schleupen.de >
2023-10-02 19:29:31 +02:00
Stef Heyenrath
a25a8cabf8
1.5.37
2023-09-27 21:43:50 +02:00
Stef Heyenrath
9f9fc85a64
JmesPathMatcherTests ( #998 )
2023-09-27 21:42:34 +02:00
Stef Heyenrath
b63076a9ac
Fix MappingModel to map IgnoreCase and RejectOnMatch for Headers, Cookies and Parameters ( #1004 )
2023-09-26 21:01:33 +02:00
Stef Heyenrath
05e2aa548b
1.5.36
2023-09-21 11:40:34 +02:00
Stef Heyenrath
b9a8ee4145
Fixed logic for SaveUnmatchedRequests ( #1002 )
...
* Fixed logic for SaveUnmatchedRequests
* fix
2023-09-21 11:38:01 +02:00
Stef Heyenrath
59aab9e1c3
Remove dependency on Microsoft.AspNet.WebApi.Client ( #996 )
...
* Using an alias for System.Net.Http.Formatting
* .
* fix
* space
2023-08-29 17:53:17 +02:00
Stef Heyenrath
93c87845c2
Write logging in case a Matcher throws an exception ( #986 )
...
* ThrowException
* ...
* .
* ...
* b
* fix test
* ...
* .
* sonar
* ft
* .
* fix tst
2023-08-21 20:07:46 +02:00
Stef Heyenrath
09a302baf2
1.5.35
2023-08-19 10:00:18 +02:00
Stef Heyenrath
f0139eb837
Update comment in JsonPathMatcher.cs
2023-08-17 17:22:05 +02:00
DayLightDancer
8adf34fb56
Update JSONPathMatcher.cs to cover the string path selection to a child ( #993 )
...
* Update JSONPathMatcher.cs to cover the string path selection to a child
The .SelectToken method accept string path selection and JSONPath queries. The current code works only for the queries because the result is JObject. When the string path is selected the result is JValue and event with a valid result the code the code doesn't return valued result.
https://www.newtonsoft.com/json/help/html/SelectToken.htm
* Added unit tests
* Addressed the comments
* Addressed the comments
* Update JSONPathMatcher.cs
2023-08-17 17:18:32 +02:00
Stef Heyenrath
fd816f0952
Add extra unit test for WithParam multiple values comma ( #992 )
2023-08-12 21:05:13 +02:00
Stef Heyenrath
205c1d598b
1.5.34
2023-08-04 10:51:51 +02:00
Stef Heyenrath
b986633eca
Fix MimeKitLite NuGet include ( #989 )
...
* Fix 500
* MimeKiteLite : fix NuGet include
* .
2023-08-04 10:44:53 +02:00
Stef Heyenrath
6aa7aac151
1.5.33
2023-08-03 16:08:50 +02:00
Stef Heyenrath
4688f556b5
Add MultiPart/MimePart Request Matcher ( #981 )
...
* wip
* .
* mm
* x
* .
* .
* .
* tests
* .
* more tests
* trans
* x
* win
* fix
* .
* tests
2023-08-03 15:55:46 +02:00
Stef Heyenrath
a58ead7b4e
Upgrade to Handlebars.Net.Helpers 2.4.0 to update XPath.SelectTokens and XPath.EvaluateToString ( #976 )
...
* Upgrade to Handlebars.Net.Helpers 2.4.0 to update XPath.SelectTokens and XPath.EvaluateToString
* fix
2023-07-20 21:49:00 +02:00
Tymur Nesterenko
58bfb3ea33
JsonPartialMatcher - match guid and string ( #972 )
...
* JsonPartialMatcher - match guid and string (#971 )
* JsonPartialMatcher - match guid and string. Add Regex with Guid test (#971 )
2023-07-19 22:34:02 +02:00
Stef Heyenrath
9c51548d2b
1.5.32
2023-07-15 09:41:05 +02:00
Stef Heyenrath
98b8ede826
Fixed JsonPathMatcher to match nested objects ( #966 )
...
* Fixed JsonPathMatcher to match nested objects
* fix
* .
* 100%
2023-07-15 09:29:13 +02:00
Stef Heyenrath
a6f3f976af
1.5.31
2023-07-08 14:57:12 +02:00
Stef Heyenrath
b495eb83b1
Add GraphQL Schema matching ( #964 )
...
* Add GrapQLMatcher
* tests
* x
* .
* .
* RequestMessageGraphQLMatcher
* .
* more tests
* tests
* ...
* ms
* .
* more tests
* GraphQL.NET !!!
* .
* executionResult
* nw
* sonarcloud
2023-07-07 21:43:46 +02:00
Stef Heyenrath
9443e4f071
1.5.30
2023-06-28 08:12:10 +02:00
dependabot[bot]
7a914481e5
Bump System.Linq.Dynamic.Core ( #963 )
...
Bumps [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core ) from 1.2.23 to 1.3.0.
- [Release notes](https://github.com/zzzprojects/System.Linq.Dynamic.Core/releases )
- [Changelog](https://github.com/zzzprojects/System.Linq.Dynamic.Core/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zzzprojects/System.Linq.Dynamic.Core/compare/v1.2.23...v1.3.0 )
---
updated-dependencies:
- dependency-name: System.Linq.Dynamic.Core
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 07:58:03 +02:00
dependabot[bot]
1ad836659d
Bump System.Linq.Dynamic.Core ( #962 )
...
Bumps [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core ) from 1.2.23 to 1.3.0.
- [Release notes](https://github.com/zzzprojects/System.Linq.Dynamic.Core/releases )
- [Changelog](https://github.com/zzzprojects/System.Linq.Dynamic.Core/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zzzprojects/System.Linq.Dynamic.Core/compare/v1.2.23...v1.3.0 )
---
updated-dependencies:
- dependency-name: System.Linq.Dynamic.Core
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 07:57:50 +02:00
Stef Heyenrath
ed7f9c1143
Add unit-test for Param - MatcherModel - LinqMatcher ( #961 )
2023-06-27 22:31:14 +02:00
Stef Heyenrath
c92183558b
Fixed logic for FluentAssertions WithHeader ( #959 )
2023-06-23 15:20:57 +02:00
Stef Heyenrath
8ce24249d0
1.5.29
2023-06-22 19:02:10 +02:00
Stef Heyenrath
7ca70309cb
Support setting WireMockServerSettings via Environment ( #954 )
...
* Support parsing environment variables (WireMockServerSettings__)
* case ignore
* fix
* SimpleSettingsParserTests
* .
* int
* more test
2023-06-22 10:35:21 +02:00
Stef Heyenrath
5d0bf6f4e1
Fix some SonarCloud issues ( #955 )
...
* Fixed some SonarCloud issues
* if (value.Contains('\n'))
2023-06-13 19:31:04 +02:00
Stef Heyenrath
f6e35cbe2d
1.5.28
2023-06-11 14:22:54 +02:00
Stef Heyenrath
dc4c8d1dba
WireMock.Net.Testcontainers ( #948 )
...
* WireMock.Net.Testcontainers
* .
* logger?
* .
* .
* WatchStaticMappings
* linux
* .
* --
* ContainerInfo
* .
* 02
* .
* fix
* .
2023-06-11 13:55:57 +02:00
Stef Heyenrath
adf1914877
Allow setting the Content-Length header for a HTTP method HEAD ( #951 )
...
* Allow setting the Content-Length header for a HTTP method HEAD
* .
2023-06-06 22:44:14 +02:00
Stef Heyenrath
1f1bc05f00
1.5.27
2023-06-03 17:00:18 +02:00
Stef Heyenrath
c107e38e3b
Fix WireMock.Net.FluentAssertions for net47
2023-06-02 12:03:12 +02:00
Stef Heyenrath
a77c4fe1ac
Add ".NET Framework 4.7" to WireMock.Net.FluentAssertions ( #949 )
2023-06-01 18:06:28 +02:00
Stef Heyenrath
c1e71707c5
Add warning logging when sending a request to a Webhook does not return status 200 ( #946 )
2023-05-28 10:53:54 +02:00
Oleg Nenashev
69499afe43
Update Slack link ( #944 )
...
Better to use https://slack.wiremock.org/ to have proper Slack signup
2023-05-26 10:01:16 +02:00
Stef Heyenrath
aadac78577
add Slack
2023-05-25 23:49:12 +02:00
Stef Heyenrath
71393204cc
1.5.26
2023-05-25 21:36:01 +02:00
Cezary Piątek
e5cc6f570c
Code generator improvements ( #940 )
...
* Fix quotation marks escaping in multiline string
* Add support for JsonPartialMatcher and JsonPartialWildcardMatcher in mapping code generator
2023-05-25 20:59:13 +02:00
Stef Heyenrath
7c3a0c815d
Add GetParameter method to IRequestMessage ( #942 )
2023-05-25 15:14:02 +02:00
Stef Heyenrath
e61f08fe48
WireMockMiddleware should use HandleRequestsSynchronously correctly ( #939 )
2023-05-19 21:43:14 +02:00
Stef Heyenrath
11f4c47851
Add more unitests for CSharpFormatter utils ( #938 )
...
* Add unit-tests for CSharpFormatter
* .
* t
2023-05-19 16:14:26 +02:00
Stef Heyenrath
3956cd703b
1.5.25 (ReleaseNotes)
2023-05-13 11:17:03 +02:00
Stef Heyenrath
27682d0ce4
1.5.25 + Fixes in CSharpFormatter
2023-05-13 11:15:40 +02:00
Cezary Piątek
8444c8c506
Code generator improvements ( #934 )
...
* Handle new line escaping in C# mapping code generator
* Prevent date conversion when value persisted as string
* Handle object properties named as csharp keywords
* Refactor: Extract logic responsible for generating anonymous object definition to a separate class
2023-05-13 09:33:25 +02:00
Stef Heyenrath
6ef116a295
1.5.24
2023-05-07 14:48:20 +02:00
Stef Heyenrath
59195eaed8
Refactor some code (MappingConverter)
2023-05-07 14:42:00 +02:00
Cezary Piątek
7d9e450814
C# code generator improvements ( #933 )
...
* Escape quotes in generated C# strings
* Handle response with JSON body in C# code generator
2023-05-07 14:37:48 +02:00
Stef Heyenrath
7019a5a78c
Add Package Readme ( #932 )
...
* Add Package Readme
* C# .NET API
* <PackageReadmeFile>PackageReadme.md</PackageReadmeFile>
2023-05-07 09:24:48 +02:00
Stef Heyenrath
d29f3e81f3
Add property 'IsStartedWithAdminInterface' to 'IWireMockServer' ( #931 )
...
* Add property 'IsStartedWithAdminInterface' to 'IWireMockServer'
* update tests
* .
2023-05-06 13:12:00 +02:00
Stef Heyenrath
ccd8026884
Update C# mapping code generator for WithStatusCode ( #930 )
2023-05-06 10:24:53 +02:00
Cezary Piątek
1214ba5108
Enrich generated code with status code ( #927 )
2023-05-06 09:40:41 +02:00
Cezary Piątek
427715a38a
Fix csharp mapping code generator ( #926 )
2023-05-02 16:48:32 +02:00
Stef Heyenrath
d949dfb64c
1.5.23
2023-04-23 12:06:38 +02:00
Stef Heyenrath
0a2763c06e
Add IgnoreCase option to ProxyUrlReplaceSettings ( #925 )
...
* Add IgnoreCase option to ProxyUrlReplaceSettings
* fix
2023-04-23 11:56:08 +02:00
nudejustin
9ef8bd0b7b
Allow removal of prefix when proxying to another server ( #630 ) ( #924 )
...
* #630 Allow removal of prefix when proxying to another server
* #630 Rename replace to replace settings and ensure properties used in place of fields
* #630 Update replace settings type name to ProxyUrlReplaceSettings
* #630 Add admin model and update settings parser to parse new values
* Fix formatting issues
* #630 Ensure json mapping between admin model and internal model takes place
* #630 Refactor parsing and structure of extracting new proxy url
* Reduce function complexity
* #630 Fix line length issues and remove try prefix from parser methods
2023-04-23 09:31:38 +02:00
Stef Heyenrath
090e0eb437
Add WithProbability ( #922 )
...
* WithProbability
* fix
* x
* ,
* .
* .
* .
2023-04-12 20:48:53 +02:00
Stef Heyenrath
f3d52adbb2
1.5.22
2023-04-08 21:37:18 +02:00
Stef Heyenrath
a8775c3b77
Include WireMockOpenApiParser project ( #916 )
...
* Fix some nullability warnings for WireMockOpenApiParser
* .
* .
* .
* opt
* FromText
* ab
* .
* private const string AdminOpenApi = "/__admin/openapi";
* fix test
* rnd
* .
* urldetails
* 0
* ,
* .
* tests
* .
* CompressionUtilsTests
* ut
* .
2023-04-08 21:25:17 +02:00
Stef Heyenrath
3e24e3452b
Add Blogs
2023-04-01 11:21:16 +02:00
Walid Haidari
95bf8e31aa
#912 add excluded params to proxy mapping ( #914 )
2023-03-24 16:35:09 +01:00
Stef Heyenrath
090989ea7f
Update comments for models ( #913 )
2023-03-24 09:20:23 +01:00
Stef Heyenrath
651486f718
Make some classes internal + chnage some files to file-scoped namespaces
2023-03-22 21:57:23 +01:00
Stef Heyenrath
9dea577da1
1.5.21
2023-03-22 16:18:19 +01:00
Stef Heyenrath
7ca4294de6
Fixed QueryStringParser for UrlEncoded values ( #911 )
2023-03-22 16:15:50 +01:00
Stef Heyenrath
66245409f9
RequestBuilder : add WithBodyAsJson and WithBody (with IJsonConverter) ( #908 )
...
* RequestBuilder : add WithBodyAsJson and WithBody (with IJsonConverter)
* tests
2023-03-22 15:47:58 +01:00
Stef Heyenrath
da6cb9fe0a
1.5.20
2023-03-19 10:23:24 +01: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
1221d52c69
Add DeserializeFormUrl Encoded to the settings ( #905 )
...
* Add DeserializeFormUrlEncoded to Settings
* EmptyArray<>.Value
* .
2023-03-19 09:19:53 +01:00
Stef Heyenrath
52d2109c7e
packagereleasenotes
2023-03-17 17:16:35 +01:00
Stef Heyenrath
30064b922b
1.5.19
2023-03-17 17:15:19 +01:00
Stef Heyenrath
78b94d2ebc
Add WithBody with IDictionary (form-urlencoded values) ( #903 )
...
* .
* x
* fx
* fix
* f
* tests
* fix tests
* add tst
2023-03-17 17:08:45 +01:00
Stef Heyenrath
19701f5260
Update Handlebars.Net.Helpers to 2.3.15 ( #904 )
2023-03-15 18:30:34 +01:00
Stef Heyenrath
1269fb178f
1.5.18
2023-03-09 19:49:29 +01:00
Stef Heyenrath
7426bf76ee
Add 'Data' to response which can be used during transforming the response ( #893 )
...
* Add 'Data' to response which can be used during transforming the response
* md
* hb
* fix
* Linq
* fix test
* v4
* 14
* .
* x
* remove
* s
2023-03-09 17:20:34 +01:00
dependabot[bot]
36c9d95abb
Bump Microsoft.Owin in /examples/WireMock.Net.Service ( #896 )
...
Bumps [Microsoft.Owin](https://github.com/aspnet/AspNetKatana ) from 2.0.2 to 4.2.2.
- [Release notes](https://github.com/aspnet/AspNetKatana/releases )
- [Commits](https://github.com/aspnet/AspNetKatana/compare/v2.0.2...v4.2.2 )
---
updated-dependencies:
- dependency-name: Microsoft.Owin
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 17:20:15 +01:00
Stef Heyenrath
674fa89c3e
ProxySettings : Add logic to not save some requests depending on HttpMethods ( #900 )
...
* Add ExcludedHttpMethods to ProxySettings
* tst
* fix
* SaveMappingSettings
* .
2023-03-09 15:28:52 +01:00
Stef Heyenrath
61cdc13fae
Add extra test for WithCallback
2023-03-01 12:10:03 +01:00
Stef Heyenrath
c344b73f45
Cleanup some code from JsonUtils.cs
2023-02-27 21:23:43 +01:00
Stef Heyenrath
2ac9ca207a
1.5.17
2023-02-25 12:53:41 +01:00
Stef Heyenrath
f099f3a288
AdminApiMappingBuilder ( #890 )
...
* AdminApiMappingBuilder
* .
* IWireMockAdminApi
* add methods
* .
2023-02-25 12:47:06 +01:00
Stef Heyenrath
02b607cc95
Slow test ( #882 )
2023-02-18 18:09:21 +01:00
Stef Heyenrath
7ac89e85b7
Add WithBodyAsJson builder method with accepts a Func ( #881 )
...
* Add WithBodyAsJson builder method with accepts a Func
* ut
2023-02-06 20:50:11 +01:00
Stef Heyenrath
cc4cf27101
1.5.16
2023-02-01 20:47:32 +01:00
Stef Heyenrath
6839b11d35
Add WithProxy(string proxyUrl, X509Certificate2 certificate) ( #880 )
2023-02-01 10:42:35 +01:00
Stef Heyenrath
1000f4409f
1.5.15
2023-01-29 10:27:53 +01:00
Stef Heyenrath
7fe2c8af78
Update REST Admin interface to support "Get Mapping(s) as C# Code" ( #878 )
...
* Add /__admin/mappings/code endpoint
* api
* fix
* .
* fix
* .
* .
* .
2023-01-29 10:24:58 +01:00
Stef Heyenrath
0fc664b404
1.5.14
2023-01-24 16:50:58 +01:00
Stef Heyenrath
770a670e53
Generate C# code from Mapping ( #842 )
...
* 1
* .
* v
* .
* .
* -
* b
* res b
* Fix UT
* .
* Verify
* v
* ...
* .
* .
* dir
* m
2023-01-24 16:45:47 +01:00
eseneckiy
b4c8779d68
Fix Self referencing loop detected for property 'Parent' with type 'System.Globalization.CultureInfo' ( #875 )
...
Co-authored-by: evgeniy.s <evgeniy.s@uklon.com.ua >
2023-01-23 20:07:06 +01:00
Stef Heyenrath
c85eaf1072
Add unit test example for Transformer Handlebars String.Append String.Join ( #877 )
...
* Response_ProvideResponse_Transformer_WithBodyAsJson_Handlebars_StringAppend
* fix
2023-01-20 08:21:59 +01:00
Stef Heyenrath
b2a8178161
Fix unsubscribe from LogEntriesChanged event handler ( #872 )
...
* Fix unsubscribe from LogEntriesChanged event handler
* .
* f
2023-01-19 14:23:38 +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
Gerhard Gradnig
742f1d1f0a
Add UseWebhooksFireAndForget to Server ConvertMapping ( #871 )
...
Co-authored-by: Gerhard.Gradnig <gerhard.gradnig@admiral.at >
2023-01-05 18:33:08 +01:00
Stef Heyenrath
d8927b88c8
Fix example projects
2022-12-24 17:00:41 +01:00
Stef Heyenrath
7ab136557a
Include="Nullable" Version="1.3.1"
2022-12-14 17:11:45 +01:00
Stef Heyenrath
3d17913f35
1.5.13
2022-12-11 21:13:36 +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
9606fee8cb
Update Transformer functionality to return value instead of string ( #858 )
2022-12-11 11:07:56 +01:00
Stef Heyenrath
6b03dfaa8c
Update WireMockServer.CreateClient/CreateClients to include handlers ( #863 )
2022-12-10 12:25:49 +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
080efe4fcb
1.5.12
2022-12-03 14:12:15 +01:00
Stef Heyenrath
53adb17e07
Update some dependencies ( #857 )
...
* fb
* .
* linq
* ,,,
* anno
* log
* rd
2022-12-03 11:45:44 +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
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 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
1e44f52ad6
1.5.10
2022-11-06 13:29:12 +01:00
Stef Heyenrath
7fd1d30d0e
Add WireMockNullLogger as valid commandline logger option ( #845 )
...
* Add WireMockNullLogger as valid commandline logger option
* .
2022-11-06 13:25:26 +01:00
Gerhard Gradnig
49b29d74dc
Webhook: Use the transformed URL to create the HttpRequestMessage ( #843 )
...
Co-authored-by: Gerhard Gradnig <gerhard.gradnig@admiral.at >
2022-11-05 10:54:39 +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 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
dependabot[bot]
a39b7fc633
Bump Microsoft.AspNetCore.Server.Kestrel.Core ( #837 )
...
Bumps [Microsoft.AspNetCore.Server.Kestrel.Core](https://github.com/aspnet/AspNetCore ) from 2.1.7 to 2.1.25.
- [Release notes](https://github.com/aspnet/AspNetCore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/aspnet/AspNetCore/compare/v2.1.7...v2.1.25 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Server.Kestrel.Core
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 07:46:01 +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
b4c32dd66b
WireMock.Net.WebApplication.NET6
2022-10-25 17:19:13 +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
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 Heyenrath
36037627bc
WebHook - Transform Url ( #824 )
...
* WebHook - Url
* .
2022-10-15 08:55:05 +02:00
Stef Heyenrath
55afc8041f
ExactMatcher : IgnoreCase ( #817 )
...
* ...
* mm
* fix some null warnings
* fx
2022-10-15 08:23:58 +02:00
Stef Heyenrath
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 Heyenrath
430c01a461
Add implicit operators to WireMockList ( #823 )
...
* Add implicit operators to WireMockList
* .
2022-10-01 10:50:18 +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
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
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
13a06b9b38
1.5.5
2022-09-03 08:57:30 +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
Rafael Moreira Fonseca
862c04e722
Add assertions for request methods ( #802 )
...
* Add assertions for request methods
* Fix assertions tests when using connect method
* Remove unnecessary clear and fix assert condition
2022-09-03 08:49:39 +02:00
dependabot[bot]
cd93422554
Bump Microsoft.Owin from 4.1.1 to 4.2.2 in /src/WireMock.Net ( #800 )
...
Bumps [Microsoft.Owin](https://github.com/aspnet/AspNetKatana ) from 4.1.1 to 4.2.2.
- [Release notes](https://github.com/aspnet/AspNetKatana/releases )
- [Commits](https://github.com/aspnet/AspNetKatana/compare/v4.1.1...v4.2.2 )
---
updated-dependencies:
- dependency-name: Microsoft.Owin
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-31 21:19:37 +02:00
Stef Heyenrath
775c4fb2e3
1.5.4
2022-08-24 08:34:20 +02:00
Stef Heyenrath
2d4f513753
Update some NuGet packages ( #781 )
2022-08-24 08:26:35 +02:00
Stef Heyenrath
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
Florian
f704de65d8
Fixes header match handling using RejectOnMatch behavior ( #797 )
...
Co-authored-by: flts <>
2022-08-23 07:52:45 +02:00
Stef Heyenrath
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 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
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 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
be4b0addca
1.5.3
2022-07-29 13:21:22 +02:00
Stef Heyenrath
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 Heyenrath
bdd421e128
JsonPartialMatcher - support Regex ( #771 )
...
* JsonPartialMatcher - support Regex
* .
* .
* more tests
* .
* .
2022-07-24 15:54:53 +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
dependabot[bot]
717179fd35
Bump Microsoft.AspNetCore.Server.Kestrel.Core ( #769 )
...
Bumps [Microsoft.AspNetCore.Server.Kestrel.Core](https://github.com/aspnet/AspNetCore ) from 2.1.3 to 2.1.7.
- [Release notes](https://github.com/aspnet/AspNetCore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/aspnet/AspNetCore/compare/2.1.3...v2.1.7 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Server.Kestrel.Core
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-08 21:52:07 +02:00
Stef Heyenrath
9b7e5908cb
1.5.1
2022-07-08 17:41:43 +02:00
Stef Heyenrath
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 Heyenrath
4d0f96eabe
Rename (WireMock.Pact.Models.V2)-Request to PactRequest and -Response to PactResponse ( #767 )
2022-07-08 10:32:12 +02:00
dependabot[bot]
ef12cb70cc
Bump Microsoft.AspNetCore.Http ( #766 )
...
Bumps [Microsoft.AspNetCore.Http](https://github.com/aspnet/AspNetCore ) from 2.1.1 to 2.1.22.
- [Release notes](https://github.com/aspnet/AspNetCore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/aspnet/AspNetCore/compare/2.1.1...v2.1.22 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Http
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-08 08:34:19 +02:00
dependabot[bot]
c212d07c53
Bump Newtonsoft.Json in /examples/WireMock.Net.Client.Net472 ( #763 )
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 6.0.1 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/6.0.1...13.0.1 )
---
updated-dependencies:
- dependency-name: Newtonsoft.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-23 11:58:49 +02:00
dependabot[bot]
b9afb126cf
Bump Newtonsoft.Json in /examples/WireMock.Net.WebApplication.NETCore2 ( #762 )
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 11.0.2 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/11.0.2...13.0.1 )
---
updated-dependencies:
- dependency-name: Newtonsoft.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-23 10:53:43 +02:00
Stef Heyenrath
8dc9c4b46c
1.5.0
2022-06-09 21:35:44 +02:00
Stef Heyenrath
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 Heyenrath
8d57f37261
Add WireMock.Net.xUnit project ( #759 )
...
* WireMock.Net.xunit
* Xunit
* c
* .
* x
2022-05-21 09:00:24 +02:00
Kenneth Siewers Møller
ca6c39c63a
Log correct exception message when handling aggregate exceptions in console logger ( #757 )
...
Co-authored-by: Kenneth Siewers Møller <ksm@templafy.com >
2022-05-19 23:20:47 +02:00
Stef Heyenrath
d7173d34a3
1.4.42
2022-05-13 22:06:33 +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
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
Snyk bot
7da264636e
[Snyk] Security upgrade Newtonsoft.Json from 11.0.2 to 13.0.1 ( #750 )
...
* fix: src/WireMock.Net/WireMock.Net.csproj to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678
* Update WireMock.Net.csproj
Co-authored-by: Stef Heyenrath <Stef.Heyenrath@gmail.com >
2022-04-25 09:12:42 +02:00
Stef Heyenrath
14a5f37bc6
Newtonsoft.Json 13.0.1
2022-04-24 19:26:23 +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
b06b3c8e8b
1.4.41
2022-04-21 18:28:49 +02:00
Stef Heyenrath
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 Heyenrath
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 Heyenrath
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 Heyenrath
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 Heyenrath
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 Heyenrath
bb3147eb8d
Remove interface for all Settings ( #736 )
2022-03-10 20:58:18 +01:00
Stef Heyenrath
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 Heyenrath
a9e8e01877
Make X509CertificatePassword optional ( #732 )
2022-03-01 19:46:33 +01:00
Stef Heyenrath
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 Heyenrath
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 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
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 Heyenrath
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 Heyenrath
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 Heyenrath
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
Levan Nozadze
6b393ebc1d
Added support of custom matchers in static mappings ( #713 )
...
* Added support of custom matchers in static mappings
* Fixed code style issues
* Fixed naming and code style
* added empty line
* Ignore serialization of CustomMatcherMappings property in WireMockServerSettings
* Added integration tests for CustomMatcherMappings
2022-01-17 16:04:37 +01: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 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
Bruno Targhetta
fd1f4968b4
Provide open api schema to dynamic examples generator so you can generate accurate data ( #706 )
...
* Provide open api schema to dynamic examples generator so you can generate accurate data using settings like max-length in case of a string
* Rename Schema Property and add a dynamic examples generator with properties from settings like max-length
* Remove blank lines
* Add virtual to all public method in WireMockOpenApiParserExampleValues and ireMockOpenApiParserDynamicExampleValues to extend and overrides examples values
2021-12-28 17:38:42 +01:00
Stef Heyenrath
eec9c486a5
1.4.30
2021-12-25 11:06:42 +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
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
Stef Heyenrath
a7d283e12b
1.4.29 (release notes)
2021-12-12 15:53:08 +01:00
Stef Heyenrath
5280970765
1.4.29
2021-12-12 15:51:56 +01:00
Stef Heyenrath
6943b90da6
RegexExtended in settings ( #700 )
...
* Add extra unittest for RegexExtended
* settings
2021-12-12 15:40:38 +01:00
Michael Brogdon
4a434b5dba
GUID Pattern support in RegexMatcher ( #699 )
...
* Add the RegexGuid class
* Use of RegexGuid in the RegexMatcher
* Fix up the CodeFactor violations
* Rename RegexGuid --> RegexExtended
2021-12-11 10:57:15 +01:00
Stef Heyenrath
3dafd2e725
update WireMockServer_Should_delay_responses_for_a_given_route
2021-12-08 21:56:26 +01:00
Stef Heyenrath
c6e4608039
1.4.28
2021-12-01 18:51:39 +01:00
Stef Heyenrath
57f89a06e1
Update WireMockOpenApiParserSettings
2021-11-29 08:40:39 +01:00
Daniel L. Romero
4d80eb53fe
Allow configure IgnoreCase in settings ( #695 )
...
* Add IgnoreCase = true in Request body, query parameters, headers, example value
* Ignorecase is configurable in settings!
* Remove unnecesary comments!
2021-11-29 08:25:15 +01:00
Daniel L. Romero
13c002fede
Filter required properti in headers, query params, request body ( #696 )
2021-11-27 09:44:24 +01:00
mcheguini
9db6e800ad
RamlToOpenAPI updated to 0.5.0 ( #694 )
...
Co-authored-by: Mazeyar <mcheguini@valley.com >
2021-11-26 20:53:16 +01:00
Stef Heyenrath
897ee9ffe3
Update the OpenApiPathsMapper to handle Value/Wildcard ( #691 )
2021-11-23 08:09:38 +01:00
Stef Heyenrath
8865543bf1
some code refactorings for WireMock.Net.OpenApiParser
2021-11-21 10:07:27 +01:00
Stef Heyenrath
48cfd2d20e
Upgrade some NuGet packages (Codecov, coverlet and NFluent) ( #689 )
2021-11-19 11:42:48 +01:00
dependabot[bot]
71d2660aff
Bump System.Text.Encodings.Web ( #688 )
...
Bumps [System.Text.Encodings.Web](https://github.com/dotnet/corefx ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
---
updated-dependencies:
- dependency-name: System.Text.Encodings.Web
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 10:49:24 +01:00
Snyk bot
7f2a42de96
fix: src/WireMock.Net/WireMock.Net.csproj to reduce vulnerabilities ( #686 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DOTNET-MICROSOFTOWIN-1019387
2021-11-19 10:37:09 +01:00
Stef Heyenrath
c333b8b263
1.4.27
2021-11-17 07:45:08 +00:00
Daniel L. Romero
32ddd48321
Support RequestBody ( #678 )
...
* Support RequestBody
* SerializeObject in the request matcher and apply JsonMatcher
* Refactor names
* Call to method TryGetContent
* Applied comments
* Changes applied!
* Comments applied V2!
2021-11-17 08:16:31 +01:00
Daniel L. Romero
260abf5275
Support enums in properties ( #681 )
...
* Support enums when a example is generated, priority is the enum
* Add null validation to Enum
* Refactor MapSchemaEnum
* Redactor merhod name
* Resolve merge conflict
* Check schema null
* Refactor GetRandom method
2021-11-16 20:38:34 +01:00
Daniel L. Romero
d3b2422ec1
Support examples in properties ( #680 )
...
* When the schema properti has an example then it uses the example
* Comments applied
2021-11-08 08:45:01 +01:00
Stef Heyenrath
823917a4ab
Simplify test 'Response_ProvideResponseAsync_Handlebars_Humanizer'
2021-11-05 08:03:57 +00:00
Stef Heyenrath
1e968106d1
1.4.26
2021-11-04 07:10:56 +00:00
Daniel L. Romero
49e10ed20f
Support basepath from servers ( #675 )
...
* Support basepath from servers
* Refactor BasePath
* Comments applied
2021-11-02 15:28:02 +01:00
Daniel L. Romero
c3ec3a66b3
Fix random generate data in url no spaces ( #676 )
...
* Fix random generate data in url no spaces
* Format class
2021-11-01 18:53:44 +01:00
Stef Heyenrath
5644491942
1.4.26
2021-10-30 09:26:33 +02:00
Stef Heyenrath
6e5e629525
"RandomDataGenerator.Net" Version="1.0.13"
2021-10-30 09:15:43 +02:00
Daniel L. Romero
77ee123340
Support examples random data generation ( #673 )
...
* Add Support Random Generation in Examples, this commit add the bool property DynamicExamples.
* Comments applied
* Remove '#pragma warning disable 1591'
2021-10-30 09:13:24 +02:00
Daniel L. Romero
ae2a05e86b
Improve method MapSchemaToObject to support array and object ( #670 )
2021-10-28 08:21:30 +02:00
Stef Heyenrath
0e06cf6346
1.4.25
2021-10-27 19:22:46 +02: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
a0e661fae9
Support Schema Example and Support AllOf in definitions ( #669 )
...
* Support an Example within a Schema
* Support AllOf in definitions
* Refactor MapSchemaAllOfToObject method and add test files
* Include schema examples
* Refactor duplicate code, create method MapPropertyAsJObject
* Remove commented code
* Merge from master + update WireMock.Net.OpenApiParser.ConsoleApp
Co-authored-by: Daniel <raiga1234@gmail.com >
2021-10-27 09:40:12 +02:00
Stef Heyenrath
25666152bb
Add JsonPartialWildcardMatcher ( #667 )
...
* JsonPartialWildcardMatcher
* .
* more tests
2021-10-27 08:16:18 +02:00
Stef Heyenrath
6f5eeb5359
Use IWireMockLogger in example
2021-10-26 18:40:34 +02:00
Stef Heyenrath
7ca2095576
Update logging (add version)
2021-10-24 10:44:39 +02:00
Daniel L. Romero
74edad517b
Support Array in OpenApi Examples ( #664 )
2021-10-21 22:12:59 +02:00
Stef Heyenrath
6c65dfcff6
1.4.24
2021-10-20 20:40:02 +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
48b3e7a305
Add more tests for WithBody (Json and String) and WildcardMatcher
2021-10-19 09:28:52 +00:00
Stef Heyenrath
6194f4e460
Update NotNullOrEmptyMatcher to also implement IStringMatcher ( #654 )
...
* Update NotNullOrEmptyMatcher to also implement IStringMatcher
* NotNullOrEmptyMatcher_GetPatterns_Should_Return_EmptyArray
* 24
2021-10-15 12:59:03 +02:00
Stef Heyenrath
57cc616aa3
Implement PatternAsFile for StringMatcher ( #651 )
2021-10-15 08:54:12 +02:00
Daniel L. Romero
a2a581c84b
Refactor method name MapHeaders and httpStatusCode ( #649 )
...
* Support edge case: first object, next an array.
* Add mapping to header parameters.
* Refactor the method MapHeadersParameters to MapHeaders
* Refactor method name 'cause is duplicate, only pass httpStatusCode when fail
2021-10-10 19:22:28 +02:00
Stef Heyenrath
e64ed45fcf
Fix build from .NET452 and .NET461 example projects
2021-10-09 18:25:18 +02:00
Daniel L. Romero
267f0b7b6d
Mapping headers in OpenAPI ( #644 )
...
* Support edge case: first object, next an array.
* Add mapping to header parameters.
* Refactor the method MapHeadersParameters to MapHeaders
2021-10-07 19:15:26 +02:00
Daniel L. Romero
34083d826e
Support edge case: first object, next an array. ( #643 )
2021-10-06 17:18:46 +02:00
Stef Heyenrath
72eec7140b
WireMock.FluentAssertions
2021-09-29 15:33:06 +00:00
Stef Heyenrath
6fa0f893e7
1.4.23
2021-09-27 21:06:05 +02:00
Stef Heyenrath
2ab075ee09
WireMock.Net.FluentAssertions : upgrade to latest FluentAssertions ( #635 )
...
* .
* #634
* fix UT
2021-09-27 21:03:54 +02:00
Stef Heyenrath
772398bea1
1.4.22
2021-09-22 11:39:36 +00:00
Stef Heyenrath
ba0b9d9fd8
Implement Random Delay ( #633 )
...
* implement random delays
* fixing CodeFactor issue
* fix code comments
* ...
* UT
Co-authored-by: Michael Yarichuk <michael.yarichuk@gmail.com >
2021-09-22 13:37:41 +02:00
Stef Heyenrath
c67bf75a4b
Update FUNDING.yml
2021-09-16 22:25:23 +02:00
Stef Heyenrath
ed74871a26
1.4.21
2021-09-16 13:06:56 +00:00
Stef Heyenrath
cb66c04199
Add WireMock.org RestClient ( #631 )
...
* wip...
* x
* .
* .
* .
* r
* 1.4.21-preview-02
* 1.4.21-preview-03
* .
* usings
* wip
* .
* ut
* .
* .
* .
* tests
* .
* comments
* readme
2021-09-16 14:35:08 +02:00
Stef Heyenrath
fd28ebdffa
update 'Solution Items' folder
2021-08-14 13:47:18 +02:00
Stef Heyenrath
ce36daa326
Create CreateRelease.yml
2021-08-14 13:45:54 +02:00
Stef Heyenrath
b5a5f5e464
1.4.20
2021-08-06 10:20:28 +00:00
Stef Heyenrath
f5d624eeed
Fix issue with FluentBuilder ( #628 )
2021-08-06 12:17:05 +02:00
Stef Heyenrath
799ea2d219
1.4.19
2021-08-04 14:38:41 +00:00
Stef Heyenrath
0f99e06acc
Add NotNullOrEmptyMatcher ( #625 )
2021-08-04 16:22:22 +02:00
Stef Heyenrath
9d0682bff6
Add FluentBuilder for client models ( #622 )
2021-08-04 15:40:35 +02:00
Stef Heyenrath
cb1d2a5294
1.4.18
2021-07-10 11:48:54 +02:00
Stef Heyenrath
4b435faf0b
Update Handlebars.Net.Helpers.XPath to fix issue with 'xml version' ( #619 )
...
Update Handlebars.Net.Helpers.XPath to fix issue with 'xml version'
2021-07-10 11:43:59 +02:00
Stef Heyenrath
5e7cb44525
Update FUNDING.yml
2021-07-07 20:07:40 +02:00
Stef Heyenrath
444298c28c
1.4.17
2021-07-07 18:31:07 +02:00
Stef Heyenrath
6f42aa99bc
Handlebars.Net.Helpers.Humanizer ( #617 )
2021-07-07 17:02:15 +02:00
Stef Heyenrath
8a9ea1b843
Update FUNDING.yml
2021-07-06 12:13:13 +02:00
Stef Heyenrath
dade24de37
Update FUNDING.yml
2021-07-06 12:12:48 +02:00
Stef Heyenrath
6beaa631f4
Update FUNDING.yml
2021-07-03 09:44:33 +02:00
Stef Heyenrath
282281aa7f
1.4.16
2021-06-05 11:00:51 +02:00
Stef Heyenrath
4052a0ef3b
Upgrade Handlebars.Net.Helpers to 2.19 ( #616 )
...
* Upgrade Handlebars.Net.Helpers to 2.19
* fix ut
2021-06-05 10:59:09 +02:00
Stef Heyenrath
2ca394b7f6
1.4.15
2021-05-19 12:01:19 +00:00
Stef Heyenrath
b04000bfdd
Add support for multiple webhooks ( #615 )
2021-05-19 13:58:48 +02:00
Stef Heyenrath
93ab4e1853
1.4.14
2021-05-11 05:45:07 +00:00
starkpl
80b5eaac6e
Add AdditionalServiceRegistration action for custom ASP.NET Core DI setup ( #611 )
2021-05-11 07:37:20 +02:00
Stef Heyenrath
a1dc2ba646
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) # Do not run for PullRequests ( #612 )
2021-05-10 22:06:42 +02:00
Stef Heyenrath
934c444902
Fix some SonarCloud issues in UnitTests ( #610 )
2021-05-07 18:23:23 +02:00
Stef Heyenrath
83d178bdb5
1.4.13
2021-04-26 14:53:15 +00:00
Stef Heyenrath
d91b5d5831
Add possibility to use settings to generate MappingModel models with wildcard path parameters. ( #609 )
...
* Add optional settings for WithMappingFromOpenApi
* .
* .
* cleanup
2021-04-26 14:44:45 +02:00
Stef Heyenrath
43b96ce340
Add OpenApiParser NuGet to readme
2021-04-23 17:51:45 +02:00
dependabot[bot]
4d8cf43357
Bump System.Text.Encodings.Web ( #607 )
...
Bumps [System.Text.Encodings.Web](https://github.com/dotnet/corefx ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 18:11:30 +02:00
Stef Heyenrath
328e9090b1
1.4.12
2021-04-22 06:46:24 +00:00
dependabot[bot]
a22b3bfbc5
Bump System.Net.Http in /examples/WireMock.Net.Service ( #606 )
...
Bumps System.Net.Http from 4.3.3 to 4.3.4.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 07:49:32 +02:00
dependabot[bot]
29974c7ad4
Bump System.Net.Http from 4.3.3 to 4.3.4 in /src/WireMock.Net ( #605 )
...
Bumps System.Net.Http from 4.3.3 to 4.3.4.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 07:48:39 +02:00
Stef Heyenrath
660a09e656
1.4.11
2021-04-18 21:32:42 +02:00
Stef Heyenrath
fbecd3b119
Fix match logic ( #604 )
2021-04-18 21:30:03 +02:00
Stef Heyenrath
b17840cea9
1.4.10
2021-04-15 19:46:41 +02:00
Stef Heyenrath
969b0da8e2
Fix callback with Headers ( #603 )
2021-04-15 19:41:45 +02:00
Stef Heyenrath
dc078b57ea
1.4.9
2021-03-31 18:23:49 +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
2ad060bbd4
1.4.8
2021-03-24 17:20:31 +00:00
Stef Heyenrath
d758301e4f
Webhook ( #591 )
...
Webhook
2021-03-24 18:15:31 +01:00
Stef Heyenrath
cee73023c7
1.4.7
2021-03-21 09:22:18 +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
Stef Heyenrath
2fb0f92a2d
Use Handlebars.Net.Helpers Version="2.1.2" ( #595 )
2021-03-19 15:17:39 +01:00
Stef Heyenrath
ddf2b49240
wip ( #594 )
2021-03-18 14:29:13 +01:00
Stef Heyenrath
3617e95db6
1.4.6
2021-02-26 12:37:54 +00:00
Stef Heyenrath
aa8510fab3
Fix WithCallback logic when using other fluent builder statements ( #587 )
2021-02-26 13:10:25 +01:00
Stef Heyenrath
e23249c144
1.4.5
2021-02-11 11:03:09 +00:00
Roman Vovk
7a8f4c3630
Fix response date header ( #585 )
2021-02-11 11:49:24 +01:00
Stef Heyenrath
ddcf2b29a3
coverlet
2021-02-09 20:43:24 +01:00
Stef Heyenrath
23709fa587
Use new Handlebars.Net.Helpers ( #581 )
2021-02-09 20:35:44 +01:00
Stef Heyenrath
3b0dc46771
Add Xamarin UI tests ( #582 )
...
* xam
* .
* .
2021-02-06 11:54:39 +01:00
Stef Heyenrath
f6ebb1c256
1.4.3
2021-02-05 18:59:25 +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
48c50e8207
update WireMock.Net.Console.NET5
2021-01-31 15:55:03 +01:00
dependabot[bot]
acee016dec
Bump log4net in /examples/WireMock.Net.Console.NETCoreApp2 ( #571 )
...
Bumps [log4net](https://github.com/apache/logging-log4net ) from 2.0.8 to 2.0.10.
- [Release notes](https://github.com/apache/logging-log4net/releases )
- [Changelog](https://github.com/apache/logging-log4net/blob/master/ReleaseInstructions.txt )
- [Commits](https://github.com/apache/logging-log4net/compare/rel/2.0.8...rel/2.0.10 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 09:16:25 +01:00
dependabot[bot]
951f8e5508
Bump log4net in /examples/WireMock.Net.Console.NETCoreApp ( #572 )
...
Bumps [log4net](https://github.com/apache/logging-log4net ) from 2.0.8 to 2.0.10.
- [Release notes](https://github.com/apache/logging-log4net/releases )
- [Changelog](https://github.com/apache/logging-log4net/blob/master/ReleaseInstructions.txt )
- [Commits](https://github.com/apache/logging-log4net/compare/rel/2.0.8...rel/2.0.10 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 09:16:12 +01:00
dependabot[bot]
1a021a7cff
Bump log4net in /examples/WireMock.Net.Console.Net461.Classic ( #573 )
...
Bumps [log4net](https://github.com/apache/logging-log4net ) from 2.0.8 to 2.0.10.
- [Release notes](https://github.com/apache/logging-log4net/releases )
- [Changelog](https://github.com/apache/logging-log4net/blob/master/ReleaseInstructions.txt )
- [Commits](https://github.com/apache/logging-log4net/compare/rel/2.0.8...rel/2.0.10 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 09:15:58 +01:00
dependabot[bot]
ced9fc58f5
Bump log4net in /examples/WireMock.Net.Console.Net452.Classic ( #574 )
...
Bumps [log4net](https://github.com/apache/logging-log4net ) from 2.0.8 to 2.0.10.
- [Release notes](https://github.com/apache/logging-log4net/releases )
- [Changelog](https://github.com/apache/logging-log4net/blob/master/ReleaseInstructions.txt )
- [Commits](https://github.com/apache/logging-log4net/compare/rel/2.0.8...rel/2.0.10 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 09:15:45 +01:00
dependabot[bot]
24ae9a7dad
Bump log4net in /examples/WireMock.Net.StandAlone.Net452 ( #575 )
...
Bumps [log4net](https://github.com/apache/logging-log4net ) from 2.0.8 to 2.0.10.
- [Release notes](https://github.com/apache/logging-log4net/releases )
- [Changelog](https://github.com/apache/logging-log4net/blob/master/ReleaseInstructions.txt )
- [Commits](https://github.com/apache/logging-log4net/compare/rel/2.0.8...rel/2.0.10 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 09:15:32 +01:00
dependabot[bot]
919b28fa36
Bump log4net in /examples/WireMock.Net.StandAlone.NETCoreApp ( #570 )
...
Bumps [log4net](https://github.com/apache/logging-log4net ) from 2.0.8 to 2.0.10.
- [Release notes](https://github.com/apache/logging-log4net/releases )
- [Changelog](https://github.com/apache/logging-log4net/blob/master/ReleaseInstructions.txt )
- [Commits](https://github.com/apache/logging-log4net/compare/rel/2.0.8...rel/2.0.10 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 09:15:17 +01:00
dependabot[bot]
5de2ea44e3
Bump log4net from 2.0.8 to 2.0.10 in /examples/WireMock.Net.Service ( #576 )
...
Bumps [log4net](https://github.com/apache/logging-log4net ) from 2.0.8 to 2.0.10.
- [Release notes](https://github.com/apache/logging-log4net/releases )
- [Changelog](https://github.com/apache/logging-log4net/blob/master/ReleaseInstructions.txt )
- [Commits](https://github.com/apache/logging-log4net/compare/rel/2.0.8...rel/2.0.10 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 09:15:02 +01:00
Stef Heyenrath
ebb9f128c5
Update Directory.Build.props
...
1.4.2
2021-01-24 19:27:02 +01:00
Stef Heyenrath
0141cc0d04
1.4.2
2021-01-24 12:36:10 +01:00
Stef Heyenrath
c41989c0f3
Do not save Mappings when SaveMappingForStatusCodePattern does not match ( #566 )
2021-01-24 12:30:59 +01:00
Stef Heyenrath
e8181e9d53
azure
2021-01-22 20:10:37 +01:00
Stef Heyenrath
e1c9b7be9b
141
2021-01-19 21:25:40 +01:00
Stef Heyenrath
c35315e610
Refactor Transformer (add Scriban) ( #562 )
2021-01-19 21:11:33 +01:00
Stef Heyenrath
73e73cebb7
1.4.0
2021-01-12 15:58:37 +00:00
Stef Heyenrath
92923a12ae
Move CSharpCodeMatcher to a new project ( #548 )
...
* matcher
* wip
* fix
* <VersionPrefix>1.4.0</VersionPrefix>
* .
* x
* ?
* netstandard2.1
* {}
* test
* Fix: Assembly with same name is already loaded
* _format file
* AssemblyFile = $"WireMock.CodeHelper.Class{Guid.NewGuid()}"
* AssemblyFile = $"WireMock.CodeHelper.Class{Guid.NewGuid().ToString().Replace("-", "")}"
* GC
* x
* remove load ex
* ret
* readme
* no GC
* GetImplementationTypeByInterface
* ``
* PluginLoader
* type
2021-01-12 16:56:03 +01:00
Stef Heyenrath
d4da8dc15d
1.3.10
2020-12-23 07:50:01 +00:00
Stef Heyenrath
f104b24f66
Update comment for SaveMappingToFile ( #553 )
2020-12-23 08:46:24 +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
fae27f9dc7
Add more tests for Proxy with Authorization ( #555 )
...
* WireMockServer_Proxy_Should_preserve_Authorization_header_in_proxied_request
* !admin
* x
* .
2020-12-16 22:14:53 +01:00
Stef Heyenrath
fa08d0e617
1.3.9
2020-12-08 08:38:53 +00:00
Stef Heyenrath
65e7dbfbd3
[Obsolete("This class will be moved to a separate NuGet package 'WireMock.Net.Matchers.CSharpCode'")] ( #551 )
2020-12-08 09:32:33 +01:00
Stef Heyenrath
35565f6aa8
WithProxy(...) also use all proxy settings ( #550 )
2020-12-08 08:21:00 +01:00
Stef Heyenrath
04d55b00a7
NuGet build use: windows-2019
2020-12-03 09:07:44 +00:00
Stef Heyenrath
63f2715db3
1.3.8
2020-12-03 08:40:13 +00:00
Stef Heyenrath
3dfee689b5
Fix Proxying with SSL and NetCoreApp3.1 ( #547 )
...
* Fix Proxying with SSL and NetCoreApp3.1
* add test
* ServicePointManager.ServerCertificateValidationCallback = (message, cert, chain, errors) => true;
* dotnet dev-certs https
* x
* .
2020-12-03 09:36:42 +01:00
Stef Heyenrath
933bd7d046
remove branch name from "SonarCloudPrepare"
2020-12-02 22:39:04 +01:00
Stef Heyenrath
fd62c52669
Update README.md
2020-11-30 16:28:41 +01:00
Stef Heyenrath
db2caadf70
Fix SonarCloud OpenCover (coverlet-coverage) ( #545 )
2020-11-30 15:48:17 +01:00
Stef Heyenrath
3e0c6cce5f
RUN_SONAR_CMD_OPENCOVER
2020-11-28 19:14:56 +01:00
Stef Heyenrath
8861b8a3f0
s
2020-11-28 19:12:06 +01:00
Stef Heyenrath
2363cc1311
Build - arguments: '--configuration Debug --framework netcoreapp3.1'
2020-11-28 18:59:00 +01:00
Stef Heyenrath
1f99834ae3
- task: DotNetCoreCLI@2
2020-11-28 18:51:50 +01:00
Stef Heyenrath
8659b352a3
VSTest@2
2020-11-28 18:48:54 +01:00
Stef Heyenrath
8f3aa12086
Codecov
2020-11-28 18:30:17 +01:00
Stef Heyenrath
9b64dbcae3
RUN_SONAR_CMD
2020-11-28 18:20:34 +01:00
Stef Heyenrath
33fd383612
projects: './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj'
2020-11-28 18:02:15 +01:00
Stef Heyenrath
01d8dc6b86
SonarCloud
2020-11-28 17:57:08 +01:00
Stef Heyenrath
6af127e9f2
RUN_TEST_NET452
2020-11-28 15:27:32 +01:00
Stef Heyenrath
a3629a4147
using var
2020-11-28 15:21:18 +01:00
Stef Heyenrath
e222a0a9c3
netcoreapp3.1 (with coverage)
2020-11-28 15:15:01 +01:00
Stef Heyenrath
00a6fec7b4
wiremock-net
2020-11-28 15:04:00 +01:00
Stef Heyenrath
47b1d1ab43
SonarCloud - WireMock-Net_WireMock.Net
2020-11-28 14:54:05 +01:00
Stef Heyenrath
e7b6e12855
SonarCloud - WireMock-Net_WireMock.Net
2020-11-28 14:51:53 +01:00
Stef Heyenrath
94e5e99207
Use JDK11 by default
2020-11-28 13:50:52 +01:00
Stef Heyenrath
37a89cbaa4
**\
2020-11-28 13:33:44 +01:00
Stef Heyenrath
323d0f9dae
coverage.netcoreapp3.1.opencover.xml
2020-11-28 13:21:17 +01:00
Stef Heyenrath
16e939746a
<TargetFrameworks>net452;netcoreapp3.1</TargetFrameworks>
2020-11-28 13:11:20 +01:00
Stef Heyenrath
85dabc7638
BUILD_SOLUTION_AS_DEBUG
2020-11-28 13:10:33 +01:00
Stef Heyenrath
f0bddf0604
SonarCloud
2020-11-28 13:00:04 +01:00
Stef Heyenrath
3829a5a7f9
Use Java 11 in Azure Pipelines (needed for SonarCloud) ( #544 )
...
* Install Java 11
* jdkSourceOption: 'PreInstalled'
* nuget
* 1.12.3
2020-11-28 12:13:56 +01:00
Stef Heyenrath
37d81aabad
.NET 5 ( #543 )
2020-11-28 11:03:55 +01:00
Stef Heyenrath
d1afba5058
Update README.md
2020-11-25 23:32:11 +01:00
Stef Heyenrath
bc19a1c6b9
changelog
2020-11-25 14:38:52 +00:00
Stef Heyenrath
45713eb0d9
Create dotnet-wiremock tool ( #542 )
...
* dotnet tool
* .
* c
* x
* ### As a dotnet tool
* help
* v
2020-11-25 15:36:01 +01:00
Stef Heyenrath
4fb455a1b1
Add more info to IWireMockServer
2020-11-24 11:15:52 +00:00
Stef Heyenrath
bde3126f81
Add wiki link
2020-11-21 09:16:34 +01:00
Stef Heyenrath
0d7de47848
1.3.7
2020-11-17 17:50:45 +00:00
Gleb Osokin
548fc2c2c8
Support for partial JSON matching ( #539 )
...
* support Json partial match with JsonPartialMatcher
* fix erroneous filenames
* add newline
* newlines fix
* add JsonPartialMatcher to mapper
* curly braces for ifs
* fix JToken type comparison
* more test cases
* rename AreEqual -> IsMatch + more test cases
* separate tests for JPath matcher values
Co-authored-by: Gleb Osokin <gleb.osokin@avira.com >
2020-11-17 17:18:58 +01:00
Stef Heyenrath
2d95167866
1.3.6
2020-11-10 15:58:08 +00:00
Stef Heyenrath
b14bc01bf2
ProxyThisHttps ( #538 )
2020-11-10 16:42:17 +01:00
Mahmoud Ali
c104b8beba
Add assertions for ClientIP, Url and ProxyUrl ( #529 )
...
* Add assertions for ClientIP Url and ProxyUrl
* Requested changes
2020-11-10 16:41:44 +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
Stef Heyenrath
e107b5cfca
<VersionPrefix>1.3.5</VersionPrefix>
2020-11-04 17:44:51 +01:00
Stef Heyenrath
5d3cbdbfc6
1.3.5
2020-11-04 16:43:03 +00:00
Stef Heyenrath
b8cbeb55b9
WithCallback-Async ( #531 )
2020-11-04 17:32:32 +01:00
Stef Heyenrath
5b083d753e
Fix dotnet-sonarscanner ( #530 )
2020-11-02 19:37:46 +01:00
Stef Heyenrath
99dbb3f9b6
1.3.4
2020-10-17 08:50:41 +02:00
Stef Heyenrath
6b3bbd8540
Handlebars.Net.Helpers Version="1.1.0" ( #525 )
2020-10-17 08:47:11 +02:00
Stef Heyenrath
c465ecdd40
ContinuousIntegrationBuild ( #522 )
2020-10-16 12:40:55 +02:00
Stef Heyenrath
1750d4e1ad
1.3.3
2020-10-15 14:18:59 +00: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
Stef Heyenrath
c880dcfc31
1.3.2
2020-10-14 20:40:52 +02:00
Stef Heyenrath
c02dbeb5ee
Fix reading JsonMatcher-mapping with object as pattern ( #505 )
...
* Fix reading mapping with object pattern for JsonMatcher
* .
* .
2020-10-14 20:21:51 +02:00
Crossbow78
477f3b5cd3
Apply ILogger, IOptions, IHostedService patterns to .NET Core 3.1 example ( #514 )
2020-10-06 12:24:45 +02:00
Stef Heyenrath
b303f7cf89
add example static .json
2020-10-05 14:29:21 +00:00
Stef Heyenrath
0964eb2c2d
WireMock.Net.WebApplication.NETCore3
2020-10-01 12:32:51 +00:00
Stef Heyenrath
5f8bdff936
1.3.1
2020-09-30 18:18:33 +02:00
Anthony Iacono
942fc3a385
Adding netcoreapp3.1 as a target framework ( #509 )
...
* Adding netcoreapp3.0 and netcoreapp3.1 as a target framework
* Expanding NETSTANDARD check to include ASP.NET Core targets
* End of life netcoreapp3.0 changes and using NETCOREAPP3_1 instead of USE_ASPNETCORE where possible
2020-09-30 18:11:32 +02:00
Stef Heyenrath
2f5298b0a2
1.3.0
2020-09-29 12:21:14 +00:00
Stef Heyenrath
55cf0f0416
Fix vulnerability in NuGet dependencies ( #508 )
...
* .
* .
* test
* Microsoft.AspNetCore.Server.IIS
2020-09-29 14:16:01 +02:00
Stef Heyenrath
76f0ac6465
WireMock (java version)
2020-09-28 17:11:15 +02:00
Stef Heyenrath
7abf56eafa
Fix Sonarqube issues
2020-08-13 14:14:04 +02:00
Stef Heyenrath
9665729e58
1.2.18
2020-08-13 09:02:51 +02:00
Stef Heyenrath
06be3aff95
Add ThrowExceptionWhenMatcherFails option to all Matchers ( #500 )
...
* .
* ut
* IMatcher.ThrowException
* settings
* more tests
* linq matcher throw
* .
* .
2020-08-13 08:58:18 +02:00
Stef Heyenrath
0d102f3af4
Fix MyGet badges
2020-08-09 16:28:20 +02:00
Stef Heyenrath
b55435ddac
HandleRequestsSynchronously ( #496 )
2020-08-07 08:08:54 +02:00
Stef Heyenrath
c4ee91c614
1.2.17
2020-08-01 18:42:50 +02:00
Stef Heyenrath
4d0373d4ca
Scenario : stay on current state for a number of times ( #495 )
...
* state
* xml comment
2020-08-01 18:40:35 +02:00
Stef Heyenrath
6c27820659
1.2.16
2020-07-27 19:26:03 +02:00
Stef Heyenrath
9a532108b8
Mark BlacklistedHeaders and BlacklistedCookies as obsolete ( #492 )
...
* #489
* .
* FluentMockServerSettings
2020-07-27 17:24:24 +02:00
Stef Heyenrath
9491280fd2
1.2.15
2020-07-19 10:11:12 +02:00
Mahmoud Ali
da62a43875
Add fluent assertions for headers ( #485 )
...
* Add headers assertions
* Update FluentAssertions tests with suggested changes
2020-07-19 10:09:07 +02:00
Stef Heyenrath
197f96e303
.
2020-07-13 20:18:26 +02:00
Stef Heyenrath
26997af2d1
1.2.14
2020-07-09 21:53:50 +02:00
Stef Heyenrath
d9c5faa966
NuGet " --skip-duplicate"
2020-07-09 21:50:13 +02:00
Stef Heyenrath
1c88f5d97d
fix ( #487 )
2020-07-09 21:37:39 +02:00
Mahmoud Ali
28865bd053
Bring WireMock.Net.FluentAssertions tests ( #483 )
2020-07-05 10:52:17 +02:00
Stef Heyenrath
aff936e3b6
Refactor: extract interfaces ( #484 )
...
* .
* MatchDetail
* rm
* resp
* log
* f
2020-07-05 10:51:49 +02:00
Stef Heyenrath
9ae02823df
Create FUNDING.yml
2020-07-05 10:49:58 +02:00
Stef Heyenrath
bec7de4284
WireMock.Net.FluentAssertions
2020-07-04 09:52:48 +00:00
Stef Heyenrath
c484b48c35
Add PartialMatch to logging / logentries ( #482 )
...
* .
* FluentAssertions
* .
* .
2020-07-04 11:39:50 +02:00
Stef Heyenrath
d8c708e97c
WireMock.Net.OpenApiParser : version
2020-07-01 07:59:36 +00:00
Stef Heyenrath
e2fbfda3f0
An OpenApi (swagger) parser to generate MappingModel or mapping.json file ( #479 )
...
* wip
* .
* .
* nuget
* .
* .
* WithMappingModel
* tests
* json
* codefactor
* sign
* .
* interface
* sln
* comments
2020-07-01 09:57:52 +02:00
Stef Heyenrath
769ddc1fd3
Update issue templates
2020-06-04 14:06:25 +02:00
Stef Heyenrath
4c68a98bf8
{{Math.Add request.query.start.[0] 42}}
2020-06-02 23:38:09 +02:00
Stef Heyenrath
de9fe75d9d
update example - {{Math.Add 1 2}}
2020-06-02 23:29:27 +02:00
Stef Heyenrath
da9d624bf1
1.2.13
2020-05-24 22:03:37 +02:00
Stef Heyenrath
432fb54aba
Limits.KeepAliveTimeout & Limits.RequestHeadersTimeout ( #475 )
2020-05-24 22:01:51 +02:00
Stef Heyenrath
c94113308d
1.2.12
2020-05-23 17:33:32 +02:00
Stef Heyenrath
1b1ddeab83
Fixed Proxy when using MultipartForm with byte[] ( #473 )
...
* wip
* ByteArrayContentHelper
* ByteArrayContentHelperTests
2020-05-23 16:48:25 +02:00
Stef Heyenrath
d9e3f38fee
Create new .sln ( #472 )
...
* new sln
* .
2020-05-22 13:35:40 +02:00
Stef Heyenrath
c42c2d5d7a
1.2.11.0
2020-05-18 18:30:47 +02:00
Stef Heyenrath
d67a160144
Fix unhandled exception when target is unavailable ( #469 )
...
* wip
* fix
* 31
* known
2020-05-18 15:07:30 +02:00
Stef Heyenrath
7033d85e3a
1.2.10
2020-05-17 20:01:30 +02:00
Stef Heyenrath
7d873611ee
Limits ( #457 )
2020-05-17 19:55:36 +02:00
Stef Heyenrath
f26bf62a13
Include Handlebars.Net.Helpers project ( #456 )
...
* wip
* h 100
* rename
* csproj
2020-05-17 19:55:06 +02:00
Stef Heyenrath
6938b6f73c
1.2.9.0
2020-05-14 06:25:36 +00:00
Stef Heyenrath
5b2cd061a6
Fix method ResetMappingsAsync in the RestEase-AdminApi ( #465 )
2020-05-14 08:00:44 +02:00
Stef Heyenrath
80993c7740
1.2.8.0
2020-05-04 17:36:28 +02:00
Sean Fausett
d4d0f8becd
Fix SourceLink support ( #463 )
2020-05-04 17:33:41 +02:00
Stef Heyenrath
cd613d1c76
1.2.7.0
2020-04-30 17:52:48 +02:00
Stef Heyenrath
5f4c688e49
fix ( #461 )
2020-04-29 18:01:54 +02:00
Stef Heyenrath
e7949a47d9
1.2.6.0
2020-04-29 07:05:21 +00:00
Stef Heyenrath
a6cf7a48dc
When using ResponseMessageTransformer : keep BodyEncoding ( #460 )
2020-04-29 08:40:49 +02:00
Stef Heyenrath
bf5afef7a1
1.2.5.0
2020-04-17 10:22:40 +00:00
Stef Heyenrath
a8934ec7f9
fix net452 ( #454 )
2020-04-17 12:18:45 +02:00
Stef Heyenrath
d2ac56e49a
1.2.4.0
2020-04-10 22:54:19 +02:00
Stef Heyenrath
e8a4d52797
Add ValidatedNotNullAttribute (for SonarQube) ( #452 )
...
* ValidatedNotNull
* usings
2020-04-10 22:51:34 +02:00
Stef Heyenrath
dac73b6fe0
codecov\1.10.0 ( #451 )
2020-04-10 20:28:07 +02:00
Stef Heyenrath
e91be0a4d1
Add support for GZip and Deflate ( #439 )
...
* gzip - wip
* wip
* tests
* fix gzip and deflate
* CheckIfShouldKillVBCSCompiler
* DisableRequestBodyDecompressing
2020-04-10 19:05:09 +02:00
Stef Heyenrath
a9974a4874
Add readme.md + license from mock4net ( #444 )
...
* add readme.md + license from mock4net
* common
* add license info
2020-04-05 18:42:22 +02:00
Stef Heyenrath
1ddd8ff58f
Merge branch 'master' of https://github.com/WireMock-Net/WireMock.Net
2020-04-01 22:45:46 +02:00
Stef Heyenrath
5174f9823c
1.2.3.0
2020-04-01 22:45:36 +02:00
Stef Heyenrath
79da7d042b
Netstandard21 ( #449 )
...
* Add NetStandard2.1
* 21
* CS-Script.Core
* csscript
* ex
2020-04-01 17:10:45 +02:00
Stef Heyenrath
e041e78bc7
1.2.2.0
2020-03-25 17:05:01 +00:00
Stef Heyenrath
5809fae602
fix port ( #446 )
2020-03-25 17:00:15 +01:00
Stef Heyenrath
8a295e806c
post_with_query ; 4 params
2020-03-23 07:56:32 +00:00
Stef Heyenrath
d5d9d4bd1b
WireMock.Net.Console.NETCoreApp3
2020-03-22 14:02:51 +01:00
Stef Heyenrath
5f274f1179
example: post_with_query
2020-03-22 12:04:26 +01:00
Stef Heyenrath
8c1cd41df9
1.2.1.0
2020-03-17 22:15:39 +01:00
Stef Heyenrath
fe4ad50119
Fix Null body in handlebar transformation ( #442 )
2020-03-17 13:52:43 +01:00
Stef Heyenrath
bde981b522
.net 472 example ( #440 )
...
ok
2020-03-15 11:17:36 +01:00
Stef Heyenrath
a1d2deb6a9
1.2.0.0
2020-03-14 11:11:32 +01:00
Stef Heyenrath
10dbff2c02
AllowOnlyDefinedHttpStatusCodeInResponse ( #422 )
2020-03-14 09:13:14 +01:00
Stef Heyenrath
68ffcda53b
Let the .NET core/standard WebHostBuilder use a random port ( #417 )
...
* wip
* code reformat
2020-03-14 08:51:26 +01:00
Stef Heyenrath
aeb95b02d2
1.1.10
2020-03-05 18:23:16 +01:00
Stef Heyenrath
2dbb984a1e
wip ( #435 )
2020-03-05 18:20:49 +01:00
Stef Heyenrath
88dd1b9aa4
Option to disable JSON deserialization ( #434 )
...
* Option to disable JSON deserialization
* Fix build errors, add test case
* make new parameter optional
* set default for contentType as well
2020-03-05 17:59:24 +01:00
Stef Heyenrath
87c4344d65
UsingOptions, UsingConnect and UsingTrace ( #427 )
2020-03-05 17:56:24 +01:00
Stef Heyenrath
2851c820e0
1.1.9
2020-02-25 22:22:01 +01:00
Stef Heyenrath
13ab37dd3e
LinqMatcher ( #431 )
2020-02-25 22:17:15 +01:00
Stef Heyenrath
f49046374a
1.1.8.0
2020-02-22 11:14:11 +01:00
Stef Heyenrath
69488ced5f
fixes for Cookie and Header Reject on Match ( #423 )
2020-02-22 11:07:45 +01:00
Stef Heyenrath
e6bcd625f7
Don't return empty dictionary object for response headers in JSON mapping ( #424 )
2020-02-22 11:07:04 +01:00
Stef Heyenrath
d1b42bf436
wip ( #421 )
2020-02-15 08:30:08 +01:00
Stef Heyenrath
f4861d9bab
/needs-a-key
2020-02-14 16:34:52 +01:00
Noah Lerner
4c01ef4838
Support multi line wild card matching ( #419 )
2020-02-13 20:05:56 +01:00
Stef Heyenrath
83866f5719
Example: RejectOnMatch
2020-02-11 08:55:06 +01:00
Stef Heyenrath
f72c3c33ef
1.1.7
2020-02-06 18:44:52 +01:00
Noah Lerner
32248b6585
Fix new Delete with body missing from IWireMockAdminApi interface ( #413 )
...
* Fix new Delete with body missing from IWireMockAdminApi interface
* Admin Delete with mappings in body (#409 )
* Add unit test for delete with body
* change order of checks for readability. looks nicer.
* Allow body in DELETE requests
* Fix unit tests according to DELETE supporting body
* Re-run CI
* Fix DELETE with body unit test
* Fix ElementAt index in mappings list
* Fix DELETE with body unit test
* Fix theory tag must be accompanied by some InlineData or Member
* Fix didn't use correct checking syntax
* Fix wrap entire unit test in if region
2020-02-05 19:11:44 +01:00
Stef Heyenrath
1df4502631
fix ( #414 )
2020-02-05 19:09:57 +01:00
Noah Lerner
5e76a82a21
Improved relative path checking based on file existence ( #411 )
...
* Improved relative path checking based on file existence
If the file exists at the relative path, then use it. If not, then use the path as is.
* Apply File.Exists logic to ReadResponseBodyAsString as well
* Make path handling more robust since path is user defined
* Unit tests for relative path feature
* Replace all back and forward slashes with system dependent DirectorySeparatorChar
* Attempt fix broken directory separator chars for Unix platforms
* Revert wrapping GetMappingFolder with CleanPath
* Move CleanPath logic to its own class
* Remove whitespace
* Remove more whitespace
* Improve CleanPath method
* Move PathUtils tests to separate class
Add another test to ResponseWithBodyFromFileTests
* Fix Response_ProvideResponse_WithBodyFromFile_InAdminMappingFolder
* Debug Linux CI build
* Debug Linux CI
* print all files from admin mappings folder
* Debug CleanPath
* Fix removed leading directory separator char in Linux breaks file path
Remove debugging statements
* Move combine to PathUtils
* PathUtils + PathUtilsTests
* Remove replicated (3x) tests throughout ResponseWithBodyFromFileTests
Co-authored-by: Stef Heyenrath <Stef.Heyenrath@gmail.com >
2020-02-02 13:49:34 +01:00
Stef Heyenrath
06ae9d72c3
1.1.6.0
2020-01-27 18:51:31 +01:00
Stef Heyenrath
307a89d324
AllowAnyHttpStatusCodeInResponse ( #407 )
...
* .
* ,
* PUBLISH_TESTRESULTS
* fix logging
* fix compile error
* codefactor fix
* Debug - Sonar + other things in csproj
2020-01-27 18:47:58 +01:00
Stef Heyenrath
6ae7fc1d75
<VersionPrefix>1.1.5</VersionPrefix>
2020-01-25 18:06:51 +01:00
Stef Heyenrath
29e86abe12
1.1.5.0
2020-01-25 17:58:44 +01:00
Stef Heyenrath
710fc8dcf6
Fixed StatusCode = null or < 0 ( #406 )
...
* .
* fix tests
* responseModel.StatusCode is int statusCodeAsInt && statusCodeAsInt > 0
* < 0
2020-01-25 17:51:38 +01:00
Stef Heyenrath
dfbfa5fd35
1.1.4.0
2020-01-25 15:28:43 +01:00
Stef Heyenrath
69bbd76ca4
Log Exception ( #405 )
2020-01-25 15:25:47 +01:00
Stef Heyenrath
bd0c5a83c9
WireMock.Net.Service
2020-01-25 13:54:09 +01:00
Stef Heyenrath
a08efe2f78
steps:
2020-01-25 12:39:36 +01:00
Stef Heyenrath
6e151098e5
azure-pipelines
2020-01-25 12:29:13 +01:00
Stef Heyenrath
43d481435c
1.1.3
2020-01-22 16:40:10 +01:00
Kashif Jamal Soofi
ea1be6641a
Fix for invalid cast exception ( #403 )
2020-01-22 14:27:44 +01:00
Stef Heyenrath
93613885c1
1.1.2.0
2020-01-09 20:18:07 +01:00
Vitaliy Davydiak
caee5895eb
ResponseModel.StatusCode is deserialized as either string or long. ( #399 )
2020-01-09 20:15:15 +01:00
Stef Heyenrath
101d755a00
1.1.1.0
2020-01-09 18:04:41 +01:00
Kashif Jamal Soofi
368fdd4c7d
Feature/xpath transformer ( #398 )
...
* XPath transformer, added handlerbars helper to select nodes using xpath and setting the outerxml value in response
* Added test to select attribute value and node text
* Removed extra empty lines
2020-01-09 17:51:44 +01:00
Stef Heyenrath
3f802c3948
1.1.0.0
2019-12-27 16:13:36 +01:00
Stef Heyenrath
d971144426
WireMock.Net version 1.1.x ( #363 )
...
* refactor
* rename api
* -preview-01
* logger
* move
* RandomDataGenerator.Net
* .
* ISettings
* renames...
* refactor CommandlineParser logic
* remove standalone
* Remove Interfaces
* Update tests
* WireMock.Net.StandAlone
* .
* fix
* .
* _settings
* Admin
* WireMock.Net.Abstractions
* fix build
* rename WireMockServer
* fix compile errors
2019-12-27 16:01:13 +01:00
Stef Heyenrath
368f0e13ac
1.0.43.0
2019-12-26 14:02:19 +01:00
Stef Heyenrath
120a808104
StatusCode as string ( #385 )
...
* StatusCode as string
* fix tests
* fix test
* ReplaceSingleNode
* <!--<DelaySign>true</DelaySign>-->
* Array
* add test
* Response_ProvideResponse_Handlebars_WithBodyAsJson_ResultAsHandlebarsString
* net461
* .
* fix
* target frame
* BodyAsJson
* Response_ProvideResponse_WithStatusCode
* fix build
* fix test
2019-12-26 13:57:35 +01:00
Stef Heyenrath
b5795713b1
1.0.42.0
2019-12-15 12:19:41 +01:00
Stef Heyenrath
a8c17ce311
#383 ( #391 )
2019-12-14 21:37:04 +01:00
Stef Heyenrath
7678e8fb70
1.0.41.0
2019-12-14 12:19:55 +01:00
Stef Heyenrath
8ae0abb023
. ( #392 )
2019-12-13 13:21:50 +01:00
Stef Heyenrath
b3c2af0c22
1.0.40.0 (changelog)
2019-12-09 17:32:47 +01:00
Stef Heyenrath
2dd30b4f14
1.0.40
2019-12-09 17:31:50 +01:00
Stef Heyenrath
45d8c0cc27
Fix QueryStringParser ( #389 )
...
* Fix QueryStringParser
* add extra test
2019-12-09 17:20:17 +01:00
Stef Heyenrath
178f2cf02f
1.0.39.0
2019-12-07 08:58:24 +01:00
Stef Heyenrath
1b326a54d6
Add WebProxySettings (use when proxying requests) ( #370 )
...
* webproxy part 1
* fixed
* Push to MyGet
* WebProxy standalone
* -n true
* nuget --- "-n true"
* AllowAutoRedirect
* .
2019-12-07 08:52:04 +01:00
Stef Heyenrath
8bafd6a1ba
Transform body as file ( #388 )
...
* .
* fix
2019-12-06 06:52:08 +01:00
Stef Heyenrath
a47750c058
1.0.38
2019-11-30 08:54:10 +01:00
Stef Heyenrath
5bb10c3350
Use dotnet default development certificate for .NET Core 2.x ( #381 )
2019-11-29 14:51:03 +01:00
Stef Heyenrath
3a221f51b1
set handlebars dependency for .net 4.5.1 to fixed value ( #378 )
2019-11-25 18:56:01 +01:00
Noah Lerner
0ff23a3d15
Support int values for states and scenario naming ( #376 )
...
* Support int values for states and scenario naming
* fix remove added dependency
2019-11-21 12:01:20 +01:00
Stef Heyenrath
9b323ab388
example
2019-11-19 18:54:28 +01:00
Stef Heyenrath
9b3c750754
-n true
2019-11-08 17:39:46 +01:00
Stef Heyenrath
a5d6061c2d
1.0.37.0
2019-11-08 17:26:08 +01:00
Stef Heyenrath
395be3c583
WatchStaticMappingsInSubdirectories ( #374 )
...
* WatchStaticMappingsInSubdirectories
* 37
* IEnumerable<string> EnumerateFiles([NotNull] string path, bool includeSubdirectories);
* reloadStaticMappings
2019-11-07 15:31:43 +01:00
Stef Heyenrath
ea6a8d3b73
Push to MyGet
2019-10-31 20:43:12 +01:00
Stef Heyenrath
4886ac6196
Push to MyGet
2019-10-31 20:34:23 +01:00
Stef Heyenrath
0ca63eef66
RUN_SONAR ( #373 )
2019-10-31 07:15:23 +00:00
Stef Heyenrath
c72487a748
Add images
2019-10-31 07:23:41 +01:00
Stef Heyenrath
79db955611
SaveMappingForStatusCodePattern
2019-10-29 19:02:59 +01:00
Stef Heyenrath
395f48a2bf
1.0.36.0
2019-10-26 08:04:40 +02:00
Stef Heyenrath
596177d4e5
Add support for Faults ( #360 )
...
* FaultType - wip
* .
* copy fault
* tests
* code-factor
* more tests
* fix tests
* fixed
* remove RANDOM_DATA_THEN_CLOSE
2019-10-26 06:01:25 +00:00
Stef Heyenrath
fc024678fa
Doesn't push symbols (even if present).
2019-10-25 17:56:21 +02:00
Stef Heyenrath
2e78a04f3d
1.0.35.0
2019-10-25 17:31:30 +02:00
Stef Heyenrath
f3d2452093
remove Obsolete ( #368 )
2019-10-25 08:40:40 +00:00
Stef Heyenrath
92e693818a
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2019-10-22 21:24:22 +02:00
Stef Heyenrath
9a1ae6a3f0
Do not build symbol NuGets anymore. ( #367 )
2019-10-22 19:19:53 +00:00
Stef Heyenrath
e701566a1f
1.0.34.0
2019-10-22 21:09:48 +02:00
Stef Heyenrath
84ad5a927e
2.x.x ( #366 )
2019-10-22 18:58:36 +00:00
Stef Heyenrath
3250604b5a
#352 ( #354 )
2019-10-22 18:53:30 +00:00
dependabot[bot]
9d2963632e
Bump Microsoft.AspNetCore.All in /examples/WireMock.Net.WebApplication ( #365 )
...
Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe ) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/aspnet/Universe/releases )
- [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md )
- [Commits](https://github.com/aspnet/Universe/compare/2.0.8...2.0.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-10-22 09:32:37 +00:00
Stef Heyenrath
9e0536c54c
1.0.33.0 - changelog
2019-10-12 08:58:55 +02:00
Stef Heyenrath
676e973011
1.0.33
2019-10-12 08:56:29 +02:00
Stef Heyenrath
31f3d77b38
Mark some classes and methods obsolete for version 1.1.0 ( #335 )
...
* Obsolete
* StandAloneApp - obsolete
* obs
* make Interface obsolete
2019-10-12 08:54:01 +02:00
Stef Heyenrath
4a2d512f83
Add Proxy Setting for: SaveMappingForStatusCodePattern to only save the mapping when the status code matches the pattern ( #357 )
...
* proxy
* HttpStatusRangeParserTests
* test
2019-10-10 08:18:58 +02:00
Stef Heyenrath
87534c35f5
fix jsonpath matcher ( #311 )
2019-10-09 13:08:02 +02:00
Stef Heyenrath
7789f94737
Fix JsonMatcher (parsing DateTimeOffset) ( #358 )
...
* .
* JObject Parse
* JsonUtils.Parse
* fix code comments
2019-10-09 11:16:39 +02:00
Stef Heyenrath
b2167f85ae
public event NotifyCollectionChangedEventHandler LogEntriesChanged ( #355 )
2019-10-08 09:50:59 +02:00
Stef Heyenrath
3cc361e216
Fixed failing admin requests when content type includes a charset (based on idea from Paul Roub) ( #353 )
...
* .
* #350
* fix
* .
2019-10-05 17:20:10 +02:00
Stef Heyenrath
0a9214ef47
Add CSharpCodeMatcher ( #324 )
...
* wip
* fix
* .
* windows-2019
* <Target Name="CheckIfShouldKillVBCSCompiler" />
* <!--https://github.com/aspnet/RoslynCodeDomProvider/issues/51-- >
* AllowCSharpCodeMatcher
* CSharpCodeMatcher : IObjectMatcher
* TemplateForIsMatchWithDynamic
* RequestMessageBodyMatcher_GetMatchingScore_BodyAsJson_CSharpCodeMatcher
* fix
* }
* Better Exception Handling
2019-09-28 17:55:07 +02:00
Stef Heyenrath
4afef3695b
test utils
2019-09-28 10:55:24 +02:00
Stef Heyenrath
782b082949
Prerelease: ''
2019-09-21 11:34:00 +02:00
Stef Heyenrath
36325fe2c7
source
2019-09-21 11:27:49 +02:00
Stef Heyenrath
01171b9592
Fix Push to NuGet
2019-09-21 11:15:46 +02:00
Stef Heyenrath
d6f44b2202
Add NuGet push
2019-09-21 10:58:12 +02:00
Stef Heyenrath
a2b22d8b0c
1.0.32.0
2019-09-20 19:09:47 +02:00
Stef Heyenrath
666992ef24
When posting new mapping, use DateParseHandling.None ( #348 )
...
* .
* OfType + test
* remove line
2019-09-20 13:44:19 +02:00
Stef Heyenrath
9cd16f726f
1.0.31.0
2019-09-19 18:03:15 +02:00
Vitaliy Davydiak
feea64b328
Fix recorded requests skipped by request logger ( #346 )
...
* Fix recorded requests skipped request logger.
- When proxy is enabled the recorded requests are mistaken (IMO) for admin requests and skipped
* Add unit test
* Use different solution
* Introduce IsRecordedByProxy property on Mapping class
* Cleanup empty lines
* Refactored fix suggested way
2019-09-17 18:15:23 +02:00
Stef Heyenrath
e1798fbb8e
. ( #339 )
2019-09-17 18:13:01 +02:00
Stef Heyenrath
5b8b588983
Fix CompareTo in RequestMatchResult ( #345 )
...
* Fix CompareTo in RequestMatchResult
#344
* fix test
2019-09-17 14:50:43 +02:00
andi0b
2f406029c9
Fix issues with Proxy mode and Binary Request Bodies ( #334 )
...
* Add Test for Proxy with binary request
* Fix binary parsing in BodyParser
* Fix binary Matching in RequestMessageBodyMatcher
* Improved Binary Matching in RequestMessageBodyMatcher
* BodyParser: Add test for Content Autodetection
* RequestMessageBodyMatcherTests: Make Code more pretty :)
* BodyParserChanges: Revert white space changes
* Fixed test for different behavior in request matching
2019-09-01 15:44:07 +00:00
Stef Heyenrath
8c9a51c46d
release notes
2019-09-01 09:52:38 +02:00
Stef Heyenrath
ebe3275079
1.0.30.0
2019-08-31 21:13:38 +02:00
Stef Heyenrath
c0a43ed204
remove MimeKitLite and use MediaTypeHeaderValue ( #338 )
2019-08-31 19:01:44 +00:00
Stef Heyenrath
7941894543
.
2019-08-30 22:03:08 +02:00
Stef Heyenrath
ec0bfd7eed
1.0.29.0
2019-08-29 21:54:02 +02:00
Stef Heyenrath
d885de1276
HandlebarsRegistrationCallback example
2019-08-25 18:40:54 +02:00
Stef Heyenrath
ccb2c51a39
JsonMatcher support IgnoreCase ( #333 )
...
* JsonMatcher - IgnoreCase - #332
* also rename property name
* Remove example project
2019-08-23 19:49:15 +00:00
Stef Heyenrath
2e33bcc464
#327 ( #328 )
2019-08-23 11:38:29 +00:00
Simar
fc64c5f925
Convert collection into a new list before enumerating ( #331 )
2019-08-22 17:58:53 +00:00
Stef Heyenrath
19ee3c6681
1.0.28
2019-08-20 21:28:55 +02:00
Stef Heyenrath
0edf858caa
Fix parsing Guid ( #326 )
2019-08-20 19:22:25 +00:00
Vitaliy Davydiak
4c74d1a4cc
Add blacklist for Request Cookies. ( #319 )
...
* Add blacklist for Request Cookies.
Refactor code. Fix tests.
* Fix tests and address code review notes
* Fix tests
2019-08-19 12:54:30 +00:00
Stef Heyenrath
da8bb717f4
Remove coverlet folder
2019-08-18 17:07:07 +02:00
Stef Heyenrath
d55e2fb920
Refactor MappingConverter & MatcherMapper ( #323 )
2019-08-17 17:00:44 +00:00
Stef Heyenrath
94f179ba17
Fix MappingMatcher in case of an exception in LinqMatcher. ( #322 )
...
* Fix MappingMatcher in case of an exception in LinqMatcher.
* update unit-tests
2019-08-17 16:24:14 +00:00
Stef Heyenrath
0a5c9880bd
Remove coverlet folder ( #320 )
2019-08-16 16:11:59 +00:00
Vitaliy Davydiak
4bfd72cdc3
Make SaveMapping and SaveMappingToFile settings independent. ( #317 )
...
When both are true - mappings are applied instantly and may affect further requests recording.
2019-08-16 06:15:46 +00:00
Stef Heyenrath
6ee4a42f0a
1.0.27.0
2019-08-14 22:12:38 +02:00
Ian Firkin
d71c48f8ac
Handles case where parameter value contains == ( #316 )
2019-08-14 22:05:22 +02:00
Stef Heyenrath
a6c6cfee42
1.0.26.0
2019-08-11 20:03:38 +02:00
Stef Heyenrath
100291ea4b
#313 ( #314 )
2019-08-11 19:56:07 +02:00
Stef Heyenrath
65688ee7d3
Fix LogEntries: collection was modified exception ( #309 )
...
* _options.LogEntries.ToArray()
* .
* update error message
2019-08-10 16:46:53 +02:00
Stef Heyenrath
19dd9e113e
1.0.25.0
2019-07-23 18:13:13 +02:00
Stef Heyenrath
cb09d65f10
Support WithBody with multiple matchers ( #304 )
2019-07-23 18:02:46 +02:00
Stef Heyenrath
1402e14621
1.0.24.0
2019-07-22 18:39:17 +02:00
Ronald Wildenberg
7201479439
Fixed bug 301 by not setting BodyAsFile to null after first use ( #302 )
...
* Fixed bug 301 by not setting BodyAsFile to null after first use
* Added extra unit test
* 1.0.24.0
2019-07-22 18:33:40 +02:00
Stef Heyenrath
af46a490a5
MappingModels ( #298 )
...
* MappingModels
* WhiteSource Bolt
* 23
2019-07-16 22:05:36 +02:00
Stef Heyenrath
c02b7ea5dc
1.0.22.0
2019-07-15 17:07:37 +02:00
Stef Heyenrath
1db2bc7c89
FixNullRef ( #295 ) ( #297 )
2019-07-15 17:00:52 +02:00
Stef Heyenrath
4bcc27ff01
1.0.21.0
2019-07-03 19:27:38 +02:00
Stef Heyenrath
93682c9bbf
Handlebars Extension ( #286 )
...
* wip
* HandlebarsRegistrationCallback
* HandlebarsContextFactoryTests
* 1.0.21.0
* fix sonar
* LocalFileSystemHandler
* readme
* Fix System.IO.IOException
2019-07-03 18:37:22 +02:00
Stef Heyenrath
653e03fcd9
MainApp
2019-07-03 18:32:52 +02:00
Eli Bishop
06576ab317
don't strip request body if we don't recognize the request method ( #294 )
...
* don't strip request body if we don't recognize the request method
* use IsNullOrEmpty
2019-07-03 18:15:17 +02:00
Eli Bishop
55a0a6ee71
workaround for AppContext.BaseDirectory being null on some platforms ( #293 )
2019-07-03 18:14:22 +02:00
Stef Heyenrath
0ce26ab1a0
1.0.20.0
2019-06-17 20:37:10 +02:00
Stef Heyenrath
7a4814e335
Add SaveToFile in the mapping ( #284 )
...
* savetofile
* fix !
2019-06-17 20:34:16 +02:00
Stef Heyenrath
561bb75f9f
1.0.19.0
2019-06-15 10:36:52 +02:00
Stef Heyenrath
f764881622
QueryStringParserTests
2019-06-15 10:26:39 +02:00
Stef Heyenrath
fdc433f0ce
QueryStringParser
2019-06-15 10:22:28 +02:00
Stef Heyenrath
c76bb94b4c
1.0.18.0
2019-06-10 17:52:05 +02:00
Stef Heyenrath
d7b6e03cb2
--WireMockLogger WireMockConsoleLogger ( #282 )
2019-06-10 17:46:04 +02:00
Stef Heyenrath
9031541b91
1.0.17.0
2019-06-05 16:05:26 +02:00
Stef Heyenrath
bd030594d5
Add support for HandleBars File (to read a file) ( #278 )
...
* HandleBarsFileFragment
* 1.0.17
* {{File}}
2019-06-05 16:00:25 +02:00
Stef Heyenrath
eed73ee8b3
1.0.16.0
2019-05-16 14:30:53 +02:00
Stef Heyenrath
8476e3c47f
Sign Assembly ( #274 )
...
* sign
* Fix
* sign also test
* DynamicProxyGenAssembly2
* PublicSign Condition=
* remove delaysign
2019-05-16 13:09:00 +02:00
Stef Heyenrath
a7fbc051c9
1.0.15.0
2019-05-04 10:41:42 +02:00
Stef Heyenrath
6e45255c9e
Dynamic response handlebars templating (2) ( #273 )
...
* Dynamic response files using Handlebars templating
(#270 )
* * Response templating / transformation using Handlebars and extensions
* Add unit test for JsonPath and BodyAsFile mapping (#272 )
* fix merge issue
2019-05-04 10:20:36 +02:00
Stef Heyenrath
96e68ae2a0
Support Dynamic response files using Handlebars templating ( #271 )
...
* Dynamic response files using Handlebars templating
(#270 )
* * Response templating / transformation using Handlebars and extensions
2019-05-04 10:02:09 +02:00
Stef Heyenrath
b151a581cc
1.0.14.0
2019-04-20 10:49:37 +02:00
Stef Heyenrath
fdb58b757b
Add JmesPath matcher ( #269 )
...
* JmesPathMatcher
* netstandard1.3
* update System.Linq.Dynamic.Core
* simplyfy `double IsMatch(object input)`
2019-04-20 10:44:13 +02:00
Stef Heyenrath
dd115a69b7
1.0.13.0
2019-04-11 12:30:00 +02:00
JackCreativeCrew
12444cc11e
[265] Add file upload to allow mocking of file operations ( #266 )
...
* [265] Add file upload to allow mocking of file operations
* [265] Fix failing test
* Update code + add tests
* LocalFileSystemHandlerTests
* 1.0.13
* Fixed the file post to create the mapping folder if none exists to begin with, otherwise the file upload fails with 404 (can't find the folder to upload to).
* fix tests
* add more tests for LocalFileSystemHandler
* Added the head method for files to check if a file exists without returning it as a body.
* Add a test and fix the response message (head requires no body).
* Fix newline
* Fix newline.
* Fix the number of mapping tests
* Update tests and update client-interface-api
* Cleanup "MappingConverter.cs"
2019-04-11 08:46:14 +02:00
Stef Heyenrath
6c32b9c31a
1.0.12.0
2019-04-05 15:15:22 +02:00
Stef Heyenrath
3d845d5be5
Proxy : also save multipart as string in mapping file ( #264 )
...
* ExactObjectMatcher
* BytesEncodingUtils
* BodyParser
* Encoding.ASCII
2019-04-05 14:51:29 +02:00
Stef Heyenrath
409d55350f
1.0.11.0
2019-03-30 09:47:28 +01:00
Alex Kursov
e7ac620721
Add ProvideResponse_WithJsonBodyAndTransform test ( #262 )
2019-03-30 09:34:13 +01:00
Alex Kursov
ceb6596823
Fix ResponseMessageTransformer to not replace BodyAsJson in an original message ( #261 )
...
Fix ResponseMessageTransformer to not replace BodyAsJson in an original message with transformed results
2019-03-30 09:33:49 +01:00
Stef Heyenrath
47e599214f
1.0.10.0
2019-03-27 08:34:30 +01:00
Stef Heyenrath
b99e300acf
Fix Response.Delay property serialization ( #260 )
...
* Fix Response.Delay property serialization issue
* Fix Response.Delay
2019-03-27 08:26:55 +01:00
Stef Heyenrath
482b05fc4a
1.0.9.0
2019-03-25 18:26:07 +01:00
Stef Heyenrath
9e123fbbea
Fixed Multi Param Match logic ( #256 )
...
* fix?
* 1.0.9
* <PackageReference Include="System.Linq.Dynamic.Core" Version="1.0.11" />
* fix tests ?
* fix
* RequestMessageParamMatcher
2019-03-25 18:00:22 +01:00
Stef Heyenrath
658f74ac61
1.0.8.0
2019-03-12 15:18:42 +01:00
Stef Heyenrath
1392119f9d
RequestMessageParamMatcher supports Ignore Case for the key ( #254 )
...
* RequestMessageParamMatcher
* /o:
* 1.0.8
2019-03-12 14:42:52 +01:00
Stef Heyenrath
62550b61e8
1.0.7.0
2019-01-19 19:33:35 +01:00
Stef Heyenrath
d736745aff
Fix BodyAsFile to also allow relative paths ( #244 )
...
* Read only .json files as static mapping files and fix current folder for BodyAsFile
* include .json again
* LocalFileSystemHandler_ReadResponseBodyAsFile_Throws
* Read array from static mappings folder
* xml soap example
2019-01-19 19:27:48 +01:00
Stef Heyenrath
34abd05d19
1.0.6.1
2019-01-10 11:48:42 +01:00
Stef Heyenrath
f9ab43bf58
Fixed "Content-Type multipart/form-data" ( #249 )
2019-01-10 11:24:58 +01:00
Alexander Paul
62823688a3
Issue 225 - Improve logging in example for WireMock as Windows Service ( #247 )
2018-12-26 14:08:04 +01:00
Stef Heyenrath
33f40c0e84
1.0.6
2018-12-15 09:34:58 +01:00
Stef Heyenrath
98097a033e
Post multiple Mappings ( #242 )
...
* Post multiple Mappings
* 1.0.6
2018-12-15 09:28:14 +01:00
Stef Heyenrath
d654ef97dc
1.0.5
2018-12-07 09:08:39 +01:00
Stef Heyenrath
4be1483a5f
Add Random Regex (using Fare) ( #236 )
...
* Xeger
* update example
* 1.0.7
* Fix tests for Handlebars_Xeger
* ReplaceNodeValue
* 1.0.5
* readme
2018-12-06 14:29:12 +01:00
Stef Heyenrath
cd200a10a4
1.0.4.21
2018-11-30 13:00:07 +01:00
Stef Heyenrath
dc36da45ec
Check aggregate exception during startup ( #235 )
2018-11-30 12:52:21 +01:00
Stef Heyenrath
c89b3886dd
Merge pull request #233 from WireMock-Net/RandomDataGenerator
...
RandomDataGenerator.Net 1.0.4
2018-11-21 11:59:02 +01:00
Stef Heyenrath
65734e9c3d
RandomDataGenerator.Net 1.0.4
2018-11-21 08:19:39 +01:00
Stef Heyenrath
1ca7d8abb2
Merge remote-tracking branch 'origin/master'
2018-11-20 15:02:29 +01:00
Stef Heyenrath
bcb03a5a9b
update /random example
2018-11-15 15:38:42 +01:00
Stef Heyenrath
c1c45801b5
Add SonarLint checks ( #232 )
2018-11-15 14:30:51 +00:00
Stef Heyenrath
18af7a41d4
Use RandomDataGenerator.Net 1.0.3.0 ( #231 )
...
* Include="RandomDataGenerator.Net" Version="1.0.3"
* UndefinedBindingResult
2018-11-13 09:49:46 +00:00
Stef Heyenrath
ac2ecd112f
Remove GitHubReleaseNotes.exe
2018-11-09 11:47:56 +01:00
Stef Heyenrath
3df4161329
Add HandleBars Random functionality ( #230 #219 )
...
Add HandleBars Random functionality (#219 )
2018-11-09 10:06:09 +00:00
Stef Heyenrath
34be065467
Fix proxy tests ( #229 )
2018-11-08 13:17:31 +00:00
Stef Heyenrath
ee7f939e34
Update dependencies ( #221 )
...
* update some dependencies
* update deps
2018-11-08 11:33:20 +00:00
Stef Heyenrath
3f7ccfe4e3
1.0.4.20
2018-11-07 21:15:46 +01:00
Stef Heyenrath
dffeb95116
IsRestrictedResponseHeader ( #228 )
2018-11-07 20:07:50 +00:00
Stef Heyenrath
d506df9645
Merge pull request #224 from paulssn/Fix_Issue_223_ExceptionInExampleForWindowsService
...
Fixed issue 223: Example for WireMock as Windows Service throws Exception because of WireMockConsoleLogger
2018-11-06 09:10:15 +00:00
Paul, Alexander
2f91f85fa8
Fixed issue 223: Example for WireMock as Windows Service throws Exception because of WireMockConsoleLogger
2018-11-06 09:15:54 +01:00
Stef Heyenrath
9ff19b0737
Codecov ( #222 )
...
* Codecov
* .nuget\packages\codecov\1.1.0
2018-11-01 14:36:49 +00:00
Stef Heyenrath
54235fb699
1.0.4.19
2018-10-31 17:06:06 +01:00
Stef Heyenrath
a43a8154b1
Update SimpleCommandLineParser to handle arguments with key and value ( #220 )
...
* Fix SimpleCommandLineParser
* Codecov
2018-10-31 13:47:08 +00:00
Stef Heyenrath
b6c0aeceea
Updated GitHubReleaseNotes
2018-10-30 19:01:55 +01:00
Stef Heyenrath
e2c6cb6472
1.0.4.18
2018-10-27 13:04:43 +02:00
Stef Heyenrath
43b69faed6
remove appveyor ( #218 )
2018-10-25 20:18:33 +02:00
Stef Heyenrath
3815153239
Microsoft.AspNetCore.All
2018-10-25 18:55:22 +02:00
Kashif Jamal Soofi
6e7baaaae6
Enable Source Link ( #217 )
...
* #161 Enable SourceLink
* #119 Enable SourceLink for StandAlone
2018-10-25 18:52:59 +02:00
Stef Heyenrath
1af512fc72
Update BodyParser logic ( #212 )
...
* Update BodyParser logic
* update logic for byte[]
* small update
* MyGetKey
* myget
* dotnet nuget push
* dotnet build
* Release
* .
* StringContent
* 1.0.4.18-preview-02
* Debug
* 1.0.4.18-preview-02
* disable some proxy tests
* myget
* packagesToPack
* fix
* <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
* Release
* <VersionPrefix>1.0.4.18</VersionPrefix>
* fix
* BodyParserTests
* ResponseBodyData (#216 )
* ResponseBodyData
* refactor tests
* LogEntryMapperTests
2018-10-25 14:08:24 +02:00
Stef Heyenrath
d9ed1bf812
Add MyGet Badges
2018-10-12 10:59:22 +02:00
Stef Heyenrath
83457c1601
NET Core 2.1 + support for Service Fabric commandline parameters ( #209 )
...
* netcore 2.1
* SimpleCommandLineParserTests
* tests
* SimpleCommandLineParserTests
* test report
* AspNetCoreSelfHost
* Fixed Resharper warnings
* tests
* .
* ResponseWithProxyTests
ResponseWithProxyTests
* postmanecho
2018-10-10 09:49:32 +02:00
Stef Heyenrath
04bcca6e14
Refactor ( #208 )
2018-09-30 11:25:14 +02:00
Stef Heyenrath
ada50d893f
Rewrite some unit-integration-tests to unit-tests ( #206 #207 )
...
Rewrite some unit-integration-tests to unit-tests (#206 )
2018-09-26 17:43:26 +02:00
Stef Heyenrath
713e59bbf9
1.0.4.17
2018-09-22 10:01:52 +02:00
Stef Heyenrath
f358f13c08
Solved issues #204 #205 #200
...
* Lower priority from Proxy mappings
* Fix codefactor
* extra tests
* #205
* Fix test for linux
* `c:\temp\x.json` fix
* Extra tests
* more tests
* more tests
* codefactor
* #200
* refactor
* refactor
* tests
2018-09-22 08:41:24 +02:00
azure-pipelines[bot]
0c25ab413d
Set up CI with Azure Pipelines ( #203 )
...
* Set up CI with Azure Pipelines
* Microsoft.NET.Test.Sdk and coverlet.msbuild
* vmImage: 'vs2017-win2016'
* Remove coverlet.msbuild
* .
* s
* eq
* i
* ne
* ,
* echo
* build always (test)
* Install SonarScanner
* script
* cmd
* dotnet tool install
* SonarScanner via tools folder
* echo
* powershell
* BUILD_BUILDID
* $(SONAR_TOKEN)
* fix
* .
* |
* $(buildId)
* $(buildId)
* BuildId
* appv
* /d:sonar.cs.vscoveragexml.reportsPaths="**\*.coveragexml"
* .coverage
* coverlet
* coverlet
* b
* coverlet local
* Fix codefactor
* Build Azure
* Build Azure
* remove FluentMockServer_Admin_StartStop
* FluentMockServer_Admin_StartStop
2018-09-13 12:22:09 +02:00
Stef Heyenrath
84f3cc029f
Fix unit-tests on non-windows build machines.
2018-09-11 14:37:29 +02:00
Stef Heyenrath
6f9aaeda1a
1.0.4.16
2018-09-11 08:51:13 +02:00
Stef Heyenrath
da64934c13
Update handlebars code to support Regex.Match ( #201 ) ( #202 )
...
* #201
* Handlebars : Linq and JsonPath
* Rename to Regex.Match
* unit test coverage
2018-09-11 08:42:50 +02:00
Stef Heyenrath
ec39d12cfe
Regex.Match ( #201 )
2018-09-07 15:35:47 +02:00
Stef Heyenrath
cf75b67307
Merge branch 'LinqMatcher_JObject'
2018-09-07 11:41:10 +02:00
Stef Heyenrath
913f605993
Move PortUtils.cs
2018-09-07 08:59:09 +02:00
Stef Heyenrath
33b96c6af9
Fix Sonar issues
2018-09-06 21:00:33 +02:00
Stef Heyenrath
39b1eb8f43
JsonUtils : update error message
2018-09-06 19:27:38 +02:00
Stef Heyenrath
f3c395833a
LinqMatcher and JsonUtils
2018-09-06 19:25:09 +02:00
Stef Heyenrath
9e44f7eb0e
1.0.4.15
2018-09-04 22:53:23 +02:00
Stef Heyenrath
41fd1ef99d
#198 ( #199 )
2018-09-04 22:50:17 +02:00
Stef Heyenrath
666e1ab1b8
1.0.4.14
2018-09-02 21:48:31 +02:00
davide-romanini
5ccb992201
196 fix: set IsStarted = true in a IApplicationLifetime.ApplicationStarted listener ( #197 )
2018-09-02 21:42:57 +02:00
Stef Heyenrath
2075589e98
Update README.md
2018-09-01 10:39:27 +02:00
Stef Heyenrath
077b3c0891
Update README.md
2018-09-01 10:38:48 +02:00
Stef Heyenrath
37a42dc6aa
1.0.4.13
2018-08-31 20:46:08 +02:00
Stef Heyenrath
9f17948e9f
Add LinqMatcher ( #195 )
...
* LinqMatcher
* LinqMatcher : revert
* LinqMatcher
2018-08-31 20:41:42 +02:00
Stef Heyenrath
28c4188a1b
1.0.4.12
2018-08-23 18:48:42 +02:00
Stef Heyenrath
f8d22d4c47
#189 ( #191 )
2018-08-23 16:45:19 +00:00
Stef Heyenrath
e6ecf5cc84
ResponseMessageTransformer ( #190 ; #188 )
...
ResponseMessageTransformer (#190 ; #188 )
2018-08-23 12:30:36 +00:00
Stef Heyenrath
5fff3b3a36
1.0.4.11
2018-08-20 22:17:14 +02:00
Stef Heyenrath
be08c3175e
#107
2018-08-18 16:42:17 +02:00
Stef Heyenrath
2e44ac8e62
#107
2018-08-18 10:01:57 +02:00
Stef Heyenrath
9cb3159575
SonarScanner ( #184 )
2018-08-17 19:22:32 +02:00
Steve Land
fb6b25a9c5
ContentType "application/vnd.api+json" is not recognized as json ( #186 )
...
* Admin API GetRequestsAsync Json/JsonApi request body tests
* Fix code + update unit-tests
2018-08-17 19:15:01 +02:00
Stef Heyenrath
b57d118c3d
Support Microsoft.AspNetCore for net 4.6.1 and up ( #185 )
...
* net451
* tests : net462
* fixed tests
* fix tests
* readme
* Code review
* LocalFileSystemHandlerTests
* refactor
2018-08-17 18:52:29 +02:00
seanamosw
01d6dce62d
Fix for PutMappingAsync not setting Content-Type ( #183 )
2018-08-16 19:29:03 +02:00
Stef Heyenrath
1a184ebfdf
ChangeLog
2018-08-14 18:58:06 +02:00
Stef Heyenrath
4b91c05fe7
Add IFileSystemHandler to support Azure for StaticMapping location ( #180 )
...
* wip
* CustomStaticMappingFileHandler
* Add unit-tests
* Tests
* IFileSystemHandler
* version
2018-08-14 18:54:53 +02:00
Stef Heyenrath
c92e733ef9
1.0.4.9
2018-08-08 11:42:24 +02:00
Stef Heyenrath
d9fde9329a
Merge branch 'stef_fix_174_jsonpathmatcher'
2018-08-08 11:37:08 +02:00
Stef Heyenrath
9e7d3b6d2d
#177
2018-08-08 11:05:27 +02:00
Stef Heyenrath
5ee25fb1e7
#175
2018-08-08 08:20:52 +02:00
Stef Heyenrath
36866d9fc3
#176
2018-08-07 20:34:35 +02:00
Stef Heyenrath
4f7259d27a
Fix JsonMatcher and JsonPathMatcher
2018-08-07 19:27:10 +02:00
Stef Heyenrath
f13b829c00
Add unit-test
2018-08-02 16:11:14 +02:00
Stef Heyenrath
60d9487313
Update README.md
2018-07-27 12:54:45 +02:00
Stef Heyenrath
8cb15b2311
Add more details on Using and move HTTP SSL
2018-07-26 13:39:40 +02:00
Stef Heyenrath
3907e83138
1.0.4.8
2018-07-23 17:34:25 +02:00
Stef Heyenrath
1f226f7361
Support json path in the response ( #170 )
...
* jsonpath in response
* Fix tests
* Support also BodyAsJson
* Fix Sonar Issue
* Add example (zubinix2)
* Fix batch file
* Solve CodeFactor issues
* netcoreapp2.0;netcoreapp2.1
* 1.0.4.8
2018-07-23 17:28:32 +02:00
Stef Heyenrath
215f051218
1.0.4.7 changelog
2018-07-19 22:25:40 +02:00
Stef Heyenrath
b2bf63b013
Fix for Restricted Response headers ( #169 )
...
* WebHeaderCollection.IsRestricted (#148 )
* Update dependencies
* 1.0.4.7
2018-07-19 22:23:00 +02:00
Stef Heyenrath
7191c082de
1.0.4.6
2018-07-18 21:37:26 +02:00
Stef Heyenrath
8f34291ea9
Expose scenario states ( #168 )
...
* Scenarios (WIP)
* Update ToJson and StatefulBehaviorTests
* fix tests
* Update comment
2018-07-18 21:29:49 +02:00
Stef Heyenrath
6b0924029f
docker
2018-07-17 21:11:05 +02:00
Stef Heyenrath
ec8bb27ffc
1.0.4.5
2018-07-17 08:30:49 +02:00
Stef Heyenrath
a9c0c6b670
Support running WireMock.Net as a sub-app in IIS ( #164 ) ( #158 )
...
* Update examples (#158 )
* IIS debug
* PathBase logic
* 1.0.4.5-preview-01
* Fix project and readme
* Fix issues
* fix picture alignment
* Add IIS publish examples
* 1.0.4.5
2018-07-17 08:20:44 +02:00
Stef Heyenrath
a96c8100cf
Fix Sonar issues ( #166 )
...
* Fix Sonar issues
* Fix Sonar issues
2018-07-16 20:04:35 +02:00
Stef Heyenrath
cc6b311814
Fix readme table
2018-07-15 11:45:55 +02:00
Stef Heyenrath
96eaa657e5
Update Readme for Sonar / update table
2018-07-15 11:42:56 +02:00
Stef Heyenrath
3125c1bead
Add SonarCloud ( #165 )
...
* dotnet-sonarscanner
* .
* fix install
* add ProjectGuid
* Move "sonarscanner end" to tests
* Fix ProjectGuid and version
* /v
* label
* SONAR_TOKEN
* APPVEYOR_BUILD_NUMBER
* opencover
* readme
* readme
2018-07-15 11:14:50 +02:00
Stef Heyenrath
9e9eadf693
1.0.4.4 ( #156 )
2018-07-01 11:10:34 +02:00
Stef Heyenrath
fe9f4902b1
1.0.4.3
2018-06-30 00:06:53 +02:00
Stef Heyenrath
db013a56ad
Merge branch 'param'
2018-06-29 23:59:30 +02:00
Stef Heyenrath
7b2deceafd
Merge branch 'Fix_IRequestBuilder.WithParam'
2018-06-29 22:32:31 +02:00
Stef Heyenrath
281b970c57
WithParam ( #159 )
2018-06-28 20:50:09 +02:00
Stef Heyenrath
768cc621ad
#156
2018-06-27 20:19:27 +02:00
Stef Heyenrath
3df8bd2fdc
#156
2018-06-27 20:02:16 +02:00
Stef Heyenrath
2d1ead25cd
#156
2018-06-27 19:56:53 +02:00
Stef Heyenrath
24d00845fb
1.0.4.2
2018-06-26 23:24:32 +02:00
Stef Heyenrath
4283732b6c
Support for string and object in JsonMatcher. ( #157 )
...
* JsonMatcher (#154 )
* small update in example code
2018-06-26 23:20:30 +02:00
Stef Heyenrath
b2690017a8
Set Microsoft.NET.Test.Sdk back to 15.3.0
2018-06-25 20:29:10 +02:00
Stef Heyenrath
9470130d65
responsebody.json
2018-06-25 20:21:40 +02:00
Stef Heyenrath
b5f0e658da
1.0.4.1 ( #153 )
2018-06-25 19:57:42 +02:00
Stef Heyenrath
2eff243a96
Added JsonMatcher ( #153 )
2018-06-25 19:36:41 +02:00
Stef Heyenrath
2895bf2dea
Add gitter chat badge
2018-06-24 12:12:43 +02:00
Stef Heyenrath
f61a814ab5
Fix coveralls.net
2018-06-23 16:33:29 +02:00
Stef Heyenrath
ce2db748f1
1.0.4.0
2018-06-23 11:26:24 +02:00
Stef Heyenrath
443fc76773
Add request / response logging ( #151 )
...
Add request / response logging (#151 )
2018-06-23 11:22:07 +02:00
Stef Heyenrath
454051568a
1.0.3.20
2018-05-29 22:01:15 +02:00
Stef Heyenrath
2b498f45cb
Revert PortUtil.cs changes ( #147 )
2018-05-29 21:58:56 +02:00
Stef Heyenrath
2fcfda49c7
Update changelog
2018-05-28 15:13:34 +02:00
Stef Heyenrath
7ef0c1d68b
1.0.3.19
2018-05-28 08:43:41 +02:00
Bob Paul
297743a19a
Fix code for .NET Core 2 so that server has cancellation token, and Stop method waits for shutdown. This resolves issues when using .NET Core 2 and starting/stopping server instances. ( #145 )
2018-05-28 08:30:18 +02:00
Stef Heyenrath
0640c88bcd
Fix ConcurrentDictionary ( #129 ) ( #144 )
2018-05-28 08:08:18 +02:00
Stef Heyenrath
dc39f91205
1.0.3.18
2018-05-25 21:43:29 +02:00
Stef Heyenrath
eda71bd725
Allow all headers to be set as Response headers ( #142 )
...
* Allow all headers to be set as Response headers
* RunTestDifferentPort
* Fix Proxy_Should_change_absolute_location_header_in_proxied_response test
* Fix OwinResponseMapper
* Fix test
* 1.0.3.18
2018-05-25 21:04:58 +02:00
Stef Heyenrath
538d04e440
Changelog for 1.0.3.17
2018-05-16 22:30:25 +02:00
Alastair Crabtree
c575ca8296
Merge pull request #138 from WireMock-Net/stef_negate_matcher
...
Added Negate matcher logic
2018-05-16 20:19:48 +01:00
Stef Heyenrath
d0e76b3dbe
Merge into the stef_negate_matcher branch (solves issue #133 ) ( #135 )
...
* Fixed #133
* tests: add parametrised tests that cover various body matchers for json
* Code review comments (BodyAsStringOriginal)
* tests: minor method name change
2018-05-15 12:41:07 +02:00
Alastair Crabtree
a8ddd31c9c
Stef negate matcher ( #134 )
...
* RejectOnMatch (wip)
* RejectOnMatch (wip)
* RejectOnMatch (wip)
* RejectOnMatch (wip)
* docs: improve sample app matcher to show use of reject on match
* Reworked code review comments
2018-05-12 12:51:56 +02:00
Stef Heyenrath
d3640d065e
Reworked code review comments
2018-05-12 12:45:58 +02:00
Alastair Crabtree
9d6df1c7c8
docs: improve sample app matcher to show use of reject on match
2018-05-12 01:19:01 +01:00
Stef Heyenrath
ca5056aed3
RejectOnMatch (wip)
2018-05-06 10:40:42 +02:00
Stef Heyenrath
e7319a202a
RejectOnMatch (wip)
2018-05-04 20:27:39 +02:00
Stef Heyenrath
8959e55ca3
RejectOnMatch (wip)
2018-05-04 08:16:42 +02:00
Stef Heyenrath
0fb4b62b50
RejectOnMatch (wip)
2018-05-03 16:59:31 +02:00
Stef Heyenrath
7cf283ec13
Restricted ResponseHeaders ( #126 )
2018-04-17 19:43:38 +02:00
Stef Heyenrath
2c0f00d77f
Release notes
2018-04-15 14:04:08 +02:00
Stef Heyenrath
1bcdfe31ab
1.0.3.16
2018-04-15 14:02:45 +02:00
raghavendrabankapur
0abe12f5c8
Fix for issue #118 ( #121 )
...
* Fix for issue #118
* Adding test cases for fix #118
* Moved the namespace in using block for fix #118
2018-04-15 11:25:17 +02:00
SubjectiveReality
7bd63a0baf
Change listen from loopback to any ip address for dotnetcore2.0 apps per issue #124
...
Change listen from loopback to any ip address for dotnetcore2.0 apps per issue #124 (#125 )
2018-04-14 09:56:29 +02:00
Stef Heyenrath
a29363105c
1.0.3.15
2018-04-05 21:07:05 +02:00
Stef Heyenrath
4f294baff2
Small code refactor ( #117 )
2018-04-05 20:51:10 +02:00
Evan Liang
2d2a2dd6fc
Respect start timeout setting and expose exception from server startup ( #117 )
...
* Respect start timeout setting and expose exception from server startup
* Dispose running servers properly on error happening
* Addressed comments from Stef
2018-04-05 18:31:10 +00:00
Stef Heyenrath
ac72973cc4
1.0.3.14
2018-04-01 11:54:20 +02:00
Stef Heyenrath
e87f970057
PathSegments ( #114 )
2018-03-29 08:51:22 +02:00
Stef Heyenrath
df4a1f628a
BodyAsJsonIndented ( #113 )
2018-03-28 09:51:01 +02:00
Stef Heyenrath
bdb79aec95
Add some more RequestMessageBodyMatcherTests ( #112 )
2018-03-28 08:18:33 +02:00
Stef Heyenrath
3369501506
1.0.3.13
2018-03-24 19:02:21 +01:00
Stef Heyenrath
8662638622
Fix #100
2018-03-24 18:40:59 +01:00
Stef Heyenrath
a3c853b4ad
Fix #110
2018-03-20 21:06:58 +01:00
Stef Heyenrath
a4a9f2c862
Add WireMock.Net.Service example
2018-03-18 10:41:31 +01:00
Stef Heyenrath
49963dfafc
Fix #109
2018-03-17 13:20:18 +01:00
Stef Heyenrath
720c59c595
code coverage
2018-03-15 22:53:23 +01:00
Stef Heyenrath
c7ad8469a3
1.0.3.9 ( #108 )
2018-03-15 22:18:35 +01:00
Stef Heyenrath
b7dd1b9242
Merge branch 'stef_increase_code_coverage'
2018-03-15 22:14:52 +01:00
Stef Heyenrath
82fdce4605
fix contentTypeHeader
2018-03-15 22:14:34 +01:00
Stef Heyenrath
15500a812c
Add some more tests
2018-03-14 21:24:20 +01:00
Stef Heyenrath
c2183ab40c
Increase code coverage ( #107 )
2018-03-13 22:04:43 +01:00
Stef Heyenrath
83d71bb24e
More fixes for #106
2018-03-11 12:18:27 +01:00
Stef Heyenrath
ff012be173
Fixed #106
2018-03-10 15:50:34 +01:00
Stef Heyenrath
f604be3c02
Add logger to WireMock WebApp
2018-03-10 14:53:50 +01:00
Stef Heyenrath
8d109c69eb
Fix #104
2018-03-09 08:20:48 +01:00
Stef Heyenrath
3e634c2fde
Example : WireMock.Net.StandAlone.Net461 ( #104 )
2018-03-08 18:28:53 +01:00
Stef Heyenrath
9b5a482b8d
Also handle application/x-www-form-urlencoded as string body
2018-03-08 11:00:19 +01:00
Stef Heyenrath
e18fffb661
release notes
2018-03-04 11:30:50 +01:00