lydtechconsulting / component-test-framework

Framework for component testing an application
Apache License 2.0
13 stars 3 forks source link

feat: Add support for passing CLI arguments to Wiremock #24

Closed Matt-B closed 5 months ago

Matt-B commented 5 months ago

This PR adds support for passing CLI arguments to Wiremock via the WIREMOCK_OPTIONS environment variable. This enables passing in values like --global-response-templating to enable global response templating. The property defaults to an empty string if not specified.

This method of passing arguments is only supported from version 3.2.0-2 onwards, so this PR also updates the default Wiremock image tag to 3.6.0.