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

Tsff 817 tilpasninger fordel #1503

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Tsff 817 tilpasninger fordel #1503

merged 1 commit into from
Oct 7, 2024

Conversation

inavga
Copy link
Contributor

@inavga inavga commented Oct 1, 2024

No description provided.

@@ -72,7 +72,7 @@ public Response oppdaterJournalpost(OppdaterJournalpostRequest oppdaterJournalpo
}
var oppdaterJournalpostResponse = new OppdaterJournalpostResponse();
oppdaterJournalpostResponse.setJournalpostId(journalpostId);
return Response.accepted().entity(oppdaterJournalpostResponse).build();
return Response.ok().entity(oppdaterJournalpostResponse).build();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

k9-Fordel feiler om den får 202 her, den venter 200

case "M" -> "MidlertidigJournalført";
case "A" -> "Avbrutt";
default -> "MidlertidigJournalført";
case "J" -> "EndeligJournalført";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Disse hendelsestypene stemte ikke helt med det som står dokumentert, og ble dermed sortert ut i k9-Fordel: https://confluence.adeo.no/display/BOA/Joarkhendelser#

Jeg vet ikke helt hvordan dette vil slå ut på den andre testene, men prøver denne kombinasjonen for nå. Tar gjerne imot forslag til andre konfigurasjoner.

};
}

private BehandlingsTema tilBehandlingsTema(JournalpostModell modell) {
return switch (modell.getDokumentModellList().isEmpty() ? DokumenttypeId.UDEFINERT : modell.getDokumentModellList().get(0).getDokumentType()) {
return switch (modell.getDokumentModellList().isEmpty() ? DokumenttypeId.UDEFINERT : modell.getDokumentModellList().getFirst().getDokumentType()) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Compiler warning

@inavga inavga marked this pull request as ready for review October 2, 2024 07:08
@inavga inavga requested review from a team as code owners October 2, 2024 07:08
@inavga inavga force-pushed the TSFF-817-tilpasninger-fordel branch from f807989 to ce40831 Compare October 7, 2024 13:01
@inavga inavga force-pushed the TSFF-817-tilpasninger-fordel branch from ce40831 to 40c2124 Compare October 7, 2024 13:48
@inavga inavga merged commit f5533ec into master Oct 7, 2024
7 checks passed
@inavga inavga deleted the TSFF-817-tilpasninger-fordel branch October 7, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants