File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
src/main/kotlin/no/nav/klage/document/config Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,7 @@ updates:
10
10
schedule :
11
11
interval : " daily"
12
12
open-pull-requests-limit : 10
13
+ groups :
14
+ all-dependencies :
15
+ patterns :
16
+ - " *"
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ dependencies {
54
54
testImplementation(" org.mockito:mockito-inline:5.2.0" )
55
55
}
56
56
57
+ java.sourceCompatibility = JavaVersion .VERSION_17
58
+
57
59
tasks.withType<KotlinCompile > {
58
60
kotlinOptions {
59
61
freeCompilerArgs = listOf (" -Xjsr305=strict" )
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ class CustomTraceFilter(
26
26
chain : FilterChain
27
27
) {
28
28
// Create if not exists
29
- tracer.createBaggage (navCallIdName, tracer.currentTraceContext().context()!! .traceId())
29
+ tracer.createBaggageInScope (navCallIdName, tracer.currentTraceContext().context()!! .traceId())
30
30
31
31
// also add this, since some services require that version/spelling
32
- tracer.createBaggage (" Nav-Call-Id" , tracer.currentTraceContext().context()!! .traceId())
32
+ tracer.createBaggageInScope (" Nav-Call-Id" , tracer.currentTraceContext().context()!! .traceId())
33
33
34
34
chain.doFilter(request, response)
35
35
}
You can’t perform that action at this time.
0 commit comments