-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
33 additions
and
6 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
9 changes: 9 additions & 0 deletions
9
...jon/spokelse-klient/src/main/java/no/nav/vedtak/felles/integrasjon/spokelse/Spøkelse.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,11 +1,20 @@ | ||
package no.nav.vedtak.felles.integrasjon.spokelse; | ||
|
||
import java.time.Duration; | ||
import java.time.LocalDate; | ||
import java.util.List; | ||
|
||
public interface Spøkelse { | ||
|
||
List<SykepengeVedtak> hentGrunnlag(String fnr); | ||
|
||
List<SykepengeVedtak> hentGrunnlag(String fnr, LocalDate fom); | ||
|
||
List<SykepengeVedtak> hentGrunnlag(String fnr, LocalDate fom, Duration timeout); | ||
|
||
// Logger evt feil som info og gir tom list | ||
List<SykepengeVedtak> hentGrunnlagFailSoft(String fnr); | ||
|
||
// Logger evt feil som info og gir tom list | ||
List<SykepengeVedtak> hentGrunnlagFailSoft(String fnr, LocalDate fom); | ||
} |