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

EY-4842: Opprettet service for utsending av brev #6601

Merged
merged 5 commits into from
Dec 12, 2024

Conversation

henrikg
Copy link
Contributor

@henrikg henrikg commented Dec 11, 2024

No description provided.

@henrikg henrikg marked this pull request as ready for review December 12, 2024 10:40
@henrikg henrikg requested a review from a team as a code owner December 12, 2024 10:40
Copy link
Contributor

@Watercolours Watercolours left a comment

Choose a reason for hiding this comment

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

En god start!

Comment on lines +55 to +59
// TODO burde dette heller håndteres fra en tabell slik at det kan oppdateres uten å endre koden?
companion object {
val ANTALL_SAKER: Long = 1
val EKSKLUDERTE_SAKER: List<Long> = emptyList()
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Alternativ nais config?

Copy link
Contributor

Choose a reason for hiding this comment

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

trenger vi ekskluderte saker egentlig? hvis ikke bare å droppe det vel er bare unødvendig kompleksitet

val sisteIdent =
when (sisteIdentifikatorPdl) {
is PdlIdentifikator.FolkeregisterIdent -> sisteIdentifikatorPdl.folkeregisterident.value
is PdlIdentifikator.Npid -> sisteIdentifikatorPdl.npid.ident
Copy link
Contributor

Choose a reason for hiding this comment

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

Flyten vil vel generelt ikke fungere dersom ident er NPID? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

Skal vi støtte det ?

}

fun hentKlareJobber(
antallSaker: Long,
Copy link
Contributor

Choose a reason for hiding this comment

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

todo: mangler limit i spørringen her

@sebassonav sebassonav merged commit a2e3f75 into main Dec 12, 2024
2 checks passed
@sebassonav sebassonav deleted the ey-4842-jobb-masseutsendelse-brev branch December 12, 2024 11:06
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