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
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
Thomas Levesque
5299ced000
Change FindRequestByMappingGuidAsync to return a collection of entries ( #1046 )
2023-12-23 09:40:35 +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
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
c6c7ba13b4
Calling Reset also resets the scenarios ( #1031 )
...
* Calling Reset also resets the scenarios
* .
2023-12-07 16:03:37 +01:00
Stef Heyenrath
932dde07e4
FixMapping[] for WireMock.Org REST API ( #1023 )
2023-12-06 09:24:58 +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
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
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
d29f3e81f3
Add property 'IsStartedWithAdminInterface' to 'IWireMockServer' ( #931 )
...
* Add property 'IsStartedWithAdminInterface' to 'IWireMockServer'
* update tests
* .
2023-05-06 13:12:00 +02:00
Stef Heyenrath
090e0eb437
Add WithProbability ( #922 )
...
* WithProbability
* fix
* x
* ,
* .
* .
* .
2023-04-12 20:48:53 +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
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
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
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
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
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
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
ef5f988786
Add Settings.QueryParameterMultipleValueSupport ( #836 )
...
* QueryParameterMultipleValueSupport
* .
* ,
* ,
2022-11-08 19:27:44 +01:00
Stef Heyenrath
0972d2cb8f
Add option to ProxySettings to append guid to mapping file ( #838 )
...
* Add option to ProxySettings to append guid to mapping file
* .
* .
* .
2022-10-29 13:58:29 +02:00
Stef Heyenrath
31298d281d
Support deleting / resetting a single scenario ( #834 )
...
* Support deleting / resetting a single scenario
* move files
2022-10-26 08:43:51 +02:00
Stef Heyenrath
57115f1a3d
Add setting to skip saving the string-response in the logging when using WithBody(Func...) ( #828 )
...
* Add extra unit-test for Response WithBody (dynamic code)
* DoNotSaveDynamicResponseInLogEntry
* update SettingsModel
* fix
* .
2022-10-21 14:47:26 +02:00
Stef Heyenrath
55afc8041f
ExactMatcher : IgnoreCase ( #817 )
...
* ...
* mm
* fix some null warnings
* fx
2022-10-15 08:23:58 +02:00
Stef Heyenrath
f7b04f3234
Add UseDefinedRequestMatchers to ProxyAndRecordSettings ( #821 )
...
* .
* UseDefinedRequestMatchers
* ok
* .
* ClientIP
* t
* fix ut
* .
* cf
* cf2
2022-09-30 11:25:11 +02:00
Stef Heyenrath
c0b18631a3
Add option to run the server on http & https ( #818 )
...
* HostingProtocol.HttpAndHttps
* .
* .
* .
* HostingScheme
2022-09-26 14:24:45 +02:00
Stef Heyenrath
98a0f2fa28
WebHook : UseFireAndForget + Delay ( #803 )
...
* UseFireAndForget
* ...
* delay
* async
* updated code accorsing to proposal
* Change nuget to package reference for WireMock.Net.Console.Net472.Classic, move the new FireAndForget into the main mapping, out of individual webhook mappings making it all or nothing, update tests, change Middleware to await or not the firing of all webhooks. Update models as needed. (#804 )
Co-authored-by: Matt Philmon <Matt_Philmon@carmax.com >
* small update
* Tweak middleware and fix bug in example (#806 )
Co-authored-by: Matt Philmon <Matt_Philmon@carmax.com >
* .ConfigureAwait(false)
Co-authored-by: mattisking <mattisking@gmail.com >
Co-authored-by: Matt Philmon <Matt_Philmon@carmax.com >
2022-09-12 20:30:40 +02:00
Stef Heyenrath
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
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
bdd421e128
JsonPartialMatcher - support Regex ( #771 )
...
* JsonPartialMatcher - support Regex
* .
* .
* more tests
* .
* .
2022-07-24 15:54:53 +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
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
5e301fd74b
Swagger support ( #749 )
...
* r
* fix
* sw
* x
* s
* .
* .
* .
* CreateTypeFromJObject
* .
* .
* f
* c
* .
* .
* .
* .
* .
* .
* ok
* ,
* .
* .
* .
* .
* n
* pact
* fix
* schema
* null
* fluent
* r
* -p
* .
* .
* refs
* .
2022-05-13 22:01:46 +02:00
Stef Heyenrath
a6ee2dacc7
Initial support for converting the mappings to a Pact(flow) json file ( #748 )
...
* WithDescription
* WithConsumer / WithProvider
* x
* .
* .
* .
* .
* fix
* pact
* nullable
* ficx
* .
* fix
2022-04-22 16:17:50 +02:00
Stef Heyenrath
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
cbf82836f5
Add Port and Url property to WireMockServer ( #740 )
2022-03-26 11:03:37 +01:00
Stef Heyenrath
bb3147eb8d
Remove interface for all Settings ( #736 )
2022-03-10 20:58:18 +01:00
Stef Heyenrath
6c68033739
Fix FileSystemWatcher ( #733 )
...
* Define EnhancedFileSystemWatcher in class
* d
2022-03-01 19:45:39 +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