Skip to content

Commit

Permalink
configure Wiremock to accept PUT requests
Browse files Browse the repository at this point in the history
Signed-off-by: l-1squared <[email protected]>
  • Loading branch information
l-1squared committed Dec 8, 2023
1 parent bfdba02 commit 7e4f933
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mock_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
wget https://repo1.maven.org/maven2/org/wiremock/wiremock-standalone/3.3.1/wiremock-standalone-3.3.1.jar
wiremock=$(find ./ -name "wiremock-standalone-*.jar")
java -jar ${wiremock} --port 7000 --verbose &
curl -X POST --data '{"request": {"url": "/com/tngtech/jgiven/*", "method": "PUT"}, "response": {"status": 200, "body": "OK"}}' http://localhost:7000/__admin/mappings/new
- name: set an alternate version
run: "source scripts/source_files/helper_functions.sh && updateAllVersionInformation ${VERSION}"
- name: Attempt mock release
Expand Down

0 comments on commit 7e4f933

Please sign in to comment.