-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TFP-5919 Legg til saksnummer i kontrakter mot risk og fordel
- Loading branch information
Showing
16 changed files
with
87 additions
and
286 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...idling/src/main/java/no/nav/foreldrepenger/kontrakter/formidling/kodeverk/Saksnummer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package no.nav.foreldrepenger.kontrakter.formidling.kodeverk; | ||
|
||
import jakarta.validation.constraints.Pattern; | ||
import jakarta.validation.constraints.Size; | ||
|
||
public record Saksnummer(@Size(max = 20) @Pattern(regexp = "^[a-zA-Z0-9_\\-]*$") String saksnummer) { } |
18 changes: 0 additions & 18 deletions
18
...dling/src/main/java/no/nav/foreldrepenger/kontrakter/formidling/v1/BehandlingUuidDto.java
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...ng/src/main/java/no/nav/foreldrepenger/kontrakter/formidling/v1/DokumentProdusertDto.java
This file was deleted.
Oops, something went wrong.
160 changes: 0 additions & 160 deletions
160
...g/src/main/java/no/nav/foreldrepenger/kontrakter/formidling/v1/DokumentbestillingDto.java
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...src/main/java/no/nav/foreldrepenger/kontrakter/formidling/v1/DokumentbestillingV2Dto.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../kontrakter/formidling/v1/BrevmalDto.java → .../kontrakter/formidling/v3/BrevmalDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 22 additions & 19 deletions
41
...rmidling/v1/DokumentbestillingV2Test.java → ...rmidling/v1/DokumentbestillingV3Test.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 7 additions & 12 deletions
19
.../nav/foreldrepenger/kontrakter/fpsak/beregningsgrunnlag/v2/BeregningsgrunnlagDtoTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...rakt-fp-risk/src/main/java/no/nav/foreldrepenger/kontrakter/risk/kodeverk/Saksnummer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package no.nav.foreldrepenger.kontrakter.risk.kodeverk; | ||
|
||
import jakarta.validation.constraints.Pattern; | ||
import jakarta.validation.constraints.Size; | ||
|
||
public record Saksnummer(@Size(max = 20) @Pattern(regexp = "^[a-zA-Z0-9_\\-]*$") String saksnummer) { } |
9 changes: 6 additions & 3 deletions
9
...p-risk/src/main/java/no/nav/foreldrepenger/kontrakter/risk/v1/HentRisikovurderingDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
package no.nav.foreldrepenger.kontrakter.risk.v1; | ||
|
||
import java.util.UUID; | ||
|
||
import jakarta.validation.Valid; | ||
import jakarta.validation.constraints.NotNull; | ||
import no.nav.foreldrepenger.kontrakter.risk.kodeverk.Saksnummer; | ||
|
||
import java.util.UUID; | ||
|
||
public record HentRisikovurderingDto(@NotNull UUID konsumentId) { | ||
public record HentRisikovurderingDto(@NotNull UUID konsumentId, | ||
@Valid Saksnummer saksnummer) { | ||
} |
Oops, something went wrong.