File tree 10 files changed +25
-35
lines changed
src/main/kotlin/no/nav/omsorgspenger
10 files changed +25
-35
lines changed Original file line number Diff line number Diff line change 15
15
contents : read
16
16
secrets : inherit
17
17
with :
18
- readertoken : false
18
+ javaversion : 21
Original file line number Diff line number Diff line change 19
19
pull-requests : read
20
20
secrets : inherit
21
21
with :
22
- readertoken : false
22
+ javaversion : 21
23
23
24
24
codeql :
25
25
uses : navikt/sif-gha-workflows/.github/workflows/gradle-codeql.yml@main
30
30
security-events : write
31
31
secrets : inherit
32
32
with :
33
- readertoken : false
33
+ javaversion : 21
34
34
package-command : ' ./gradlew clean build -x test'
35
35
branch : master
36
36
40
40
contents : read
41
41
secrets : inherit
42
42
with :
43
- readertoken : false
43
+ javaversion : 21
44
44
45
45
build :
46
46
uses : navikt/sif-gha-workflows/.github/workflows/gradle-build.yml@main
50
50
secrets : inherit
51
51
with :
52
52
team : omsorgspenger
53
- dockercontext : .
54
- readertoken : false
53
+ javaversion : 21
55
54
56
55
trivy :
57
56
needs : [ build ]
Original file line number Diff line number Diff line change 1
- FROM gcr.io/distroless/java17-debian11 :latest
1
+ FROM gcr.io/distroless/java21-debian12 :latest
2
2
LABEL org.opencontainers.image.source=https://github.com/navikt/omsorgspenger-rammemeldinger
3
3
4
4
COPY build/libs/app.jar /app/app.jar
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ plugins {
31
31
32
32
java {
33
33
toolchain {
34
- languageVersion.set(JavaLanguageVersion .of(17 ))
34
+ languageVersion.set(JavaLanguageVersion .of(21 ))
35
35
}
36
36
}
37
37
@@ -110,7 +110,7 @@ tasks {
110
110
}
111
111
112
112
withType<Wrapper > {
113
- gradleVersion = " 8.5 "
113
+ gradleVersion = " 8.6 "
114
114
}
115
115
116
116
withType<JacocoReport > {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.5 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.6 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
43
43
%JAVA_EXE% -version > NUL 2 >& 1
44
44
if %ERRORLEVEL% equ 0 goto execute
45
45
46
- echo .
47
- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48
- echo .
49
- echo Please set the JAVA_HOME variable in your environment to match the
50
- echo location of your Java installation.
46
+ echo . 1 >& 2
47
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1 >& 2
48
+ echo . 1 >& 2
49
+ echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
50
+ echo location of your Java installation. 1 >& 2
51
51
52
52
goto fail
53
53
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57
57
58
58
if exist " %JAVA_EXE% " goto execute
59
59
60
- echo .
61
- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62
- echo .
63
- echo Please set the JAVA_HOME variable in your environment to match the
64
- echo location of your Java installation.
60
+ echo . 1 >& 2
61
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1 >& 2
62
+ echo . 1 >& 2
63
+ echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
64
+ echo location of your Java installation. 1 >& 2
65
65
66
66
goto fail
67
67
Original file line number Diff line number Diff line change 3
3
"ingresses" : [
4
4
" https://omsorgspenger-rammemeldinger.intern.dev.nav.no"
5
5
],
6
- "externalHosts" : [
7
- " omsorgspenger-infotrygd-rammevedtak.dev-fss-pub.nais.io"
8
- ],
9
6
"azureTenant" : " trygdeetaten.no" ,
10
7
"kafkaPool" : " nav-dev" ,
11
8
"clusterFss" : " dev-fss" ,
15
12
"highAvailability" : " false"
16
13
},
17
14
"env" : {
18
- "HENT_RAMMEVEDTAK_FRA_INFOTRYGD_SCOPES" : " 6e6bc617-20d4-4a1a-bbca-bb0b46f59b0d/.default" ,
19
- "OMSORGSPENGER_INFOTRYGD_RAMMEVEDTAK_BASE_URL" : " https://omsorgspenger-infotrygd-rammevedtak.dev-fss-pub.nais.io" ,
15
+ "OMSORGSPENGER_INFOTRYGD_RAMMEVEDTAK_SCOPES" : " api://dev-gcp.omsorgspenger.omsorgspenger-infotrygd-rammevedtak/.default" ,
20
16
"TILGANGSSTYRING_SCOPES" : " api://dev-gcp.omsorgspenger.omsorgspenger-tilgangsstyring/.default"
21
17
}
22
18
}
Original file line number Diff line number Diff line change 18
18
outbound :
19
19
rules :
20
20
- application : omsorgspenger-tilgangsstyring
21
- external :
22
- {{#each externalHosts as |host|}}
23
- - host : {{host}}
24
- {{/each}}
21
+ - application : omsorgspenger-infotrygd-rammevedtak
25
22
inbound :
26
23
rules :
27
24
- application : omsorgsdager
77
74
{{/each}}
78
75
- name : TILGANGSSTYRING_URL
79
76
value : http://omsorgspenger-tilgangsstyring.omsorgspenger.svc.cluster.local
77
+ - name : OMSORGSPENGER_INFOTRYGD_RAMMEVEDTAK_BASE_URL
78
+ value : http://omsorgspenger-infotrygd-rammevedtak.omsorgspenger.svc.cluster.local
80
79
- name : KAFKA_RAPID_TOPIC
81
80
value : omsorgspenger.k9-rapid-v2
82
81
- name : KAFKA_CONSUMER_GROUP_ID
Original file line number Diff line number Diff line change 3
3
"ingresses" : [
4
4
" https://omsorgspenger-rammemeldinger.intern.nav.no"
5
5
],
6
- "externalHosts" : [
7
- " omsorgspenger-infotrygd-rammevedtak.prod-fss-pub.nais.io"
8
- ],
9
6
"azureTenant" : " nav.no" ,
10
7
"kafkaPool" : " nav-prod" ,
11
8
"clusterFss" : " prod-fss" ,
15
12
"highAvailability" : " true"
16
13
},
17
14
"env" : {
18
- "HENT_RAMMEVEDTAK_FRA_INFOTRYGD_SCOPES" : " eadadb81-a814-4402-b820-a3fab240f8ee/.default" ,
19
- "OMSORGSPENGER_INFOTRYGD_RAMMEVEDTAK_BASE_URL" : " https://omsorgspenger-infotrygd-rammevedtak.prod-fss-pub.nais.io" ,
15
+ "OMSORGSPENGER_INFOTRYGD_RAMMEVEDTAK_SCOPES" : " api://prod-gcp.omsorgspenger.omsorgspenger-infotrygd-rammevedtak/.default" ,
20
16
"TILGANGSSTYRING_SCOPES" : " api://prod-gcp.omsorgspenger.omsorgspenger-tilgangsstyring/.default"
21
17
}
22
18
}
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ internal class ApplicationContext(
96
96
val benyttetOmsorgspengerInfotrygdRammevedtakGateway =
97
97
omsorgspengerInfotrygdRammevedtakGateway ? : OmsorgspengerInfotrygdRammevedtakGateway (
98
98
accessTokenClient = benyttetAccessTokenClient,
99
- hentRammevedtakFraInfotrygdScopes = benyttetEnv.hentRequiredEnv(" HENT_RAMMEVEDTAK_FRA_INFOTRYGD_SCOPES " )
99
+ hentRammevedtakFraInfotrygdScopes = benyttetEnv.hentRequiredEnv(" OMSORGSPENGER_INFOTRYGD_RAMMEVEDTAK_SCOPES " )
100
100
.csvTilSet(),
101
101
omsorgspengerInfotrygdRammevedtakBaseUrl = URI (benyttetEnv.hentRequiredEnv(" OMSORGSPENGER_INFOTRYGD_RAMMEVEDTAK_BASE_URL" ))
102
102
)
You can’t perform that action at this time.
0 commit comments