Skip to content
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

IS-2121: Behandle oppgave vurder avslag ved konsumering av arbeidsuforhet-vurdering #195

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

andersrognstad
Copy link
Contributor

@andersrognstad andersrognstad commented Mar 11, 2024

Konsumerer arbeidsuforhet-vurdering for å behandle oppgave vurder avslag.

@andersrognstad andersrognstad force-pushed the IS-2141-behandle-vurder-avslag branch from 46793b7 to f3ede96 Compare March 12, 2024 08:01
@andersrognstad andersrognstad marked this pull request as ready for review March 12, 2024 08:05
@andersrognstad andersrognstad requested a review from a team as a code owner March 12, 2024 08:05
@andersrognstad andersrognstad changed the title WIP IS-2121: Behandle oppgave vurder avslag ved konsumering av arbeidsuforhet-vurdering IS-2121: Behandle oppgave vurder avslag ved konsumering av arbeidsuforhet-vurdering Mar 12, 2024
personIdent = PersonIdent(vurdering.personident),
type = oppgaveType,
)
if (ubehandledeVurderAvslagOppgaver.size > 1) throw IllegalStateException("Cannot have more than one ubehandlet $oppgaveType oppgave per person")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kanskje det holder å logge dette? (ellers vil jo Kafka-consumeren krasje, ikke sant?)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Evnt gjøre forEach nedenfor (sånn at vurderingen lukker alle de åpne oppgavene)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ja, det er kanskje like greit å bare logge og lukke alle

@andersrognstad andersrognstad merged commit d81bbd1 into master Mar 12, 2024
3 checks passed
@andersrognstad andersrognstad deleted the IS-2141-behandle-vurder-avslag branch March 12, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants