Skip to content

Commit

Permalink
upgrade spring-boot version (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroopar committed Nov 27, 2023
1 parent 7203844 commit 41fd84a
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion modules/security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<artifactId>wiremock-standalone</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion plugins/flexibleengine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<artifactId>wiremock-standalone</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion plugins/huaweicloud/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<artifactId>wiremock-standalone</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion plugins/openstack/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<artifactId>wiremock-standalone</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.5</version>
<version>3.2.0</version>
</parent>
<licenses>
<license>
Expand All @@ -34,13 +34,13 @@
</modules>
<properties>
<java.version>21</java.version>
<spring-boot.version>3.1.5</spring-boot.version>
<spring-boot.version>3.2.0</spring-boot.version>
<spring.retry.version>2.0.4</spring.retry.version>
<junit-jupiter.version>5.10.0</junit-jupiter.version>
<lombok.version>1.18.30</lombok.version>
<checkstyle-maven-plugin.version>3.3.0</checkstyle-maven-plugin.version>
<logbook.version>3.5.0</logbook.version>
<wiremock.version>3.2.0</wiremock.version>
<wiremock.version>3.3.1</wiremock.version>
<instancio.version>3.4.0</instancio.version>
<caffeine.cache.version>3.1.8</caffeine.cache.version>
<awaitility.version>4.2.0</awaitility.version>
Expand All @@ -65,8 +65,8 @@
<huaweicloud.sdk.version>3.1.41</huaweicloud.sdk.version>
<maven.clean.plugin.version>3.1.0</maven.clean.plugin.version>
<maven.compile.plugin.version>3.10.1</maven.compile.plugin.version>
<maven.javadoc.plugin.version>3.4.1</maven.javadoc.plugin.version>
<maven.source.plugin.version>3.2.1</maven.source.plugin.version>
<maven.javadoc.plugin.version>3.6.2</maven.javadoc.plugin.version>
<maven.source.plugin.version>3.3.0</maven.source.plugin.version>
<maven.dependency.plugin.version>3.3.0</maven.dependency.plugin.version>
<maven.surefire.plugin.version>2.22.2</maven.surefire.plugin.version>
<maven.resources.plugin.version>3.3.1</maven.resources.plugin.version>
Expand Down Expand Up @@ -198,8 +198,8 @@
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<version>${wiremock.version}</version>
<artifactId>wiremock-standalone</artifactId>
<version>3.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<artifactId>wiremock-standalone</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@ void deployCallbackThrowsException() throws Exception {

// Run the test
final MockHttpServletResponse deployCallbackResponse =
mockMvc.perform(post("/webhook/deploy/")
mockMvc.perform(post("/webhook/deploy/bfdbc175-9f27-4679-8a4d-1f6b8c91386b")
.contentType(MediaType.APPLICATION_JSON)
.accept(MediaType.APPLICATION_JSON)
.content(requestBody))
.andReturn().getResponse();

// Verify the results
Assertions.assertEquals(HttpStatus.NOT_FOUND.value(), deployCallbackResponse.getStatus());
Assertions.assertEquals(HttpStatus.BAD_REQUEST.value(), deployCallbackResponse.getStatus());
}

void testGetServiceDetailsThrowsException() throws Exception {
Expand Down Expand Up @@ -273,14 +273,14 @@ void destroyCallbackThrowsException() throws Exception {

// Run the test
final MockHttpServletResponse destroyCallbackResponse =
mockMvc.perform(post("/webhook/destroy/")
mockMvc.perform(post("/webhook/destroy/bfdbc175-9f27-4679-8a4d-1f6b8c91386b")
.contentType(MediaType.APPLICATION_JSON)
.accept(MediaType.APPLICATION_JSON)
.content(requestBody))
.andReturn().getResponse();

// Verify the results
Assertions.assertEquals(HttpStatus.NOT_FOUND.value(), destroyCallbackResponse.getStatus());
Assertions.assertEquals(HttpStatus.BAD_REQUEST.value(), destroyCallbackResponse.getStatus());

}
}

0 comments on commit 41fd84a

Please sign in to comment.