-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tjeneste til Pensjon for uthenting av perioder med barnetrygd #393
Conversation
…person. Laget etter modell fra bisys/skatt tjenestene, men tar i tillegg med relevante perioder med ordinær barnetrygd
d3ab7a3
to
3e2db58
Compare
src/main/kotlin/no/nav/familie/ba/infotrygd/rest/controller/PensjonController.kt
Show resolved
Hide resolved
src/main/kotlin/no/nav/familie/ba/infotrygd/service/BarnetrygdService.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/no/nav/familie/ba/infotrygd/service/BarnetrygdService.kt
Show resolved
Hide resolved
@Operation(summary = "Uttrekk barnetrygdperioder på en person fra en bestemet måned. Maks 2 år tilbake i tid") | ||
@PostMapping(path = ["pensjon"], consumes = ["application/json"]) | ||
@ApiRequestBody(content = [Content(examples = [ExampleObject(value = """{"personIdent": "12345678910", "fraDato": "2022-05"}""")])]) | ||
fun hentBarnetrygd(@RequestBody request: BarnetrygdTilPensjonRequest): BarnetrygdTilPensjonResponse { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Så kun ute etter perioder for saker som også løper i ba?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nei, er egentlig en oppgave som består av to 2 deler. Regner med vi kommer til å trenge et "finnPersonerTilPensjon"-endepunkt i den andre delen av oppgaven
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…estemt år til pensjon (for det meste en kopi av skatt-versjonen). Endrer fraDato-typen i perioder-requesten til LocalDate, i samsvar med request-objektet i BA-sak.
Favro
Laget etter samme modell som bisys/skatt tjenestene, men tar med relevante perioder med ordinær barnetrygd i tillegg.