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

TOR-2198 Uusi api hakemuspalveluille #3008

Merged
merged 12 commits into from
Jul 29, 2024
Merged

Conversation

hruoho
Copy link
Contributor

@hruoho hruoho commented Jul 1, 2024

No description provided.

@hruoho hruoho force-pushed the TOR-2198-uusi-hakemuspalvelu-api branch 3 times, most recently from 4b4b2c9 to e289ae9 Compare July 2, 2024 10:06
@hruoho hruoho marked this pull request as ready for review July 11, 2024 07:52
Comment on lines 21 to 19
post("/hetu") {
withJsonBody { json =>
renderEither(extractAndValidateHetu(json).flatMap(application.hakemuspalveluService.findOppijaByHetu))
}()
}
Copy link
Contributor Author

@hruoho hruoho Jul 12, 2024

Choose a reason for hiding this comment

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

Tarvitaanko ollenkaan?

try {
val opiskeluoikeudet: Seq[schema.YlioppilastutkinnonOpiskeluoikeus] =
if (useDownloadedYtr) {
fetchDownloadedYtrOpiskeluoikeudet(masterHenkilö)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pura rajapintahaku funktion sisältä eksplisiittisemmin tähän

private def josKKTutkintoNiinVahvistettu(s: HakemuspalveluSuoritus): Boolean = {
s match {
case s: HakemuspalveluKorkeakoulututkinnonSuoritus
=> s.vahvistus.isDefined
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Formatointi?

@a544jh a544jh self-requested a review July 12, 2024 12:34
@hruoho hruoho force-pushed the TOR-2198-uusi-hakemuspalvelu-api branch from 56757b2 to 0a35361 Compare July 22, 2024 11:05
@hruoho hruoho merged commit 4e1019a into master Jul 29, 2024
35 checks passed
@hruoho hruoho deleted the TOR-2198-uusi-hakemuspalvelu-api branch July 29, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants