Bumping versions

This commit is contained in:
buildmaster
2021-02-19 00:20:52 +00:00
parent a69b207c88
commit d062b72805
16 changed files with 23 additions and 23 deletions

View File

@@ -19,7 +19,6 @@ If you prefer to learn about the project by doing some tutorials, you can check
workshops under
https://cloud-samples.spring.io/spring-cloud-contract-samples/workshops.html[this link].
== Project page
You can read more about Spring Cloud Contract by going to https://spring.io/projects/spring-cloud-contract[the project page]

View File

@@ -1,4 +1,4 @@
org.gradle.daemon=false
verifierVersion=3.0.2-SNAPSHOT
springBootVersion=2.4.3-SNAPSHOT
springBootVersion=2.4.3
camelVersion=3.4.3

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.4.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -93,13 +93,11 @@ public final class RegexPatterns {
+ value + "\r?\n--.*";
}
public static String multipartFile(Object name, Object filename, Object content,
Object contentType) {
return ".*--(.*)\r?\nContent-Disposition: form-data; name=\"" + name
+ "\"; filename=\"" + filename + "\"\r?\n(Content-Type: "
+ toContentType(contentType)
+ "\r?\n)?(Content-Transfer-Encoding: .*\r?\n)?(Content-Length: \\d+\r?\n)?\r?\n"
+ content + "\r?\n--.*";
public static String multipartFile(Object name, Object filename, Object content, Object contentType) {
return ".*--(.*)\r?\nContent-Disposition: form-data; name=\"" + name + "\"; filename=\"" + filename
+ "\"\r?\n(Content-Type: " + toContentType(contentType)
+ "\r?\n)?(Content-Transfer-Encoding: .*\r?\n)?(Content-Length: \\d+\r?\n)?\r?\n" + content
+ "\r?\n--.*";
}
private static String toContentType(Object contentType) {

View File

@@ -16,5 +16,5 @@
wiremockVersion=2.27.0
jsonAssertVersion=0.4.13
verifierVersion=3.0.2-SNAPSHOT
bootVersion=2.4.3-SNAPSHOT
bootVersion=2.4.3
groovyVersion=2.4.17

View File

@@ -16,5 +16,5 @@
wiremockVersion=2.27.0
jsonAssertVersion=0.4.13
verifierVersion=3.0.2-SNAPSHOT
bootVersion=2.4.3-SNAPSHOT
bootVersion=2.4.3
groovyVersion=2.4.17

View File

@@ -47,7 +47,7 @@ class AutoConfigureWireMockWithResetAfterEachTestNestedApplicationTests {
@Test
@Order(1)
void outerTest() {
void outerTest() {
this.wireMockServer
.givenThat(WireMock.get("/should_register_mapping").willReturn(WireMock.aResponse().withBody("bar")));
@@ -73,12 +73,15 @@ class AutoConfigureWireMockWithResetAfterEachTestNestedApplicationTests {
@Test
@Order(3)
void innerTwo() {
WireMock.givenThat(WireMock.get("/should_register_mapping").willReturn(WireMock.aResponse().withBody("bar")));
WireMock.givenThat(
WireMock.get("/should_register_mapping").willReturn(WireMock.aResponse().withBody("bar")));
String result = new RestTemplate().getForObject("http://" + hostname + "/should_register_mapping",
String.class);
then(result).isEqualTo("bar");
}
}
}