From 550efb2aa2c5449789d5a207e100ad296c53eb28 Mon Sep 17 00:00:00 2001 From: Rajeev Singh Date: Wed, 27 Nov 2019 15:29:59 +0530 Subject: [PATCH 1/2] Bump up spring boot version to 2.2.1 --- pom.xml | 2 +- src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index ff160fd..2b558f8 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.1.RELEASE + 2.2.1.RELEASE diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index ff398ee..35b376a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,6 @@ ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) spring.datasource.url=jdbc:postgresql://localhost:5432/postgres_demo -spring.datasource.username= rajeevkumarsingh +spring.datasource.username= postgres spring.datasource.password= # The SQL dialect makes Hibernate generate better SQL for the chosen database From 15e8161c390d709958b121384dbbe96aa514f357 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Singh Date: Wed, 13 Oct 2021 22:40:54 +0530 Subject: [PATCH 2/2] Bump up Sprint Boot version to 2.5.5 --- pom.xml | 9 ++++++--- .../postgresdemo/PostgresDemoApplicationTests.java | 5 +---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 2b558f8..2c23e76 100644 --- a/pom.xml +++ b/pom.xml @@ -14,14 +14,14 @@ org.springframework.boot spring-boot-starter-parent - 2.2.1.RELEASE + 2.5.5 UTF-8 UTF-8 - 1.8 + 11 @@ -33,7 +33,10 @@ org.springframework.boot spring-boot-starter-web - + + org.springframework.boot + spring-boot-starter-validation + org.postgresql postgresql diff --git a/src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java b/src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java index 163f493..dea7bde 100644 --- a/src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java +++ b/src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java @@ -1,11 +1,8 @@ package com.example.postgresdemo; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class PostgresDemoApplicationTests {