Add support for WireMock matchers on restdocs stub builder

This commit is contained in:
Dave Syer
2016-07-27 09:16:12 +01:00
parent 4e21cbd884
commit 5609ffe76c
6 changed files with 154 additions and 23 deletions

View File

@@ -5,9 +5,6 @@ buildscript {
maven { url "http://repo.spring.io/libs-snapshot-local" }
maven { url "http://repo.spring.io/libs-release-local" }
maven { url "http://repo.spring.io/libs-staging-local" }
maven { url 'http://repo.spring.io/plugins-snapshot' }
maven { url "http://repo.spring.io/plugins-release-local" }
maven { url "http://repo.spring.io/plugins-staging-local/" }
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.4.0.BUILD-SNAPSHOT"
@@ -41,7 +38,8 @@ dependencies {
compile("org.springframework.boot:spring-boot-starter-actuator")
testCompile 'org.springframework.cloud:spring-cloud-contract-wiremock'
testCompile "org.springframework.cloud:spring-cloud-starter-contract-stub-runner"
testCompile "org.springframework.boot:spring-boot-starter-test"
testCompile "com.example:http-server-restdocs:0.0.1-SNAPSHOT:stubs"
}
test {

View File

@@ -141,22 +141,6 @@
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-plugin-snapshots</id>
<name>Spring Snapshots</name>
<url>http://repo.spring.io/plugins-snapshot-local</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-plugin-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/plugins-milestone-local</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>