Skip to content

Commit

Permalink
SDIT-2362: ⬆️ Upgrade spring boot to 3.4.1 (#2319)
Browse files Browse the repository at this point in the history
  • Loading branch information
petergphillips authored Dec 31, 2024
1 parent 6c71778 commit 49b6457
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/security_owasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
security-kotlin-owasp-check:
name: Kotlin security OWASP dependency check
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_owasp.yml@v1 # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_owasp.yml@v2 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SECURITY_ALERTS_SLACK_CHANNEL_ID || 'NO_SLACK' }}
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/security_trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
security-kotlin-trivy-check:
name: Project security trivy dependency check
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_trivy.yml@v1 # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_trivy.yml@v2 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SECURITY_ALERTS_SLACK_CHANNEL_ID || 'NO_SLACK' }}
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/security_veracode_pipeline_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
security-veracode-pipeline-scan:
name: Project security veracode pipeline scan
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_veracode_pipeline_scan.yml@v1 # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_veracode_pipeline_scan.yml@v2 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SECURITY_ALERTS_SLACK_CHANNEL_ID || 'NO_SLACK' }}
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/security_veracode_policy_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
security-veracode-policy-check:
name: Project security veracode policy scan
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_veracode_policy_scan.yml@v1 # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_veracode_policy_scan.yml@v2 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SECURITY_ALERTS_SLACK_CHANNEL_ID || 'NO_SLACK' }}
secrets: inherit
3 changes: 3 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
# Suppression for h2 2.1.214 password on command line vulnerability
# can be suppressed as we only run h2 locally and not on build environments
CVE-2022-45868
# Suppression for tomcat vulnerability affecting jsp compilation in the default servlet
# can be suppressed as we do not use the default servlet and haven't configured it for write either
CVE-2024-50379
16 changes: 8 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("uk.gov.justice.hmpps.gradle-spring-boot") version "6.1.0"
id("uk.gov.justice.hmpps.gradle-spring-boot") version "6.1.2"
kotlin("plugin.spring") version "2.0.21"
kotlin("plugin.jpa") version "2.0.21"
kotlin("plugin.lombok") version "2.0.21"
Expand All @@ -21,7 +21,7 @@ dependencies {
annotationProcessor("org.projectlombok:lombok:1.18.36")
testAnnotationProcessor("org.projectlombok:lombok:1.18.36")

implementation("uk.gov.justice.service.hmpps:hmpps-kotlin-spring-boot-starter:1.1.0")
implementation("uk.gov.justice.service.hmpps:hmpps-kotlin-spring-boot-starter:1.1.1")
implementation("org.springframework.boot:spring-boot-starter-aop")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-jdbc")
Expand All @@ -39,8 +39,8 @@ dependencies {

implementation("org.apache.commons:commons-lang3:3.17.0")
implementation("commons-io:commons-io:2.18.0")
implementation("com.google.guava:guava:33.3.1-jre")
implementation("org.apache.commons:commons-text:1.12.0")
implementation("com.google.guava:guava:33.4.0-jre")
implementation("org.apache.commons:commons-text:1.13.0")
implementation("com.oracle.database.jdbc:ojdbc10:19.25.0.0")
implementation("org.hibernate.orm:hibernate-community-dialects")

Expand All @@ -50,7 +50,7 @@ dependencies {
runtimeOnly("org.hsqldb:hsqldb:2.7.4")
runtimeOnly("org.flywaydb:flyway-database-hsqldb")

testImplementation("uk.gov.justice.service.hmpps:hmpps-kotlin-spring-boot-starter-test:1.1.0")
testImplementation("uk.gov.justice.service.hmpps:hmpps-kotlin-spring-boot-starter-test:1.1.1")
testImplementation("org.springframework.boot:spring-boot-test-autoconfigure")
testImplementation("org.springframework.boot:spring-boot-starter-webflux")
testImplementation("io.rest-assured:rest-assured:5.5.0")
Expand All @@ -63,18 +63,18 @@ dependencies {
testImplementation("org.powermock:powermock-module-junit4:2.0.9")

testImplementation("com.tngtech.java:junit-dataprovider:1.13.1")
testImplementation("net.javacrumbs.json-unit:json-unit-assertj:4.0.0")
testImplementation("net.javacrumbs.json-unit:json-unit-assertj:4.1.0")

testImplementation("net.serenity-bdd:serenity-core:4.2.9")
testImplementation("net.serenity-bdd:serenity-junit:4.2.9")
testImplementation("net.serenity-bdd:serenity-spring:4.2.9")
testImplementation("net.serenity-bdd:serenity-cucumber:4.2.9")
testImplementation("com.paulhammant:ngwebdriver:1.2")
testImplementation("org.wiremock:wiremock:3.9.2")
testImplementation("org.wiremock:wiremock:3.10.0")
testImplementation("io.swagger.parser.v3:swagger-parser:2.1.24") {
exclude(group = "io.swagger.core.v3")
}
testImplementation("io.swagger.core.v3:swagger-core-jakarta:2.2.26")
testImplementation("io.swagger.core.v3:swagger-core-jakarta:2.2.27")
testImplementation("commons-beanutils:commons-beanutils:1.9.4")
testImplementation("io.opentelemetry:opentelemetry-sdk-testing:1.43.0")

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion helm_deploy/prison-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 0.1.1

dependencies:
- name: generic-service
version: "3.7"
version: "3.8"
repository: https://ministryofjustice.github.io/hmpps-helm-charts
- name: generic-prometheus-alerts
version: "1.11"
Expand Down

0 comments on commit 49b6457

Please sign in to comment.