-
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-5193: Fjerner avhengighet til felles, builder for objekter med ma… (
#393)
- Loading branch information
1 parent
9dc7e27
commit e24aa68
Showing
31 changed files
with
677 additions
and
227 deletions.
There are no files selected for viewing
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
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
17 changes: 0 additions & 17 deletions
17
...t-fp-ws-proxy/src/main/java/no/nav/foreldrepenger/kontrakter/simulering/BeregningDto.java
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
.../main/java/no/nav/foreldrepenger/kontrakter/simulering/BeregningStoppnivåDetaljerDto.java
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
...roxy/src/main/java/no/nav/foreldrepenger/kontrakter/simulering/BeregningStoppnivåDto.java
This file was deleted.
Oops, something went wrong.
62 changes: 0 additions & 62 deletions
62
...rakt-fp-ws-proxy/src/main/java/no/nav/foreldrepenger/kontrakter/simulering/Fagområde.java
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...p-ws-proxy/src/main/java/no/nav/foreldrepenger/kontrakter/simulering/KodeStatusLinje.java
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
...-fp-ws-proxy/src/main/java/no/nav/foreldrepenger/kontrakter/simulering/Oppdrag110Dto.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...akt-fp-ws-proxy/src/main/java/no/nav/foreldrepenger/kontrakter/simulering/YtelseType.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...er/kontrakter/simulering/KodeEndring.java → ...akter/simulering/request/KodeEndring.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
2 changes: 1 addition & 1 deletion
2
...ntrakter/simulering/KodeEndringLinje.java → .../simulering/request/KodeEndringLinje.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
2 changes: 1 addition & 1 deletion
2
.../kontrakter/simulering/KodeFagområde.java → ...ter/simulering/request/KodeFagområde.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
2 changes: 1 addition & 1 deletion
2
.../kontrakter/simulering/KodeKlassifik.java → ...ter/simulering/request/KodeKlassifik.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
5 changes: 5 additions & 0 deletions
5
...xy/src/main/java/no/nav/foreldrepenger/kontrakter/simulering/request/KodeStatusLinje.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,5 @@ | ||
package no.nav.foreldrepenger.kontrakter.simulering.request; | ||
|
||
public enum KodeStatusLinje { | ||
OPPH, //opphør | ||
} |
2 changes: 1 addition & 1 deletion
2
.../kontrakter/simulering/LukketPeriode.java → ...ter/simulering/request/LukketPeriode.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: 2 additions & 4 deletions
6
...trakter/simulering/Ompostering116Dto.java → ...simulering/request/Ompostering116Dto.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,13 +1,11 @@ | ||
package no.nav.foreldrepenger.kontrakter.simulering; | ||
package no.nav.foreldrepenger.kontrakter.simulering.request; | ||
|
||
import java.time.LocalDate; | ||
|
||
import javax.validation.constraints.NotNull; | ||
import javax.validation.constraints.Pattern; | ||
|
||
import no.nav.vedtak.util.InputValideringRegex; | ||
|
||
public record Ompostering116Dto(@NotNull boolean omPostering, | ||
LocalDate datoOmposterFom, | ||
@NotNull @Pattern(regexp = InputValideringRegex.FRITEKST) String tidspktReg) { | ||
@NotNull @Pattern(regexp = "^[\\p{L}\\p{Blank}.'\\-\\–0-9/\\p{Space}%§\\!?@_()+:;,=\"&\\p{Sc}]*$") String tidspktReg) { | ||
} |
24 changes: 24 additions & 0 deletions
24
...roxy/src/main/java/no/nav/foreldrepenger/kontrakter/simulering/request/Oppdrag110Dto.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,24 @@ | ||
package no.nav.foreldrepenger.kontrakter.simulering.request; | ||
|
||
import java.util.List; | ||
|
||
import javax.validation.Valid; | ||
import javax.validation.constraints.Max; | ||
import javax.validation.constraints.Min; | ||
import javax.validation.constraints.NotNull; | ||
import javax.validation.constraints.Pattern; | ||
import javax.validation.constraints.Size; | ||
|
||
/** | ||
* Skal være samme som no.nav.foreldrepenger.behandlingslager.økonomioppdrag.Oppdrag110 | ||
*/ | ||
public record Oppdrag110Dto(@Valid @NotNull KodeEndring kodeEndring, | ||
@Valid @NotNull KodeFagområde kodeFagomrade, | ||
@NotNull @Min(0) @Max(Long.MAX_VALUE) Long fagsystemId, | ||
@NotNull @Pattern(regexp = "^[\\p{L}\\p{Blank}.'\\-\\–0-9/\\p{Space}%§\\!?@_()+:;,=\"&\\p{Sc}]*$") String oppdragGjelderId, | ||
@NotNull @Pattern(regexp = "^[\\p{L}\\p{Blank}.'\\-\\–0-9/\\p{Space}%§\\!?@_()+:;,=\"&\\p{Sc}]*$") String saksbehId, | ||
@NotNull @Pattern(regexp = "^[\\p{L}\\p{Blank}.'\\-\\–0-9/\\p{Space}%§\\!?@_()+:;,=\"&\\p{Sc}]*$") String nøkkelAvstemming, | ||
@Valid Ompostering116Dto ompostering116, | ||
@Valid @NotNull @Size(min = 1) List<@Valid @NotNull Oppdragslinje150Dto> oppdragslinje150Liste) { | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...akter/simulering/OppdragskontrollDto.java → ...mulering/request/OppdragskontrollDto.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
Oops, something went wrong.