Skip to content

Commit c114cef

Browse files
authored
Merge pull request #96 from navikt/dependabot/gradle/all-dependencies-f12ea1a956
Bump the all-dependencies group across 1 directory with 15 updates
2 parents ea898f6 + 5fc6f3d commit c114cef

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

build.gradle.kts

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
22

3-
val mockkVersion = "1.13.9"
3+
val mockkVersion = "1.13.11"
44
val tokenSupportVersion = "3.2.0"
5-
val springdocVersion = "1.7.0"
5+
val springdocVersion = "1.8.0"
66
val navFoedselsnummerVersion = "1.0-SNAPSHOT.6"
7-
val kontrakterVersion = "3.0_20240116082529_ee44807"
7+
val kontrakterVersion = "3.0_20240515103524_00490ae"
88
val mainClass = "no.nav.familie.ef.infotrygd.Main"
99
val ktlint by configurations.creating
1010

1111
plugins {
12-
val kotlinVersion = "1.9.22"
13-
val springBootVersion = "3.2.1"
12+
val kotlinVersion = "2.0.0"
13+
val springBootVersion = "3.2.6"
1414
id("org.springframework.boot") version springBootVersion
15-
id("io.spring.dependency-management") version "1.1.4"
15+
id("io.spring.dependency-management") version "1.1.5"
1616
kotlin("jvm") version kotlinVersion
1717
kotlin("plugin.spring") version kotlinVersion
1818
kotlin("plugin.jpa") version kotlinVersion
@@ -72,11 +72,11 @@ dependencies {
7272
implementation("org.springframework.boot:spring-boot-starter-jdbc")
7373
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
7474
runtimeOnly("org.postgresql:postgresql")
75-
implementation("com.oracle.database.jdbc:ojdbc8:23.3.0.23.09")
75+
implementation("com.oracle.database.jdbc:ojdbc8:23.4.0.24.05")
7676
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
7777
testImplementation("org.springframework.boot:spring-boot-starter-test")
78-
testImplementation("com.github.doyaaaaaken:kotlin-csv-jvm:1.9.2")
79-
testImplementation("org.testcontainers:oracle-xe:1.19.3")
78+
testImplementation("com.github.doyaaaaaken:kotlin-csv-jvm:1.9.3")
79+
testImplementation("org.testcontainers:oracle-xe:1.19.8")
8080
testImplementation("com.h2database:h2")
8181
testImplementation("org.flywaydb:flyway-core")
8282
testImplementation("io.mockk:mockk-jvm:$mockkVersion")

src/main/kotlin/no/nav/familie/ef/infotrygd/config/JacksonJsonConfig.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import com.fasterxml.jackson.databind.DeserializationFeature
66
import com.fasterxml.jackson.databind.ObjectMapper
77
import com.fasterxml.jackson.databind.SerializationFeature
88
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
9-
import com.fasterxml.jackson.module.kotlin.KotlinModule
9+
import com.fasterxml.jackson.module.kotlin.kotlinModule
1010
import org.springframework.context.annotation.Bean
1111
import org.springframework.context.annotation.Configuration
1212

@@ -23,7 +23,7 @@ class JacksonJsonConfig {
2323
OM.setVisibility(PropertyAccessor.CREATOR, JsonAutoDetect.Visibility.ANY)
2424
OM.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
2525
OM.registerModule(JavaTimeModule())
26-
OM.registerModule(KotlinModule())
26+
OM.registerModule(kotlinModule())
2727
}
2828
}
2929

src/main/kotlin/no/nav/familie/ef/infotrygd/rest/filter/AuthorizationFilter.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AuthorizationFilter : OncePerRequestFilter() {
3333

3434
private fun acceptedClient(): Boolean {
3535
return try {
36-
val claims = SpringTokenValidationContextHolder().tokenValidationContext.getClaims("azure")
36+
val claims = SpringTokenValidationContextHolder().getTokenValidationContext().getClaims("azure")
3737

3838
@Suppress("UNCHECKED_CAST")
3939
val accessAsApplication =

0 commit comments

Comments
 (0)