Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
f86610b
Removed updatecli workflow as it's running every hour and this doesn'…
tomakehurst Jan 8, 2024
9ff751c
Revert hacktober
Jan 10, 2024
57ef905
update gem file
Jan 10, 2024
dbbe491
Fix ruby version
Jan 10, 2024
7f6a970
rubygems update
Jan 10, 2024
2bf1e08
Dont try to update rubygems itself as there seems to be a bug with up…
Jan 11, 2024
dcbeeae
Dont try to update rubygems itself as there seems to be a bug with up…
Jan 11, 2024
80d475c
fix stub mapping http endpoint
siph Jan 12, 2024
806af3d
Add extensionScanningEnabled option to @WireMockTest. (#242)
kyle-winkelman Jan 15, 2024
2613775
Added documentation for GET_OR_HEAD method (#246)
prithvitewatia Jan 16, 2024
a458230
Added closing endcode tabs (#250)
prithvitewatia Jan 17, 2024
a8b0ba5
Remove the hacktoberfest masthead notification from the notifications…
leeturner Jan 19, 2024
7b929c7
Merge pull request #253 from wiremock/remove-hacktoberfest-masthead
leeturner Jan 19, 2024
ee0fe0b
Updating OSS vs WireMock Cloud
Jan 26, 2024
a56e0a5
Merge pull request #254 from ethangj/oss-comparison
ethangj Jan 26, 2024
b34ab3c
Merge pull request #248 from siph/endpoint
leeturner Jan 30, 2024
f4e454f
Allow matchesJsonSchema to be supplied as a json object.
kyle-winkelman Jan 17, 2024
e8433d3
Merge pull request #252 from kyle-winkelman/jsonSchema
dieppa Feb 1, 2024
cd0e742
Remove extra stubFor() in spring-boot example (#241)
silver-mx Feb 2, 2024
0aa0eb8
Corrected getRequestURI to url for wiremock server. (#243)
prithvitewatia Feb 2, 2024
9973f3a
#2071 doc for GzipDisabled (#251)
dkhozyainov Feb 2, 2024
cf0b2b2
Disabled automatic publishing of the site on push to main to avoid do…
tomakehurst Feb 2, 2024
76e2f77
Update stub mappings URL in administration.md (#255)
sam-williams-cko Feb 2, 2024
d8eab71
Updating OSS comparison
Feb 10, 2024
7002085
Merge pull request #256 from ethangj/fixing-oss-comparison
ethangj Feb 10, 2024
2c8c61c
Remove extra stubFor() in spring-boot example (#241)
silver-mx Feb 2, 2024
0e5cb6d
Corrected getRequestURI to url for wiremock server. (#243)
prithvitewatia Feb 2, 2024
47512db
Disabled automatic publishing of the site on push to main to avoid do…
tomakehurst Feb 2, 2024
054bcdd
Update stub mappings URL in administration.md (#255)
sam-williams-cko Feb 2, 2024
baaa2d5
Updating OSS comparison
Feb 10, 2024
0ea3a52
Updated WireMock version
tomakehurst Feb 16, 2024
91dffa5
Merge branch 'main' into live-publish
tomakehurst Feb 16, 2024
449c771
Updated gRPC version
tomakehurst Feb 17, 2024
047270c
Merge branch 'main' into live-publish
tomakehurst Feb 17, 2024
10b6e0f
Bumped WireMock version to 3.4.1
tomakehurst Feb 19, 2024
c9fe9e3
Bumped WireMock version to 3.4.1
tomakehurst Feb 19, 2024
d3b86e5
Bumped WireMock version to 3.4.2
tomakehurst Feb 23, 2024
45e8c61
Add the mapping of the extensions folder in the docker volumes
leeturner Feb 29, 2024
4fabb2e
Give an example of how to disable response templating on a per stub b…
leeturner Feb 29, 2024
4dd88ba
Clarify when response templating can be disabled on a per stub basis
leeturner Mar 4, 2024
73c960e
Adding cloud callouts
Mar 4, 2024
52b3912
Updating to https
Mar 4, 2024
0a9f329
Merge pull request #261 from ethangj/cloud-callouts
ethangj Mar 5, 2024
5435342
Bumped WireMock version to 3.4.2
tomakehurst Feb 23, 2024
9513bbb
Updating cloud callout messaging (#263)
ethangj Mar 12, 2024
e845170
Merge branch 'main' into live-publish
tomakehurst Mar 12, 2024
f2f24a3
fix: broken frontmatter
limptwiglet Mar 12, 2024
f2c9cfe
fix: broken frontmatter
limptwiglet Mar 12, 2024
05e0f33
Merge pull request #260 from wiremock/docs-updates-based-on-questions…
leeturner Mar 12, 2024
ed1fd41
Merge remote-tracking branch 'origin/main' into live-publish
leeturner Mar 12, 2024
f08b14a
Updated WireMock version to 3.5.1
tomakehurst Mar 28, 2024
dd5ef8c
Updated WireMock version to 3.5.1
tomakehurst Mar 28, 2024
fd0ecb9
Bumped WireMock version to 3.5.2
tomakehurst Mar 30, 2024
df0db8e
Merge live-publish back into main
tomakehurst Mar 30, 2024
26a712c
docs: wiremock-npm (#273)
tomasbjerre Apr 2, 2024
222cd2d
Fix download page frontmatter formatting (#272)
leeturner Apr 2, 2024
48c0744
Switched download link on JAR page to canonical URL (rather than rely…
tomakehurst Apr 2, 2024
6af5850
Update links to JUnit pages (#270)
cknoblauch Apr 2, 2024
ebfe2b9
Re-added JUnit 4.x links (in addition to 5.x)
tomakehurst Apr 2, 2024
2d63e8e
Document `options().withSupportedProxyEncodings` (#269)
Mahoney Apr 2, 2024
672a66c
Allow removal of headers from a proxied request. (#268)
kyle-winkelman Apr 2, 2024
5269f37
Optional default for SystemValueHelper. (#262)
kyle-winkelman Apr 2, 2024
cf1e62d
Fixed #274 - corrected interface name and some descriptive text in da…
tomakehurst Apr 2, 2024
04b8043
Fixes #267 - wrong link on HTTPS trust example
tomakehurst Apr 2, 2024
a499abc
Fixed #266 - typo in form param matching example
tomakehurst Apr 2, 2024
d39ab4a
Add Jetty 12 supporting documentation (#271)
reta Apr 2, 2024
e72b083
Added Jetty 12 note on Spring page and Jetty 12 page to nav
tomakehurst Apr 2, 2024
850b87d
fix broken code tabs (#275)
limptwiglet Apr 2, 2024
5ea3b3f
Fixed some broken tabs
tomakehurst Apr 2, 2024
3e2a30c
Added stub deletion docs
tomakehurst Apr 3, 2024
328b4a4
Added docs for disabling HTTP/2
tomakehurst Apr 3, 2024
07fb97c
Added JWT doc
tomakehurst Apr 4, 2024
0d24cbe
Making the Slack callout stronger
Apr 6, 2024
5d837fc
Revert "Making the Slack callout stronger"
Apr 6, 2024
59445a1
Making the Slack callout stronger
Apr 6, 2024
6be4a49
Fixing Gemfile issue
Apr 8, 2024
2493e0c
Merge pull request #276 from ethangj/slack-wording
ethangj Apr 8, 2024
873aab5
fix: the link to the jvm page was broken, this fixes it
leeturner Apr 8, 2024
513f844
Merge pull request #277 from wiremock/fix-jvm-link
leeturner Apr 8, 2024
3737bb2
Updated WireMock version to 3.5.3
tomakehurst Apr 17, 2024
8763b63
More cloud callouts in the docs + updating what's new on the homepage
Apr 18, 2024
05bccfa
Merge pull request #278 from ethangj/additional-callouts
ethangj Apr 19, 2024
960ea00
fixing broken image
Apr 19, 2024
6bec804
Merge pull request #279 from ethangj/additional-callouts
Mahoney Apr 19, 2024
fa0cc7b
update wiremock version to 3.5.4
dieppa Apr 23, 2024
fdd5852
Merge pull request #280 from wiremock/update_wiremock_vesion_to_3_5_4
dieppa Apr 23, 2024
f30c8e0
Added --supported-proxy-encodings doc
tomakehurst Apr 25, 2024
2774db8
docs: WireMock Pact
tomasbjerre Apr 28, 2024
8171b3d
Updated gRPC version
leeturner May 9, 2024
6e1366e
Document new helper methods.
leeturner May 20, 2024
01fcc2a
Document the new lifecycle methods in the Extension interface
leeturner May 20, 2024
aab7905
Add the prefix and suffix examples
leeturner May 21, 2024
c173381
Merge pull request #283 from wiremock/document-new-helpers-and-extens…
leeturner May 22, 2024
1f943be
Merge pull request #281 from tomasbjerre/feature/pact
leeturner May 22, 2024
464d0b3
Bumped WireMockk version to 3.6.0
leeturner May 22, 2024
d6bcb09
Add new command line options description
MuTalKing Jun 1, 2024
c1ddb93
Add custom content patterns.
kyle-winkelman Jun 4, 2024
3cc3879
Updagting the studio page (#286)
ethangj Jun 5, 2024
21ddc0d
update docs
viktormelnychuk Jun 6, 2024
ca6fb47
Clarify the version of wiremock for the new helpers
leeturner Jun 12, 2024
5ccce9a
Merge remote-tracking branch 'origin/main' into clarify-wiremock-veri…
leeturner Jun 13, 2024
d86e433
Merge pull request #289 from wiremock/clarify-wiremock-verison-for-ne…
leeturner Jun 13, 2024
6b44a71
Add the new request.id to the docs
leeturner Jun 17, 2024
85375bd
implement suggestion
viktormelnychuk Jun 19, 2024
19b06ca
Adding WM Live callout
Jun 19, 2024
3a54e8b
Merge pull request #290 from wiremock/live-update
ethangj Jun 19, 2024
a780f85
Update the version number that this will be released in
leeturner Jun 20, 2024
62f1e9d
Merge pull request #288 from viktormelnychuk/update-docs-for-equal-to…
leeturner Jun 21, 2024
df50329
Bumped WireMockk version to 3.7.0
leeturner Jun 21, 2024
cfd5f25
Merge pull request #291 from wiremock/add-the-request-id-to-the-templ…
leeturner Jun 21, 2024
bf9f756
Update to the new wiremock oss logo
leeturner Jun 27, 2024
770ea20
Update to the new wiremock cloud logo on the oss site
leeturner Jun 27, 2024
651fd65
Merge pull request #293 from wiremock/update-oss-masthead-logo
leeturner Jun 27, 2024
4108dec
Document the default max cache entry size
leeturner Jun 28, 2024
068f76a
Bumped WireMockk version to 3.8.0
leeturner Jun 28, 2024
427830b
Merge remote-tracking branch 'origin/main' into 3-7-0-release-updates
leeturner Jul 1, 2024
00ee642
Add new webhook sub event information
leeturner Jul 1, 2024
54386b4
Add the new --preserve-user-agent-proxy-header config options
leeturner Jul 1, 2024
3f32500
Merge pull request #294 from wiremock/3-7-0-release-updates
leeturner Jul 1, 2024
6397ab6
Add new multipart template model additions added in 3.8.0
leeturner Jul 1, 2024
dc9482d
Merge pull request #295 from wiremock/3-8-0-release-updates
leeturner Jul 1, 2024
dff6196
Update the whats new section of the homepage to data sources
leeturner Jul 3, 2024
7a5dd6c
Merge pull request #296 from wiremock/update-what-new-to-data-sources
leeturner Jul 3, 2024
3d43c3d
Reword whats new page
leeturner Jul 3, 2024
b959cb0
Merge pull request #297 from wiremock/reword-whats-new
leeturner Jul 3, 2024
669d66c
Update the WireMock openapi with the latest updates from the main repo
leeturner Jul 4, 2024
22e6e22
Fix old url
leeturner Jul 4, 2024
530a409
Merge pull request #298 from wiremock/update-admin-openapi
leeturner Jul 4, 2024
45ec231
Update the external resources page with new items
leeturner Jul 5, 2024
44f9c66
Merge pull request #299 from wiremock/update-external-resource
leeturner Jul 5, 2024
5a82c11
Switched to redocly CLI for bundling OpenAPI, updated redoc, imported…
tomakehurst Jul 6, 2024
bcaa068
Add more content to the external resources page.
leeturner Jul 15, 2024
7fc4271
Merge pull request #300 from wiremock/add-content-to-external-resourc…
leeturner Jul 15, 2024
1553526
Add more content to the external resources page.
leeturner Jul 15, 2024
96ec365
Merge remote-tracking branch 'origin/live-publish' into live-publish
leeturner Jul 15, 2024
1e13628
Bumped WireMockk version to 3.9.0
leeturner Jul 19, 2024
eefb314
Merge remote-tracking branch 'origin/main' into live-publish
leeturner Jul 19, 2024
d966ba2
Updating WM Live callout
Jul 22, 2024
3dd55dd
Merge pull request #301 from wiremock/wiremock-live-update
leeturner Jul 23, 2024
faad424
Add link to wiremock-micronaut
leeturner Jul 23, 2024
4c6144a
Merge pull request #302 from wiremock/add-wiremock-micronaut
leeturner Jul 23, 2024
68574ec
Merge remote-tracking branch 'origin/main' into live-publish
leeturner Jul 23, 2024
7bcde1d
Bumped WireMockk version to 3.9.1
leeturner Jul 24, 2024
28a648b
update grpc docs.
RafeArnold Jul 29, 2024
8ae5d82
Merge pull request #303 from wiremock/update-grpc
RafeArnold Jul 29, 2024
acf0ef3
Add the numberFormat helper docs
leeturner Aug 8, 2024
6731d8f
Merge pull request #305 from wiremock/numberFormat-helper-docs
leeturner Aug 8, 2024
51c0e80
Update AssertJ version
scordio Aug 16, 2024
b5b358e
Bump to version 0.8.0 of the grpc extension
leeturner Aug 24, 2024
a4451aa
Merge pull request #308 from wiremock/bump-grpc-version
leeturner Aug 24, 2024
f9a9ebb
Document the missing startup options
leeturner Sep 18, 2024
bca6a74
Merge pull request #310 from wiremock/undocumented-startup-options
leeturner Sep 18, 2024
02ff48e
Add service virtualisation article
leeturner Sep 18, 2024
b22fdc1
Fix the formatting of the line in the securing admin api
leeturner Sep 18, 2024
7443290
Merge pull request #311 from wiremock/service-virtualisation-article
leeturner Sep 18, 2024
f8b5b45
Merge pull request #306 from scordio/patch-1
leeturner Sep 18, 2024
dbdd64a
Merge branch 'main' into add-new-command-options-for-http-client
leeturner Sep 18, 2024
171e23c
Merge pull request #284 from MuTalKing/add-new-command-options-for-ht…
leeturner Sep 18, 2024
c8fe1ce
Fix simple spelling mistake
leeturner Sep 18, 2024
d172f9c
bump grpc version
leeturner Sep 24, 2024
1b57d5f
linking to Wiremock Spring Boot in WireMock organization
tomasbjerre Oct 9, 2024
4d33f19
Merge pull request #312 from tomasbjerre/feature/WireMockSpringBoot
leeturner Oct 14, 2024
00df30b
Add gRPC wiremock cloud callout to the grpc page
leeturner Oct 14, 2024
12e536c
Merge pull request #313 from wiremock/add-grpc-callout
leeturner Oct 14, 2024
b079350
GRPC homepage callout
Oct 14, 2024
34ea85f
Merge pull request #314 from wiremock/grpc
leeturner Oct 14, 2024
4b7c1e0
Update Wiremock to version 3.9.2
leeturner Oct 22, 2024
913bdd2
Switched wiremock.io/product to wiremock.io/cloud-overview to avoid r…
tomakehurst Oct 24, 2024
c533c77
docs: change servces to services
SimonVerhoeven Oct 31, 2024
fe4fb2c
Document support for reversing order of offsetting and truncating exp…
papiomytoglou Nov 8, 2024
bcb859d
Merge pull request #317 from SimonVerhoeven/patch-2
leeturner Nov 10, 2024
f02bfd2
document formatJson handlebars helper.
RafeArnold Nov 22, 2024
8099ab5
document formatXml handlebars helper.
RafeArnold Nov 22, 2024
ccf5cad
document toJson handlebars helper.
RafeArnold Nov 22, 2024
7734561
document jsonArrayAdd handlebars helper.
RafeArnold Nov 22, 2024
7d1f695
document jsonMerge handlebars helper.
RafeArnold Nov 22, 2024
ff44bed
document jsonRemove handlebars helper.
RafeArnold Nov 22, 2024
50e8450
Merge pull request #319 from wiremock/new-xml-json-helpers
RafeArnold Nov 26, 2024
fb4b86e
document count option of pickRandom helper.
RafeArnold Nov 27, 2024
046c5a1
Merge pull request #320 from wiremock/pick-random-count-option
RafeArnold Nov 27, 2024
25af45b
Update Wiremock to version 3.10.0
leeturner Nov 29, 2024
1b27ada
Add wiremock version these helpers were introduced in
leeturner Dec 2, 2024
bfedda9
Merge pull request #321 from wiremock/clarify-wiremock-version-for-ne…
leeturner Dec 2, 2024
6201983
Updated Spring Boot integration docs (#322)
tomakehurst Dec 2, 2024
541eb3a
Bumped gRPC version to 0.9.0
tomakehurst Dec 2, 2024
33aeb44
Added redirect from old spring boot solution URL
tomakehurst Dec 6, 2024
477496c
Replace JSON code snippet with XML in formatXml examples
picimako Dec 25, 2024
cda7c52
Improve formatting of code snippets of the jsonMerge helper
picimako Dec 25, 2024
6d5aa0c
Improve some code snippet formatting regarding request matching
picimako Dec 25, 2024
d373da0
Merge pull request #323 from picimako/documentation-fixes
leeturner Dec 27, 2024
eee3142
Remove the old banner notification as it references an old event
leeturner Dec 30, 2024
ebce763
Enhance `jsonArrayAdd` documentation for missing parameters.
leeturner Dec 30, 2024
b5f8ecc
Merge pull request #325 from wiremock/document-missing-jsonarrayadd-p…
leeturner Dec 30, 2024
8ca027d
Merge pull request #324 from wiremock/removel-old-notification
leeturner Dec 30, 2024
3f82ef4
Merge remote-tracking branch 'origin/main' into live-publish
leeturner Dec 30, 2024
263fb58
Adding codetabs in request-matching page (#327)
wernerblanck Jan 6, 2025
0f4314c
Added redirect from old spring boot solution URL
tomakehurst Dec 6, 2024
12f5438
Merge branch 'main' into live-publish
tomakehurst Jan 6, 2025
35b8b72
Upgraded ruby-setup vesion in workflow to hopefully fix deployment
tomakehurst Jan 6, 2025
a34c40c
Further upgraded ruby-setup vesion in workflow to hopefully fix deplo…
tomakehurst Jan 6, 2025
fde5b24
Pinned Actions build to a lower ubuntu version in attempt to get publ…
tomakehurst Jan 6, 2025
b90a94b
Further upgraded ruby-setup vesion in workflow to hopefully fix deplo…
tomakehurst Jan 6, 2025
b37fe6e
Upgrading ruby-setup in the deployment workflow (duh!)
tomakehurst Jan 6, 2025
80ffe46
Merge branch 'live-publish'
tomakehurst Jan 6, 2025
0635887
Add the banner for the Jan 30th WireMock live
leeturner Jan 10, 2025
9397f67
Merge pull request #328 from wiremock/add-wiremock-live-jan-30-banner
leeturner Jan 10, 2025
c6506c6
Fix spelling mistake
leeturner Jan 10, 2025
b8aa77f
Merge pull request #329 from wiremock/fix-spelling-mistake-in-banner
leeturner Jan 10, 2025
3300d50
Update banner text for next WireMock live
leeturner Jan 10, 2025
fd26425
Merge pull request #330 from wiremock/update-banner-text
leeturner Jan 10, 2025
b370bfb
Merge pull request #285 from kyle-winkelman/customBodyMatcher
leeturner Jan 16, 2025
3b79fc3
Add redirect for custom request matching documentation
leeturner Jan 16, 2025
05fa1a5
Merge pull request #331 from wiremock/add-page-redirect-to-new-page
leeturner Jan 16, 2025
04a92db
Revert #285
leeturner Jan 16, 2025
d10591f
Merge pull request #333 from wiremock/revert-285
leeturner Jan 16, 2025
31ff184
Updated Spring Boot integration version
tomakehurst Jan 20, 2025
b8576ba
docs: add documentation for using response templating in webhooks
Mohsin-Ul-Islam Jan 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ on:
jobs:
# Build job
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "true"
- name: Setup Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 # v1.207.0
with:
ruby-version: '2.7.6' # Not needed with a .ruby-version file
ruby-version: '2.7.2' # Not needed with a .ruby-version file
bundler: '2.4.10'
bundler-cache: false # runs 'bundle install' and caches installed gems automatically
cache-version: 3 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Update RubyGems and Co
run: gem update --system
run: gem update
- name: Install Ruby Bundles
run: bundle install
- name: Build with Jekyll
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# push:
# branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -30,7 +30,7 @@ jobs:
with:
submodules: "true"
- name: Setup Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 # v1.207.0
with:
ruby-version: '2.7.6' # Not needed with a .ruby-version file
bundler: '2.4.10'
Expand All @@ -40,7 +40,7 @@ jobs:
id: pages
uses: actions/configure-pages@v3
- name: Update RubyGems and Co
run: gem update --system
run: gem update
- name: Install Ruby Bundles
run: bundle install
- name: Build with Jekyll
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/updatecli.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
wdm (0.1.1)
webrick (1.8.1)

PLATFORMS
arm64-darwin-21
arm64-darwin-23
x64-mingw32
x86_64-linux

Expand All @@ -126,7 +126,6 @@ DEPENDENCIES
jemoji
json (~> 1.8.6)
nokogiri (>= 1.7.2)
wdm (~> 0.1.0)
webrick (~> 1.7)

BUNDLED WITH
Expand Down
5 changes: 3 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,12 @@ compress_html:
ignore:
envs: development

wiremock_version: 3.3.1
wiremock_version: 3.10.0
wiremock_baseline: 3.x
pageEditPrefix: https://github.com/wiremock/wiremock.org/edit/main/

grpc_extension_version: 0.4.0
grpc_extension_version: 0.9.0
spring_boot_integration_version: 3.6.0

community_slack:
join_url: https://slack.wiremock.org/
Expand Down
14 changes: 11 additions & 3 deletions _data/doc-categories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ java:
pages:
- junit-jupiter
- junit-extensions
- spring-boot
- spring-boot-integration
- java-usage
- configuration
- running-without-http-server
- jetty-12
- android
- pact

stubbing-and-verifying:
title: Stubbing & Verifying
Expand All @@ -40,8 +42,8 @@ stubbing-and-verifying:
- proxying
- verifying

templating:
title: Templating
library:
title: Mock API Template Library
link: /docs/mock-api-templates
pages:
- mock-api-templates
Expand All @@ -59,8 +61,14 @@ protocols:
- webhooks-and-callbacks
- grpc
- solutions/graphql
- jwt
- https

integrations:
title: Integrations
pages:
- spring-boot

configuration:
title: Advanced use-cases
pages:
Expand Down
45 changes: 45 additions & 0 deletions _docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ meta_title: Configuring WireMock in Java | WireMock
description: Configuring WireMock progammatically in Java.
---

<div class="cloud-callout"><a href="https://www.wiremock.io?utm_source=oss-docs&utm_medium=oss-docs&utm_campaign=cloud-callouts-configuration&utm_id=cloud-callouts&utm_term=cloud-callouts-configuration" target="_BLANK">Centralize and scale your API mocks with WireMock Cloud.</a></div>

Both `WireMockServer` and the `WireMockRule` take a configuration builder as the parameter to their constructor e.g.

```java
Expand Down Expand Up @@ -98,6 +100,20 @@ WireMock uses the trust store for three purposes:
3. As a proxy, WireMock will trust a target server if it presents a public
certificate in this trust store


## HTTP/2 configuration

HTTP/2 can be disabled separately for plain text (HTTP) and TLS (HTTPS):

```java
// Disable HTTP/2 over HTTP
.http2PlainDisabled(true);

// Disable HTTP/2 over HTTPS
.http2TlsDisabled(true);
```


## Proxy settings

```java
Expand All @@ -109,6 +125,9 @@ WireMock uses the trust store for three purposes:

// Send the Host header in the original request onwards to the system being proxied to
.preserveHostHeader(false)

// As of WireMock `3.7.0`, when in proxy mode, this option will transfer the original `User-Agent` header from the client to the proxied service.
.preserveUserAgentProxyHeader(true)

// Override the Host header sent when reverse proxying to another system (this and the previous parameter are mutually exclusive)
.proxyHostHeader("my.otherdomain.com")
Expand All @@ -130,6 +149,11 @@ WireMock uses the trust store for three purposes:

// The type of the CA key store
.caKeystoreType("JKS")

// Which proxy encodings to proxy through to the target if the request contains an Accept-Encoding header
// By default this is null, which means the header is sent to the target unchanged
// If there is an Accept-Encoding header on the request, and it does not contain any of the supported proxy encodings, the header is not sent to the target.
.withSupportedProxyEncodings("gzip", "deflate")
```

## File locations
Expand All @@ -156,6 +180,16 @@ The request journal records requests received by WireMock. It is required by the
.maxRequestJournalEntries(Optional.of(100))
```

## Template Cache

When response templating is enabled, compiled template fragments are cached to improve performance. This setting allows
you to configure the maximum number of entries to allow in the cache. As of WireMock `3.7.0`, this defaults to 1000
cache entries. Before WireMock `3.7.0` the default was unlimited

```java
.withMaxTemplateCacheEntries(100)
```

## Notification (logging)

WireMock wraps all logging in its own `Notifier` interface. It ships with no-op, Slf4j and console (stdout) implementations.
Expand Down Expand Up @@ -273,3 +307,14 @@ To output all raw traffic to console use `ConsoleNotifyingWiremockNetworkTraffic
If you would like to collect the traffic
and for example add it to your acceptance test's output,
you can use the `CollectingNetworkTrafficListener`.

## HTTP Client
If you want to increase the proxying performance of wiremock you can enable Connection reuse and increse max Connections

```java
// Maximum connections for Http Client
.maxHttpClientConnections(1000);
//Disable http connection reuse, `false` to enable
.disableConnectionReuse(true)
```

21 changes: 11 additions & 10 deletions _docs/download-and-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ title: Download and Installation
meta_title: "How to Download and Install WireMock"
toc_rank: 13
description: >
WireMock is available as a standalone service (for Docker of Java), Java library
and integrations for modern languages and technology stacks.
redirect_from:
- "/download.html"
- "/download/"
- "/downloads.html"
- "/downloads/"
- "/docs/download.html"
- "/docs/download/"
WireMock is available as a standalone service (for Docker of Java), Java library
and integrations for modern languages and technology stacks.
redirect_from:
- "/download.html"
- "/download/"
- "/downloads.html"
- "/downloads/"
- "/docs/download.html"
- "/docs/download/"
---

<div class="cloud-callout"><a href="https://www.wiremock.io?utm_source=oss-docs&utm_medium=oss-docs&utm_campaign=cloud-callouts-install&utm_id=cloud-callouts&utm_term=cloud-callouts-install" target="_BLANK">To create publicly hosted mock APIs without anything to install, learn more about WireMock Cloud.</a></div>

## Download options

Expand Down Expand Up @@ -58,7 +59,7 @@ docker run -it --rm -p 8080:8080 --name wiremock \

{% endcodetab %}

{% codetab Gradle Groovy %}
{% codetab Gradle %}

```groovy
testImplementation "org.wiremock:wiremock-standalone:{{ site.wiremock_version }}"
Expand Down
6 changes: 6 additions & 0 deletions _docs/extending-wiremock.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ redirect_from: "/extending-wiremock.html"
description: You can register the extension programmatically via its class name, class or an instance
---

<div class="cloud-callout"><a href="https://www.wiremock.io?utm_source=oss-docs&utm_medium=oss-docs&utm_campaign=cloud-callouts-extending&utm_id=cloud-callouts&utm_term=cloud-callouts-extending" target="_BLANK">Chaos testing, RBAC, dynamic state and more with WireMock Cloud.</a></div>

WireMock can be customised via a variety of extension points.

Each extension point is defined by an interface that extends from `Extension` and extension implementations are loaded at startup time.
Expand All @@ -26,6 +28,10 @@ At present, the following extension interfaces are available:

The interfaces in this list ending with `V2` supercede deprecated equivalents with an older, more restrictive interface. Additionally `ServeEventListener` deprecates `PostServeAction`.

As of WireMock version `3.6.0`, the `Extension` interface has two new lifecycle methods called `start()` and `stop()`.
The `start()` method is called on each extension when the WireMock server first starts (just before the stub mappings
are loaded) and the `stop()` method is called when the server is stopped. This allows extensions to perform any
initialisation or cleanup tasks.

## Registering Extensions

Expand Down
2 changes: 1 addition & 1 deletion _docs/extensibility/adding-template-model-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ meta_title: Adding Template Model Data
description: Adding extra elements to the template model during request processing
---

Extensions that implement the `TemplateHelperProviderExtension` interface provide additional Handlebars helpers to the templating system:
Extensions that implement the `TemplateModelDataProviderExtension` interface provide additional model elements to the templating system:

```java
new WireMockServer(.extensions(
Expand Down
2 changes: 2 additions & 0 deletions _docs/extensibility/filtering-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ meta_title: Filtering and Modifying Requests
description: Filtering and modifying requests via extensions
---

<div class="cloud-callout"><a href="https://www.wiremock.io?utm_source=oss-docs&utm_medium=oss-docs&utm_campaign=cloud-callouts-filtering&utm_id=cloud-callouts&utm_term=cloud-callouts-filtering" target="_BLANK">If you need to protect your mock APIs with Enterprise-grade security options, learn about WireMock Cloud.</a></div>

Requests to both stubs and the admin API can be intercepted and either modified or halted with an immediate response.
This supports a number of use cases including: authentication, URL rewriting and request header injection.

Expand Down
1 change: 1 addition & 0 deletions _docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ At the moment, we provide the following quick starts for beginners:

- [API Mocking with Java and JUnit 4](../quickstart/java-junit)
- [Downloading and Installing WireMock](../download-and-installation)
- [Using WireMock with Jetty 12](../jetty-12)

<!-- TODO: Add standalone in Docker -->

Expand Down
Loading