Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dependencies #576

Merged
merged 3 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 24 additions & 23 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,39 @@ group = "no.nav.syfo"
version = "1.0.0"

val altinnCorrespondenceAgencyExternalVersion = "1.2020.01.20-15.44-063ae9f84815"
val cxfVersion = "3.6.4"
val confluentVersion = "7.6.1"
val flywayVersion = "10.17.3"
val hikariVersion = "5.1.0"
val cxfVersion = "3.6.5"
val confluentVersion = "7.8.0"
val flywayVersion = "11.3.0"
val hikariVersion = "6.2.1"
val isdialogmoteSchemaVersion = "1.0.5"
val jacksonDataTypeVersion = "2.17.2"
val jedisVersion = "5.1.3"
val jsonVersion = "20240303"
val jettyVersion = "9.4.56.v20240826"
val jacksonDataTypeVersion = "2.18.2"
val jedisVersion = "5.2.0"
val jsonVersion = "20250107"
val jettyVersion = "9.4.57.v20241219"
val joseVersion = "0.9.4"
val kafkaVersion = "3.7.0"
val ktorVersion = "3.0.3"
val kluentVersion = "1.73"
val jaxbApiVersion = "2.3.1"
val jaxbRuntimeVersion = "2.3.6"
val jaxsWsApiVersion = "2.3.1"
val jaxwsToolsVersion = "2.3.5"
val logbackVersion = "1.5.6"
val logstashEncoderVersion = "7.4"
val micrometerRegistryVersion = "1.12.7"
val mockkVersion = "1.13.11"
val nimbusjosejwtVersion = "9.40"
val postgresEmbeddedVersion = "2.0.7"
val postgresVersion = "42.7.4"
val jaxwsToolsVersion = "4.0.3"
val logbackVersion = "1.5.16"
val logstashEncoderVersion = "8.0"
val micrometerRegistryVersion = "1.12.13"
val mockkVersion = "1.13.16"
val nimbusjosejwtVersion = "10.0.1"
val postgresEmbeddedVersion = "2.1.0"
val postgresVersion = "42.7.5"
val redisEmbeddedVersion = "0.7.3"
val spekVersion = "2.0.19"
val tjenesteSpesifikasjonerGithubVersion = "1.2020.06.11-19.53-1cad83414166"

plugins {
kotlin("jvm") version "2.0.20"
id("com.gradleup.shadow") version "8.3.2"
kotlin("jvm") version "2.1.10"
id("com.gradleup.shadow") version "8.3.5"
id("org.jlleitschuh.gradle.ktlint") version "11.4.2"
id("com.github.ben-manes.versions") version "0.52.0"
}

repositories {
Expand Down Expand Up @@ -106,13 +107,13 @@ dependencies {
implementation("org.apache.commons:commons-compress") {
because("org.apache.commons:commons-compress:1.22 -> https://www.cve.org/CVERecord?id=CVE-2012-2098")
version {
require("1.26.0")
require("1.27.1")
}
}
implementation("com.google.guava:guava") {
because("com.google.guava:guava:30.1.1-jre -> https://www.cve.org/CVERecord?id=CVE-2020-8908")
version {
require("32.1.3-jre")
require("33.4.0-jre")
}
}
}
Expand All @@ -121,7 +122,7 @@ dependencies {
implementation("org.yaml:snakeyaml") {
because("io.confluent:kafka-schema-registry:$confluentVersion -> https://advisory.checkmarx.net/advisory/vulnerability/CVE-2022-25857/")
version {
require("1.31")
require("2.3")
}
}
implementation("org.glassfish:jakarta.el") {
Expand All @@ -133,13 +134,13 @@ dependencies {
implementation("com.google.protobuf:protobuf-java") {
because("io.confluent:kafka-schema-registry:$confluentVersion -> https://www.cve.org/CVERecord?id=CVE-2022-3510")
version {
require("3.25.1")
require("3.25.6")
}
}
implementation("org.apache.zookeeper:zookeeper") {
because("io.confluent:kafka-schema-registry:$confluentVersion -> https://www.cve.org/CVERecord?id=CVE-2023-44981")
version {
require("3.7.2")
require("3.9.3")
}
}
implementation("org.eclipse.jetty:jetty-server") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class PostDialogmoteTidStedApiV2Spek : Spek({

val urlMoteUUIDPostTidSted =
"$dialogmoteApiV2Basepath/$createdDialogmoteUUID$dialogmoteApiMoteTidStedPath"
val newDialogmoteTid = newDialogmoteDTO.tidSted.tid.plusDays(1).truncatedTo(ChronoUnit.MILLIS)
val newDialogmoteTid = newDialogmoteDTO.tidSted.tid.plusDays(1).truncatedTo(ChronoUnit.SECONDS)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Litt usikker, men kan se ut som dette gjør testene litt mer stabile. Strever med at noen av testene feiler på Github og ikke så enkelt å finne ut hvilke(n) det er.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tror det gjelder flere. Fikk feil både når jeg kjørte lokalt og i Github. Jeg tror ikke det var samme tester som feilet noen av gangene.

Så hvis dette reduserer problemet så er det bra.

val newDialogmoteTidSted = EndreTidStedDialogmoteDTO(
sted = "Et annet sted",
tid = newDialogmoteTid,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import java.time.LocalDateTime
import java.time.temporal.ChronoUnit
import java.util.*

val DIALOGMOTE_TIDSPUNKT_FIXTURE = LocalDateTime.now().plusDays(30L).truncatedTo(ChronoUnit.MILLIS)
val DIALOGMOTE_TIDSPUNKT_FIXTURE = LocalDateTime.now().plusDays(30L).truncatedTo(ChronoUnit.SECONDS)

fun generateNewDialogmoteTidSted() = NewDialogmoteTidSted(
sted = "This is a very lang text that has a lot of characters and describes where the meeting will take place.",
Expand Down