Skip to content

Commit cdb8a4f

Browse files
committed
Oppdatert avhengigheter igjen
1 parent a3b0f5c commit cdb8a4f

17 files changed

+23
-19
lines changed

Diff for: .github/workflows/api-start-stopp.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: .github/workflows/bekreftelse-api.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
./gradlew -Pversion=${{ env.VERSION }} -Pimage=${{ env.IMAGE }} :apps:${{ env.MODULE }}:build :apps:${{ env.MODULE }}:jib
5959
echo "DIGEST=$(cat ./apps/${{ env.MODULE }}/build/jib-image.digest)" >> $GITHUB_ENV
6060
- name: Attest and sign image
61-
uses: nais/[email protected].9
61+
uses: nais/[email protected].11
6262
with:
6363
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6464

Diff for: .github/workflows/bekreftelse-min-side-varsler.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: .github/workflows/bekreftelse-tjeneste.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
./gradlew -Pversion=${{ env.VERSION }} -Pimage=${{ env.IMAGE }} :apps:${{ env.MODULE }}:build :apps:${{ env.MODULE }}:jib
5959
echo "DIGEST=$(cat ./apps/${{ env.MODULE }}/build/jib-image.digest)" >> $GITHUB_ENV
6060
- name: Attest and sign image
61-
uses: nais/[email protected].9
61+
uses: nais/[email protected].11
6262
with:
6363
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6464

Diff for: .github/workflows/bekreftelse-utgang.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
./gradlew -Pversion=${{ env.VERSION }} -Pimage=${{ env.IMAGE }} :apps:${{ env.MODULE }}:build :apps:${{ env.MODULE }}:jib
5959
echo "DIGEST=$(cat ./apps/${{ env.MODULE }}/build/jib-image.digest)" >> $GITHUB_ENV
6060
- name: Attest and sign image
61-
uses: nais/[email protected].9
61+
uses: nais/[email protected].11
6262
env:
6363
TRIVY_JAVA_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-java-db:1"
6464
with:

Diff for: .github/workflows/hendelselogg-backup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: .github/workflows/hendelseprosessor.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: .github/workflows/kafka-key-generator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: .github/workflows/kafka-key-maintenance.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: .github/workflows/meldekort-adapter.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: .github/workflows/tilgangskontroll.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: .github/workflows/utgang-formidlingsgruppe-deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: .github/workflows/utgang-pdl-deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
6161
- name: Attest and sign image
62-
uses: nais/[email protected].9
62+
uses: nais/[email protected].11
6363
with:
6464
image_ref: ${{ env.IMAGE }}@${{ env.DIGEST }}
6565

Diff for: docker/postgres/config/initdb/postgres-init.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
create user pawkafkakeys with password '5up3r_53cr3t_p455w0rd';
2-
create user bekreftelse_api with password '5up3r_53cr3t_p455w0rd';
2+
create user bekreftelse_api with password 'Paw1234';
33
create user pawkafkakeymaintenance with password '5up3r_53cr3t_p455w0rd';
44
create user hendelselogg_backup with password '5up3r_53cr3t_p455w0rd';
55

Diff for: gradle/libs.versions.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ orgApacheKafkaVersion = "3.7.2"
1313
ioConfluentKafkaVersion = "7.8.0"
1414
orgApacheAvroVersion = "1.12.0"
1515
comFasterxmlJacksonVersion = "2.18.2"
16-
kotlinExposedVersion = "0.57.0"
16+
kotlinExposedVersion = "0.58.0"
1717
logstashVersion = "8.0"
1818
logbackVersion = "1.5.16"
1919
kotestVersion = "5.9.1"
2020
mockkVersion = "1.13.16"
2121
testContainersVersion = "1.20.4"
22-
micrometerVersion = "1.14.2"
22+
micrometerVersion = "1.14.3"
2323
otelTargetSdkVersion = "1.46.0"
2424
otelInstrumentationVersion = "2.11.0"
2525
coroutinesVersion = "1.9.0"
2626
postgresDriverVersion = "42.7.4"
2727
flywayVersion = "11.1.1"
2828
hikariVersion = "6.2.1"
29-
kotlinxCoroutinesVersion = "1.9.0"
29+
kotlinxCoroutinesVersion = "1.10.1"
3030
kotlinxSerializationJsonVersion = "1.8.0"
3131
ktorVersion = "3.0.3"
3232

Diff for: lib/database/src/main/kotlin/no/nav/paw/database/config/DatabaseConfig.kt

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ data class DatabaseConfig(
99
val port: Int,
1010
val username: String,
1111
val password: String,
12-
val name: String,
12+
val database: String,
13+
val autoCommit: Boolean = true,
1314
val maximumPoolSize: Int = 3,
1415
val connectionTimeout: Duration = Duration.ofSeconds(30),
16+
val idleTimeout: Duration = Duration.ofMinutes(10),
1517
val maxLifetime: Duration = Duration.ofMinutes(30)
1618
) {
17-
val url get() = "jdbc:postgresql://$host:$port/$name?user=$username&password=$password"
19+
val url get() = "jdbc:postgresql://$host:$port/$database?user=$username&password=$password"
1820
}

Diff for: lib/database/src/main/kotlin/no/nav/paw/database/factory/DataSourceFactory.kt

+2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ fun createHikariDataSource(databaseConfig: DatabaseConfig): HikariDataSource =
99
HikariConfig().apply {
1010
jdbcUrl = databaseConfig.url
1111
maximumPoolSize = databaseConfig.maximumPoolSize
12+
isAutoCommit = databaseConfig.autoCommit
1213
connectionTimeout = databaseConfig.connectionTimeout.toMillis()
14+
idleTimeout = databaseConfig.idleTimeout.toMillis()
1315
maxLifetime = databaseConfig.maxLifetime.toMillis()
1416
}
1517
)

0 commit comments

Comments
 (0)