Skip to content

Commit

Permalink
Switch to org.wiremock:wiremock-standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Dec 6, 2023
1 parent 7c28220 commit 414ecf3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 32 deletions.
4 changes: 2 additions & 2 deletions integration-tests-support/wiremock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<artifactId>camel-quarkus-integration-test-support-mock-backend</artifactId>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock</artifactId>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
Expand Down
13 changes: 2 additions & 11 deletions integration-tests/oaipmh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@
<artifactId>rest-assured</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-integration-test-support</artifactId>
Expand All @@ -83,14 +78,10 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock</artifactId>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
</dependencies>

<profiles>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

import java.util.Map;

import com.github.tomakehurst.wiremock.core.WireMockConfiguration;
import com.github.tomakehurst.wiremock.extension.responsetemplating.ResponseTemplateTransformer;
import org.apache.camel.quarkus.test.wiremock.WireMockTestResourceLifecycleManager;

public class OpenStackTestResource extends WireMockTestResourceLifecycleManager {
Expand All @@ -41,10 +39,4 @@ protected String getRecordTargetBaseUrl() {
protected boolean isMockingEnabled() {
return true;
}

@Override
protected void customizeWiremockConfiguration(WireMockConfiguration config) {
config.extensions(new ResponseTemplateTransformer(false));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

import java.util.Map;

import com.github.tomakehurst.wiremock.core.WireMockConfiguration;
import com.github.tomakehurst.wiremock.extension.responsetemplating.ResponseTemplateTransformer;
import org.apache.camel.quarkus.test.wiremock.WireMockTestResourceLifecycleManager;

public class SalesforceTestResource extends WireMockTestResourceLifecycleManager {
Expand Down Expand Up @@ -50,10 +48,4 @@ public Map<String, String> start() {
}
return options;
}

@Override
protected void customizeWiremockConfiguration(WireMockConfiguration config) {
config.extensions(new ResponseTemplateTransformer(false));
}

}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<pdfbox.version>${pdfbox-version}</pdfbox.version>
<sshd.version>2.10.0</sshd.version><!-- @sync io.quarkus:quarkus-bom:${quarkus.version} dep:org.apache.sshd:sshd-common -->
<unboundid-ldapsdk.version>6.0.11</unboundid-ldapsdk.version>
<wiremock.version>3.0.0-beta-10</wiremock.version>
<wiremock.version>3.3.1</wiremock.version>
<zt-exec.version>1.12</zt-exec.version>

<!-- Tooling dependency versions (keep sorted alphabetically) -->
Expand Down
4 changes: 2 additions & 2 deletions poms/bom-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@
</exclusions>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock</artifactId>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
<version>${wiremock.version}</version>
<exclusions>
<exclusion>
Expand Down

0 comments on commit 414ecf3

Please sign in to comment.