Commit Graph
100 Commits
Author SHA1 Message Date
Stef Heyenrath 0e06cf6346 1.4.25 2021-10-27 19:22:46 +02:00
Stef HeyenrathandGitHub e9db520cc3 Add TimeSettings (Start, End and TTL) (#661)
* time

* .

* UT

* using JetBrains.Annotations;
2021-10-27 18:57:13 +02:00
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 HeyenrathandGitHub 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
Stef Heyenrath 6c65dfcff6 1.4.24 2021-10-20 20:40:02 +02:00
Stef HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 57cc616aa3 Implement PatternAsFile for StringMatcher (#651) 2021-10-15 08:54:12 +02:00
Stef Heyenrath e64ed45fcf Fix build from .NET452 and .NET461 example projects 2021-10-09 18:25:18 +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 HeyenrathandGitHub 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
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 HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 0f99e06acc Add NotNullOrEmptyMatcher (#625) 2021-08-04 16:22:22 +02:00
Stef HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 6f42aa99bc Handlebars.Net.Helpers.Humanizer (#617) 2021-07-07 17:02:15 +02:00
Stef HeyenrathandGitHub 8a9ea1b843 Update FUNDING.yml 2021-07-06 12:13:13 +02:00
Stef HeyenrathandGitHub dade24de37 Update FUNDING.yml 2021-07-06 12:12:48 +02:00
Stef HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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
Stef HeyenrathandGitHub a1dc2ba646 condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) # Do not run for PullRequests (#612) 2021-05-10 22:06:42 +02:00
Stef HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 43b96ce340 Add OpenApiParser NuGet to readme 2021-04-23 17:51:45 +02:00
Stef Heyenrath 328e9090b1 1.4.12 2021-04-22 06:46:24 +00:00
Stef Heyenrath 660a09e656 1.4.11 2021-04-18 21:32:42 +02:00
Stef HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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
Stef HeyenrathandGitHub 2fb0f92a2d Use Handlebars.Net.Helpers Version="2.1.2" (#595) 2021-03-19 15:17:39 +01:00
Stef HeyenrathandGitHub 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 HeyenrathandGitHub 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
Stef Heyenrath ddcf2b29a3 coverlet 2021-02-09 20:43:24 +01:00
Stef HeyenrathandGitHub 23709fa587 Use new Handlebars.Net.Helpers (#581) 2021-02-09 20:35:44 +01:00
Stef HeyenrathandGitHub 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 HeyenrathandGitHub 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
Stef HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub f104b24f66 Update comment for SaveMappingToFile (#553) 2020-12-23 08:46:24 +01:00
Stef HeyenrathandGitHub a228cdcb7c Do not save "admin" mappings when running in Proxy - mode (#561)
* wip

* .

* .
2020-12-23 08:46:07 +01:00
Stef HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub 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 HeyenrathandGitHub fd62c52669 Update README.md 2020-11-30 16:28:41 +01:00
Stef HeyenrathandGitHub 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