-
Notifications
You must be signed in to change notification settings - Fork 1
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
EY-4963 Støtte opprettelse av oppfølgingsoppaver for aktivitetsplikt … #6995
Conversation
...latte-behandling/src/main/kotlin/behandling/aktivitetsplikt/AktivitetspliktOppgaveService.kt
Show resolved
Hide resolved
...latte-behandling/src/main/kotlin/behandling/aktivitetsplikt/AktivitetspliktOppgaveService.kt
Outdated
Show resolved
Hide resolved
val oppgave = inTransaction { aktivitetspliktOppgaveService.ferdigstillBrevOgOppgave(oppgaveId, brukerTokenInfo) } | ||
call.respond(oppgave) | ||
route("/api/aktivitetsplikt/oppgave") { | ||
post("/opprett") { |
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.
@oyvindsh skal vi kalle denne fra de automatiske jobbene også?
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.
Hmm, kanskje? Jobben må i så fall håndtere å få forskjellige forespoerselexceptions tilbake forskjellig fra internfeil, slik at den gir seg hvis den ikke skal opprette og prøver på nytt (kræsjlooper) hvis det er noe feil med behandling. Kanskje det letteste er å ha to endepunkt og så kan sjekkene hentes ut i en felles metode, og så kan oppgavene for de automatiske bare fange exceptions i service der, og saksbehandler-kallet sender de ut.
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.
se gjerne på #7044
merger de samtidig tenker jeg med denne først
og deretter den ovennevnte så sperrer på brev
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.
Nice!
Vi burde ha noen sjekker i de automatiske opprettede oppgavene også, slik at de ikke lager flere under arbeid / lager nye hvis de allerede er ferdigstilt
...atte-saksbehandling-ui/client/src/components/person/aktivitet/AktivitetspliktSakoversikt.tsx
Outdated
Show resolved
Hide resolved
...latte-behandling/src/main/kotlin/behandling/aktivitetsplikt/AktivitetspliktOppgaveService.kt
Outdated
Show resolved
Hide resolved
Sees på med #7045 |
…i backend