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

Fjern mellomledd for ferdigstilling av sak og oppgave #762

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

bjerga
Copy link
Contributor

@bjerga bjerga commented Nov 7, 2024

Vi har i dag en river hvis eneste jobb er å lese INNTEKTSMELDING_MOTTATT og sende ut FORESPOERSEL_BESVART. Jeg fjerner denne og leser heller INNTEKTSMELDING_MOTTATT i neste ledd i kjeden.

@bjerga bjerga requested a review from a team as a code owner November 7, 2024 14:04
FerdigstillForespoerselSakMelding(
eventName = eventName,
transaksjonId = Key.UUID.les(UuidSerializer, json),
forespoerselId = Key.FORESPOERSEL_ID.lesOrNull(UuidSerializer, json) ?: Key.FORESPOERSEL_ID.les(UuidSerializer, data),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Lesing fra både json og data er midlertidig. Skal bytte fullstending over til data.

Comment on lines +79 to +84
Key.DATA to
mapOf(
Key.FORESPOERSEL_ID to forespoerselId.toJson(),
Key.SPINN_INNTEKTSMELDING_ID to spinnInntektsmeldingId?.toJson(),
).mapValuesNotNull { it }
.toJson(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Smyger med denne for å gjøre forenklinger i bro-spinn senere.

@bjerga bjerga merged commit 7a58f14 into main Nov 8, 2024
23 checks passed
@bjerga bjerga deleted the dev/forespoersel-besvart-fjern-mellomledd branch November 8, 2024 13:42
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.

2 participants