-
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
Fjern unødvendig behov brukt under lagring av ekstern IM #734
Conversation
@@ -91,7 +90,7 @@ class LagreEksternImRiverTest : | |||
context("ignorerer melding") { | |||
withData( | |||
mapOf( | |||
"melding med uønsket behov" to Pair(Key.BEHOV, BehovType.HENT_VIRKSOMHET_NAVN.toJson()), | |||
// "melding med uønsket behov" to Pair(Key.BEHOV, BehovType.HENT_VIRKSOMHET_NAVN.toJson()), |
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.
Skal kommenteres inn igjen ganske snart.
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.
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.
Per nå så tillater vi vilkårlige behov, men det gjør vi kun i en overgangsfase, ref. https://github.com/navikt/helsearbeidsgiver-inntektsmelding/pull/734/files#diff-a2838e484f753e890c08a72b3bad94c722036ac85d157f0463555b968dcd9c9bR35.
bestemmendeFravaersdag = Key.BESTEMMENDE_FRAVAERSDAG.lesOrNull(LocalDateSerializer, json), | ||
journalpostId = Key.JOURNALPOST_ID.les(String.serializer(), json), | ||
) | ||
} |
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.
Smyger med denne endringen, som forbereder fjerning av enda et behov som kun brukes i den asynke flyten.
Testet OK. |
Vi trenger ikke behov i rivers som kun er med i en asynkron flyt.