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
12d2219752
Disable DynamicLinq to fix CVE ( #1242 )
...
* Disable DynamicLinq
* Disable DynamicLinq functionality
2025-01-22 10:30:52 +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
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
6db5427e6e
Add overloads to AtUrl and AtAbsoluteUrl which can use a IStringMatcher ( #1221 )
2024-12-22 17:11:21 +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
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
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
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
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
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
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
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
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
9a49e6a1cd
Upgrade Aspire to version 8.2.0 ( #1163 )
2024-08-31 17:06:30 +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
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
3353be65b5
Add FormUrlEncodedMatcher ( #1147 )
...
* FormUrlEncodedMatcher
* .
* Fix
* new
* support wildcard
2024-07-27 14:40:23 +02:00
Stef Heyenrath
d79f6f128d
Fix OpenApiPathsMapper ( #1122 )
...
* Fix OpenApiPathsMapper
* utc
* s
2024-07-22 21:36:45 +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
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
ecb8e620ed
Add unit tests for AdminApiMappingBuilder ( #1133 )
2024-07-08 21:41:05 +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
86f8877039
Fix JsonMatcher if IgnoreCase and Regex are used
2024-06-08 09:11:22 +02:00
Stef Heyenrath
43746631e1
Add some Extension methods to IWireMockAdminApi ( #1113 )
2024-06-04 14:28:07 +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
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
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
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
54fe0823dc
Add RegEx support to JsonMatcher ( #1091 )
...
* json matcher regex
* better test
* regression
2024-04-06 18:08:45 +02: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