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

Opprydding fjerner ubrukt kode #634

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Conversation

blommish
Copy link
Contributor

Vi kommer sansynligvis kopiere oppdrag fra familie, og tenkte då att det kunde være fint. få ryddet opp litt i den..
Dette er endepunkter som ikke er i bruk, har heller ikke vært i bruk siste 3 månadene.

image

Copy link
Contributor

@hensol hensol left a comment

Choose a reason for hiding this comment

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

Lgtm, har bare en kommentar rundt TypeKlasse vs PosteringType

@@ -141,7 +135,7 @@ class SimuleringTjenesteImpl(
return simulering.beregningsPeriode.associateWith { beregningsperiode ->
beregningsperiode.beregningStoppnivaa.map { stoppNivå ->
stoppNivå.beregningStoppnivaaDetaljer.filter { detalj ->
detalj.typeKlasse == TypeKlasse.YTEL.name
detalj.typeKlasse == PosteringType.YTELSE.kode
Copy link
Contributor

Choose a reason for hiding this comment

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

Noen grunn til at du mener det er bedre å bruke PosteringType enn TypeKlasse?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Har fjernet TypeKlasse som låg inne i https://github.com/navikt/familie-oppdrag/pull/634/files#diff-c6739eda35315114a50a84630e890c9f48b6d60371f69f6f0630695cf4ba9cd2L44
Men som egentlige finnes i Kontrakter som PosteringType

@blommish blommish merged commit 15d0e2a into master Sep 18, 2023
@blommish blommish deleted the opprydding-fjerner-ubrukt-kode branch September 18, 2023 07:02
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