Skip to content

Commit

Permalink
Bump the all-dependencies group across 1 directory with 12 updates (#557
Browse files Browse the repository at this point in the history
)

* Bump the all-dependencies group across 1 directory with 12 updates

Bumps the all-dependencies group with 12 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) | `3.3.4` | `3.3.5` |
| [no.nav.familie.kontrakter:felles](https://github.com/navikt/familie-kontrakter) | `3.0_20241018104853_fa92410` | `3.0_20241102131210_d65efd1` |
| [no.nav.familie.kontrakter:enslig-forsorger](https://github.com/navikt/familie-kontrakter) | `3.0_20241018104853_fa92410` | `3.0_20241102131210_d65efd1` |
| [com.expediagroup:graphql-kotlin-spring-client](https://github.com/ExpediaGroup/graphql-kotlin) | `8.2.0` | `8.2.1` |
| [no.nav.security:token-client-core](https://github.com/navikt/token-support) | `5.0.5` | `5.0.10` |
| [no.nav.security:token-client-spring](https://github.com/navikt/token-support) | `5.0.5` | `5.0.10` |
| [no.nav.security:token-validation-spring-test](https://github.com/navikt/token-support) | `5.0.5` | `5.0.10` |
| org.flywaydb:flyway-database-postgresql | `10.20.0` | `10.21.0` |
| [org.testcontainers:postgresql](https://github.com/testcontainers/testcontainers-java) | `1.20.2` | `1.20.3` |
| [com.pinterest.ktlint:ktlint-cli](https://github.com/pinterest/ktlint) | `1.3.1` | `1.4.1` |
| [com.expediagroup:graphql-kotlin-maven-plugin](https://github.com/ExpediaGroup/graphql-kotlin) | `8.2.0` | `8.2.1` |
| [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) | `3.4.1` | `3.5.0` |



Updates `org.springframework.boot:spring-boot-starter-parent` from 3.3.4 to 3.3.5
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v3.3.4...v3.3.5)

Updates `no.nav.familie.kontrakter:felles` from 3.0_20241018104853_fa92410 to 3.0_20241102131210_d65efd1
- [Commits](https://github.com/navikt/familie-kontrakter/commits)

Updates `no.nav.familie.kontrakter:enslig-forsorger` from 3.0_20241018104853_fa92410 to 3.0_20241102131210_d65efd1
- [Commits](https://github.com/navikt/familie-kontrakter/commits)

Updates `no.nav.familie.kontrakter:enslig-forsorger` from 3.0_20241018104853_fa92410 to 3.0_20241102131210_d65efd1
- [Commits](https://github.com/navikt/familie-kontrakter/commits)

Updates `com.expediagroup:graphql-kotlin-spring-client` from 8.2.0 to 8.2.1
- [Release notes](https://github.com/ExpediaGroup/graphql-kotlin/releases)
- [Commits](ExpediaGroup/graphql-kotlin@8.2.0...8.2.1)

Updates `no.nav.security:token-client-core` from 5.0.5 to 5.0.10
- [Release notes](https://github.com/navikt/token-support/releases)
- [Commits](navikt/token-support@5.0.5...5.0.10)

Updates `no.nav.security:token-client-spring` from 5.0.5 to 5.0.10
- [Release notes](https://github.com/navikt/token-support/releases)
- [Commits](navikt/token-support@5.0.5...5.0.10)

Updates `no.nav.security:token-validation-spring-test` from 5.0.5 to 5.0.10
- [Release notes](https://github.com/navikt/token-support/releases)
- [Commits](navikt/token-support@5.0.5...5.0.10)

Updates `no.nav.security:token-client-spring` from 5.0.5 to 5.0.10
- [Release notes](https://github.com/navikt/token-support/releases)
- [Commits](navikt/token-support@5.0.5...5.0.10)

Updates `org.flywaydb:flyway-database-postgresql` from 10.20.0 to 10.21.0

Updates `no.nav.security:token-validation-spring-test` from 5.0.5 to 5.0.10
- [Release notes](https://github.com/navikt/token-support/releases)
- [Commits](navikt/token-support@5.0.5...5.0.10)

Updates `org.testcontainers:postgresql` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](testcontainers/testcontainers-java@1.20.2...1.20.3)

Updates `com.pinterest.ktlint:ktlint-cli` from 1.3.1 to 1.4.1
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](pinterest/ktlint@1.3.1...1.4.1)

Updates `com.expediagroup:graphql-kotlin-maven-plugin` from 8.2.0 to 8.2.1
- [Release notes](https://github.com/ExpediaGroup/graphql-kotlin/releases)
- [Commits](ExpediaGroup/graphql-kotlin@8.2.0...8.2.1)

Updates `org.codehaus.mojo:exec-maven-plugin` from 3.4.1 to 3.5.0
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](mojohaus/exec-maven-plugin@3.4.1...3.5.0)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: no.nav.familie.kontrakter:felles
  dependency-type: direct:production
  dependency-group: all-dependencies
- dependency-name: no.nav.familie.kontrakter:enslig-forsorger
  dependency-type: direct:production
  dependency-group: all-dependencies
- dependency-name: no.nav.familie.kontrakter:enslig-forsorger
  dependency-type: direct:production
  dependency-group: all-dependencies
- dependency-name: com.expediagroup:graphql-kotlin-spring-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: no.nav.security:token-client-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: no.nav.security:token-client-spring
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: no.nav.security:token-validation-spring-test
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: no.nav.security:token-client-spring
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: org.flywaydb:flyway-database-postgresql
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: no.nav.security:token-validation-spring-test
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: org.testcontainers:postgresql
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: com.pinterest.ktlint:ktlint-cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: com.expediagroup:graphql-kotlin-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: org.codehaus.mojo:exec-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* Linterendringer

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ole Christian Kvernberg <[email protected]>
  • Loading branch information
dependabot[bot] and olekvernberg authored Nov 11, 2024
1 parent 4336aeb commit 541f13b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 19 deletions.
18 changes: 9 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.4</version>
<version>3.3.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>no.nav.familie.ef</groupId>
Expand All @@ -31,18 +31,18 @@
<kotlin.version>2.0.21</kotlin.version>
<kafka-avro-serializer.version>7.7.1</kafka-avro-serializer.version>
<avro.version>1.12.0</avro.version>
<graphql-kotlin-spring-client.version>8.2.0</graphql-kotlin-spring-client.version>
<graphql-kotlin-maven-plugin.version>8.2.0</graphql-kotlin-maven-plugin.version>
<graphql-kotlin-spring-client.version>8.2.1</graphql-kotlin-spring-client.version>
<graphql-kotlin-maven-plugin.version>8.2.1</graphql-kotlin-maven-plugin.version>
<graphql-kotlin.version>3.5.0</graphql-kotlin.version>
<exec-maven-plugin.version>3.4.1</exec-maven-plugin.version>
<kontrakter.version>3.0_20241018104853_fa92410</kontrakter.version>
<exec-maven-plugin.version>3.5.0</exec-maven-plugin.version>
<kontrakter.version>3.0_20241102131210_d65efd1</kontrakter.version>
<eksterne-kontrakter.version>2.0_20240806120744_a042aa1</eksterne-kontrakter.version>
<felles.version>3.20240913110742_adb42f8</felles.version>
<nav.security.version>5.0.5</nav.security.version> <!-- Denne burde være samme versjon som i felles -->
<nav.security.version>5.0.10</nav.security.version> <!-- Denne burde være samme versjon som i felles -->
<okhttp3.version>4.9.1</okhttp3.version> <!-- overskrever spring sin versjon, blir brukt av mock-oauth2-server -->
<wiremock.version>2.35.2</wiremock.version>
<mockk-jvm.version>1.13.13</mockk-jvm.version>
<postgres.version>1.20.2</postgres.version>
<postgres.version>1.20.3</postgres.version>
<start-class>no.nav.familie.ef.personhendelse.Application</start-class>
</properties>
<dependencies>
Expand Down Expand Up @@ -159,7 +159,7 @@
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
<version>10.20.0</version>
<version>10.21.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -374,7 +374,7 @@
<dependency>
<groupId>com.pinterest.ktlint</groupId>
<artifactId>ktlint-cli</artifactId>
<version>1.3.1</version>
<version>1.4.1</version>
</dependency>
<!-- additional 3rd party ruleset(s) can be specified here -->
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ interface PersonhendelseHandler {
* Eks når vi får en sivilstandshendelse returneres [["a1", "a2"]]
* Mens når vi skal håndtere dødsfall returneres identer til personen og eventuellt forelder, [[f1], [f2], [b1]]
*/
fun personidenterPerPersonSomSkalKontrolleres(personhendelse: Personhendelse): List<Set<String>> =
listOf(personhendelse.identerUtenAktørId())
fun personidenterPerPersonSomSkalKontrolleres(personhendelse: Personhendelse): List<Set<String>> = listOf(personhendelse.identerUtenAktørId())
}
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,7 @@ class PersonhendelseService(
)
}

private fun Personhendelse.ferdigstiltBeskrivelse(personhendelseType: PersonhendelseType) =
"En hendelse av typen ${this.endringstype.name} har oppstått for en ferdigstilt oppgave med hendelsestype ${personhendelseType.name}"
private fun Personhendelse.ferdigstiltBeskrivelse(personhendelseType: PersonhendelseType) = "En hendelse av typen ${this.endringstype.name} har oppstått for en ferdigstilt oppgave med hendelsestype ${personhendelseType.name}"

private fun Personhendelse.finnesIngenHendelseBeskrivelse() =
"Det har oppstått en personhendelse som det ikke finnes noen tidligere hendelse eller oppgave for. " +
Expand All @@ -253,8 +252,6 @@ private fun Oppgave.opphørtEllerAnnullertBeskrivelse() = "\n\nDenne oppgaven ha

private fun Oppgave.korrigertBeskrivelse() = "\n\nDenne oppgaven har blitt korrigert."

private fun Personhendelse.skalOpphøreEllerKorrigeres() =
listOf(Endringstype.ANNULLERT, Endringstype.KORRIGERT, Endringstype.OPPHOERT).contains(this.endringstype)
private fun Personhendelse.skalOpphøreEllerKorrigeres() = listOf(Endringstype.ANNULLERT, Endringstype.KORRIGERT, Endringstype.OPPHOERT).contains(this.endringstype)

private fun Personhendelse.erIkkeOpphørAvSivilstand() =
!(this.opplysningstype == PersonhendelseType.SIVILSTAND.hendelsetype && this.endringstype == Endringstype.OPPHOERT)
private fun Personhendelse.erIkkeOpphørAvSivilstand() = !(this.opplysningstype == PersonhendelseType.SIVILSTAND.hendelsetype && this.endringstype == Endringstype.OPPHOERT)
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ data class Inntektsendring(
val toMånederTilbake: BeregningResultat,
val forrigeMåned: BeregningResultat,
) {
fun harEndretInntekt() =
treMånederTilbake.prosent >= 10 && toMånederTilbake.prosent >= 10 && forrigeMåned.prosent >= 10
fun harEndretInntekt() = treMånederTilbake.prosent >= 10 && toMånederTilbake.prosent >= 10 && forrigeMåned.prosent >= 10
}

data class BeregningResultat(
Expand Down

0 comments on commit 541f13b

Please sign in to comment.