Skip to content

Commit

Permalink
Merge pull request #16909 from CDCgov/platform/dependabot/2024-12-26
Browse files Browse the repository at this point in the history
platform/dependabot/2024-12-26
  • Loading branch information
jack-h-wang authored Dec 26, 2024
2 parents 1a97ce6 + a9ecd2d commit ba596b5
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 21 deletions.
10 changes: 5 additions & 5 deletions auth/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apply(from = rootProject.file("buildSrc/shared.gradle.kts"))

plugins {
id("org.springframework.boot") version "3.4.0"
id("io.spring.dependency-management") version "1.1.6"
id("org.springframework.boot") version "3.4.1"
id("io.spring.dependency-management") version "1.1.7"
id("reportstream.project-conventions")
kotlin("plugin.spring") version "2.0.21"
kotlin("plugin.spring") version "2.1.0"
}

group = "gov.cdc.prime"
Expand All @@ -31,7 +31,7 @@ dependencies {
runtimeOnly("com.okta.sdk:okta-sdk-impl:20.0.0")

// Swagger
implementation("org.springdoc:springdoc-openapi-starter-webflux-ui:2.6.0")
implementation("org.springdoc:springdoc-openapi-starter-webflux-ui:2.7.0")

testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.security:spring-security-test")
Expand All @@ -48,7 +48,7 @@ configurations.all {

dependencyManagement {
imports {
mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.18.0")
mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.19.0")
mavenBom("org.springframework.cloud:spring-cloud-dependencies:2024.0.0")
}
}
Expand Down
16 changes: 8 additions & 8 deletions prime-router/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ val javaVersion = when (appJvmTarget) {
}
val ktorVersion = "2.3.12"
val kotlinVersion by System.getProperties()
val jacksonVersion = "2.18.1"
val jacksonVersion = "2.18.2"
jacoco.toolVersion = "0.8.12"

// Local database information, first one wins:
Expand Down Expand Up @@ -882,7 +882,7 @@ dependencies {
implementation("org.apache.logging.log4j:log4j-slf4j2-impl:2.24.0")
implementation("org.apache.logging.log4j:log4j-layout-template-json:2.24.0")
implementation("org.apache.logging.log4j:log4j-api-kotlin:1.5.0")
implementation("io.github.oshai:kotlin-logging-jvm:7.0.0")
implementation("io.github.oshai:kotlin-logging-jvm:7.0.3")
implementation("com.github.doyaaaaaken:kotlin-csv-jvm:1.10.0")
implementation("tech.tablesaw:tablesaw-core:0.43.1")
implementation("com.github.ajalt.clikt:clikt-jvm:4.4.0")
Expand Down Expand Up @@ -914,16 +914,16 @@ dependencies {
implementation("com.okta.jwt:okta-jwt-verifier:0.5.7")
implementation("org.json:json:20240303")
// DO NOT INCREMENT SSHJ to a newer version without first thoroughly testing it locally.
implementation("com.hierynomus:sshj:0.38.0")
implementation("com.hierynomus:sshj:0.39.0")
implementation("com.jcraft:jsch:0.1.55")
implementation("org.apache.poi:poi:5.3.0")
implementation("org.apache.commons:commons-csv:1.12.0")
implementation("org.apache.commons:commons-lang3:3.15.0")
implementation("org.apache.commons:commons-text:1.12.0")
implementation("commons-codec:commons-codec:1.17.1")
implementation("commons-io:commons-io:2.17.0")
implementation("commons-io:commons-io:2.18.0")
implementation("org.postgresql:postgresql:42.7.4")
implementation("com.zaxxer:HikariCP:6.2.0")
implementation("com.zaxxer:HikariCP:6.2.1")
implementation("org.flywaydb:flyway-core:10.21.0")
implementation("org.flywaydb:flyway-database-postgresql:10.21.0")
implementation("org.commonmark:commonmark:0.24.0")
Expand All @@ -937,7 +937,7 @@ dependencies {
implementation("com.cronutils:cron-utils:9.2.1")
implementation("io.jsonwebtoken:jjwt-api:0.11.5")
implementation("de.m3y.kformat:kformat:0.11")
implementation("io.github.java-diff-utils:java-diff-utils:4.11")
implementation("io.github.java-diff-utils:java-diff-utils:4.15")
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-cio:$ktorVersion")
implementation("io.ktor:ktor-client-apache:$ktorVersion")
Expand All @@ -951,7 +951,7 @@ dependencies {
implementation("org.apache.poi:poi:5.3.0")
implementation("org.apache.poi:poi-ooxml:5.3.0")
implementation("org.apache.commons:commons-compress:1.27.1")
implementation("commons-io:commons-io:2.17.0")
implementation("commons-io:commons-io:2.18.0")
implementation("com.anyascii:anyascii:0.3.2")
// force jsoup since [email protected]+ has not updated
implementation("org.jsoup:jsoup:1.18.1")
Expand Down Expand Up @@ -979,7 +979,7 @@ dependencies {
implementation("xalan:xalan:2.7.3")

// validations
implementation("com.networknt:json-schema-validator:1.5.2")
implementation("com.networknt:json-schema-validator:1.5.4")
implementation("io.konform:konform-jvm:0.4.0")

runtimeOnly("com.okta.jwt:okta-jwt-verifier-impl:0.5.7")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import io.mockk.spyk
import io.mockk.unmockkAll
import net.schmizz.sshj.SSHClient
import net.schmizz.sshj.connection.ConnectionException
import net.schmizz.sshj.sftp.RemoteResourceFilter
import net.schmizz.sshj.sftp.RemoteResourceInfo
import net.schmizz.sshj.sftp.SFTPClient
import net.schmizz.sshj.transport.verification.HostKeyVerifier
Expand Down Expand Up @@ -456,10 +457,11 @@ class SftpTransportIntegrationTests : TransportIntegrationTests() {
@Test
fun `ls happy path`() {
val f = Fixture()
val nullRemoteResourceFilter: RemoteResourceFilter? = null

every { f.mockSSHClient.newSFTPClient() } returns f.mockSFTPClient
// mock a successful ls on the remote SFTP server
every { f.mockSFTPClient.ls(f.lsPath, null) } returns f.remoteResourceInfos
every { f.mockSFTPClient.ls(f.lsPath, nullRemoteResourceFilter) } returns f.remoteResourceInfos
every { f.mockSFTPClient.close() } just runs
every { f.mockSSHClient.close() } just runs
every { f.mockSSHClient.disconnect() } just runs
Expand All @@ -473,10 +475,11 @@ class SftpTransportIntegrationTests : TransportIntegrationTests() {
@Test
fun `ls connection error`() {
val f = Fixture()
val nullRemoteResourceFilter: RemoteResourceFilter? = null

every { f.mockSSHClient.newSFTPClient() } returns f.mockSFTPClient
// throw a connection exception on ls
every { f.mockSFTPClient.ls(f.lsPath, null) } throws ConnectionException("oops")
every { f.mockSFTPClient.ls(f.lsPath, nullRemoteResourceFilter) } throws ConnectionException("oops")
every { f.mockSFTPClient.close() } just runs
every { f.mockSSHClient.close() } just runs
every { f.mockSSHClient.disconnect() } just runs
Expand All @@ -490,10 +493,14 @@ class SftpTransportIntegrationTests : TransportIntegrationTests() {
@Test
fun `ls ignore timeout error`() {
val f = Fixture()
val nullRemoteResourceFilter: RemoteResourceFilter? = null

every { f.mockSSHClient.newSFTPClient() } returns f.mockSFTPClient
// throw a ConnectionException on ls with TimeoutException as a cause
every { f.mockSFTPClient.ls(f.lsPath, null) } throws ConnectionException("oops", TimeoutException())
every { f.mockSFTPClient.ls(f.lsPath, nullRemoteResourceFilter) } throws ConnectionException(
"oops",
TimeoutException()
)
every { f.mockSFTPClient.close() } just runs
every { f.mockSSHClient.close() } just runs
every { f.mockSSHClient.disconnect() } just runs
Expand Down
10 changes: 5 additions & 5 deletions submissions/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apply(from = rootProject.file("buildSrc/shared.gradle.kts"))

plugins {
id("org.springframework.boot") version "3.4.0"
id("io.spring.dependency-management") version "1.1.6"
id("org.springframework.boot") version "3.4.1"
id("io.spring.dependency-management") version "1.1.7"
id("reportstream.project-conventions")
kotlin("plugin.spring") version "2.0.21"
kotlin("plugin.spring") version "2.1.0"
}

group = "gov.cdc.prime"
Expand All @@ -15,7 +15,7 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server")
implementation("org.springframework.security:spring-security-oauth2-jose:6.3.4")
implementation("org.springframework.security:spring-security-oauth2-jose:6.4.2")

implementation("com.azure.spring:spring-cloud-azure-starter-storage")
implementation("com.microsoft.azure:applicationinsights-runtime-attach:3.6.2")
Expand All @@ -40,7 +40,7 @@ configurations.all {

dependencyManagement {
imports {
mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.18.0")
mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.19.0")
}
}

Expand Down

0 comments on commit ba596b5

Please sign in to comment.