Added wiremock extension for remote servers #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added wiremock extension for remote servers.
Motivation
When using the wiremock Docker image, wiremock is started as a remote server.
The current implementation of extensions in this repository only supports local invocation of wiremock (eg within a test runner). We want to use this extension on our wiremock remote server as well.
What changes did you make?
parameters: Parameter
(this allows the remote server to communicate with the local client via Parameter)mvn package
. The reason for this is that it is convenient to make the remote wiremock server awaremockk<Parameter>
)About what we tested
mvn package
powered by Google Translate
[日本語] リモートサーバー用のワイヤーモック拡張機能を追加
モチベーション
wiremockのDockerイメージを使う場合、wiremockはリモートサーバーとして起動します。
現在のこのリポジトリのエクステンション実装はwiremockのローカル起動(例テストランナー内での起動)の場合のみしかサポートしていません。我々はwiremockのリモートサーバーでもこのエクステンションを使用したいです。
どのような変更をあなたは加えました?
parameters: Parameter
をチェックするようにしました(これにより、リモートサーバーはParameterを介してローカルのクライアントとコミュニケーション出来ます)mvn package
実行時に依存関係を全て含んだjarを作成します。これの理由は、remoteのwiremockサーバーに認識させるのに都合が良いためですmockk<Parameter>
)テストした内容について
maven package