Skip to content

Commit

Permalink
Merge pull request #28 from lsd-consulting/#27-spring_boot_3
Browse files Browse the repository at this point in the history
chore: #27 Upgrade Spring Boot to 3.2.2
  • Loading branch information
lukasz-gryzbon committed Feb 3, 2024
2 parents 476c163 + 915a1a7 commit 1c51ef6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.springframework.boot.gradle.plugin.SpringBootPlugin

plugins {
id 'org.springframework.boot' version '2.7.10'
id 'org.springframework.boot' version '3.2.2'
id 'io.spring.dependency-management' version '1.1.4'
id 'java-library'
id 'maven-publish'
Expand Down Expand Up @@ -44,7 +44,7 @@ jacocoTestReport {
apply plugin: 'io.spring.dependency-management'
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2021.0.6'
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2023.0.0'
mavenBom 'io.pivotal.spring.cloud:spring-cloud-services-dependencies:4.1.0'
mavenBom SpringBootPlugin.BOM_COORDINATES
}
Expand Down
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
implementation 'io.github.lsd-consulting:lsd-logging-library:1.0.8'

// Spring
compileOnly 'org.springframework.boot:spring-boot-autoconfigure:2.7.10'
compileOnly 'org.springframework.boot:spring-boot-autoconfigure:3.2.2'

// Other
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.16.1'
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
io.lsdconsulting.lsd.distributed.postgres.config.LibraryConfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ internal open class BaseIT {
serviceName = RandomStringUtils.randomAlphanumeric(30),
target = RandomStringUtils.randomAlphanumeric(30),
path = RandomStringUtils.randomAlphanumeric(100),
httpStatus = HttpStatus.values()[RandomUtils.nextInt(0, HttpStatus.values().size - 1)].name,
httpMethod = HttpMethod.values()[RandomUtils.nextInt(0, HttpMethod.values().size - 1)].name,
interactionType = InteractionType.values()[RandomUtils.nextInt(0, InteractionType.values().size - 1)],
httpStatus = HttpStatus.entries[RandomUtils.nextInt(0, HttpStatus.entries.size - 1)].name,
httpMethod = HttpMethod.values()[RandomUtils.nextInt(0, HttpMethod.values().size - 1)].name(),
interactionType = InteractionType.entries[RandomUtils.nextInt(0, InteractionType.entries.size - 1)],
profile = RandomStringUtils.randomAlphanumeric(20),
elapsedTime = RandomUtils.nextLong(),
createdAt = ZonedDateTime.now(ZoneId.of("UTC")).truncatedTo(MILLIS)
Expand Down Expand Up @@ -78,4 +78,4 @@ internal open class BaseIT {
postgreSQLContainer.stop()
}
}
}
}
1 change: 1 addition & 0 deletions test.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa'

// Other
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.2'
testImplementation 'org.junit.platform:junit-platform-commons:1.9.2'
testImplementation 'org.awaitility:awaitility:4.1.1'
Expand Down

0 comments on commit 1c51ef6

Please sign in to comment.