Repository: hub4j/github-api
Pull request #1336 (2021-12-02 16:41:52)

Chore(deps-dev): Bump wiremock-jre8-standalone from 2.31.0 to 2.32.0
Bumps [wiremock-jre8-standalone](https://github.com/wiremock/wiremock) from 2.31.0 to 2.32.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/wiremock/wiremock/releases">wiremock-jre8-standalone's releases</a>.</em></p>
<blockquote>
<h2>2.32.0</h2>
<h3>Enhancements</h3>
<ul>
<li>Closes <a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1614">#1614</a> - proper support for subclassing of the JUnit5 WireMockExtension</li>
<li>Add support for put/delete file to/from a subfolder (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1087">#1087</a>)</li>
<li>Closes <a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/956">#956</a> - added the ability to fetch serve events for a specific stub ID</li>
<li>Added ability to query unmatched serve events</li>
<li>Added ability to verify requests using a custom matcher</li>
<li>Upgraded to Apache HTTP Client 5.x</li>
<li>Added <code>WireMock.jsonResponse</code> factory methods (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1428">#1428</a>)</li>
<li><a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/745">#745</a> Need proxyUrlPrefixToRemove for proxy context url mapping (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1556">#1556</a>)</li>
<li>Removed dependence on Conscrypt for ALPN and HTTP/2</li>
<li>Recognize multipart/related and multipart/mixed (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1415">#1415</a>)</li>
<li>Allow running Wiremock without HTTP Server (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1572">#1572</a>)</li>
<li>Allow standalone runner to fetch mappings from classpath (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1592">#1592</a>)</li>
<li>Added new command line parameters &quot;--jetty-header-request-size&quot; and &quot;--jetty-header-response-size&quot; for set a custom size of headers in Jetty. &quot;--jetty-header-buffer-size&quot; is deprecated.</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Closes <a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1688">#1688</a> - fall back to HTTPS 1.1 only when no ALPN provider can be loaded</li>
<li>Fixed <a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1643">#1643</a> - regression in date parsing preventing year and year/month only dates</li>
<li><a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1612">#1612</a> prevent applying scientific notation and rounding to big numbers by ObjectMapper (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1613">#1613</a>)</li>
<li>Fixed <a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1608">#1608</a> and <a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1585">#1585</a> - incorrect zoning of date/times in response templating when truncating</li>
</ul>
<h3>Code quality</h3>
<ul>
<li>Enforce license headers with Spotless</li>
<li>Enforce consistent code style with Spotless</li>
<li>Upgrade to Gradle 7 + some Gradle config cleanup (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1639">#1639</a>)</li>
<li>Convert AcceptanceTestBase to JUnit Jupiter to limit future violations (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1669">#1669</a>)</li>
<li>Enable WireMock to be built on Java 11 and 17</li>
<li>Drop JMock in favour of Mockito (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1630">#1630</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/wiremock/wiremock/commit/d6b6c5e4d18e75f2a585398aa1839eca68b4e5e1"><code>d6b6c5e</code></a> Bump mockito-junit-jupiter from 4.0.0 to 4.1.0 (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1705">#1705</a>)</li>
<li><a href="https://github.com/wiremock/wiremock/commit/8472f873db5d1f55974004aaa0a03eb043089c39"><code>8472f87</code></a> Bump com.diffplug.spotless from 5.17.1 to 6.0.0 (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1704">#1704</a>)</li>
<li><a href="https://github.com/wiremock/wiremock/commit/9e0e3de0ea818c65af574e573160ea4ac41fd16a"><code>9e0e3de</code></a> Bump mockito-core from 3.12.4 to 4.1.0 (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1703">#1703</a>)</li>
<li><a href="https://github.com/wiremock/wiremock/commit/0b24d9d1963599bab45f08ab00091e46df1f8803"><code>0b24d9d</code></a> Added a Docker doc article</li>
<li><a href="https://github.com/wiremock/wiremock/commit/d9a3fa743cdbfb4ea194b33ddfcf77ba901ba401"><code>d9a3fa7</code></a> Bump versions.junitJupiter from 5.8.1 to 5.8.2 (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1712">#1712</a>)</li>
<li><a href="https://github.com/wiremock/wiremock/commit/b0fcf0471e58f10a09b1515f180d1deace05fea2"><code>b0fcf04</code></a> Run tests on JDK 17 (<a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1695">#1695</a>)</li>
<li><a href="https://github.com/wiremock/wiremock/commit/6180a2779ba912ab930f1b6c5627ef7eae10ed7a"><code>6180a27</code></a> Added some Javadoc to WireMock extension and made JUnit lifecycle methods fin...</li>
<li><a href="https://github.com/wiremock/wiremock/commit/2a2bc78a381f0a4c88c683fe29230e5f0854bc63"><code>2a2bc78</code></a> Further attempt at fixing flakey JUnit5 subclassing test by moving test class...</li>
<li><a href="https://github.com/wiremock/wiremock/commit/e6a3c8758f10d8e0d1d340dd69bd56c7f09b3979"><code>e6a3c87</code></a> Attempt at fixing flakey JUnit5 subclassing test</li>
<li><a href="https://github.com/wiremock/wiremock/commit/bf048fac8ad6b4d5ca845fbe049e04a0af13ceac"><code>bf048fa</code></a> Closes <a href="https://github-redirect.dependabot.com/wiremock/wiremock/issues/1614">#1614</a> - proper support for subclassing of the JUnit5 WireMockExtension</li>
<li>Additional commits viewable in <a href="https://github.com/wiremock/wiremock/compare/2.31.0...2.32.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.github.tomakehurst:wiremock-jre8-standalone&package-manager=maven&previous-version=2.31.0&new-version=2.32.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


Patch:
diff --git a/pom.xml b/pom.xml
index 4313ff556..1a77f4116 100644
--- a/pom.xml
+++ b/pom.xml
@@ -553,7 +553,7 @@
     <dependency>
       <groupId>com.github.tomakehurst</groupId>
       <artifactId>wiremock-jre8-standalone</artifactId>
-      <version>2.31.0</version>
+      <version>2.32.0</version>
       <scope>test</scope>
     </dependency>
     <dependency>


Test patch:
diff --git a/src/test/java/org/kohsuke/github/junit/WireMockRule.java b/src/test/java/org/kohsuke/github/junit/WireMockRule.java
index ee387d428..0e5340fb5 100644
--- a/src/test/java/org/kohsuke/github/junit/WireMockRule.java
+++ b/src/test/java/org/kohsuke/github/junit/WireMockRule.java
@@ -290,6 +290,10 @@ public class WireMockRule implements MethodRule, TestRule, Container, Stubbing,
         return wireMockServer.getServeEvents();
     }
 
+    public GetServeEventsResult getServeEvents(ServeEventQuery serveEventQuery) {
+        return wireMockServer.getServeEvents(serveEventQuery);
+    }
+
     public SingleServedStubResult getServedStub(UUID id) {
         return wireMockServer.getServedStub(id);
     }
diff --git a/src/test/java/org/kohsuke/github/junit/WireMockRuleConfiguration.java b/src/test/java/org/kohsuke/github/junit/WireMockRuleConfiguration.java
index f3ebda84b..478e14272 100644
--- a/src/test/java/org/kohsuke/github/junit/WireMockRuleConfiguration.java
+++ b/src/test/java/org/kohsuke/github/junit/WireMockRuleConfiguration.java
@@ -188,4 +188,17 @@ public class WireMockRuleConfiguration implements Options {
     public boolean getStubCorsEnabled() {
         return parent.getStubCorsEnabled();
     }
+
+    public long timeout() {
+        return parent.timeout();
+    }
+
+    public boolean getDisableOptimizeXmlFactoriesLoading() {
+        return parent.getDisableOptimizeXmlFactoriesLoading();
+    }
+
+    public boolean getDisableStrictHttpHeaders() {
+        return parent.getDisableStrictHttpHeaders();
+    }
+
 }