Syfobehandlendeenhet is a Ktor application written in Kotlin. Syfobehandlendeenhet takes a person's PersonIdent as input and outputs a NAV-enhet. This NAV-enhet is the BehandlendeEnhet of the person in the context of SYFO(Sykefraværsoppfølging)
To find BehandlendeEnhet, the application makes requests to PersonDataLøsningen(PDL), to skjermed-personer-pip(egenAnsatt
) til NORG.
- Docker
- Gradle
- Kotlin
- Ktor
- Valkey
Build the application with gradle
Start the application with LocalApplication.main
. The local application runs on port 8999.
Run checking: ./gradlew --continue ktlintCheck
Run formatting: ./gradlew ktlintFormat
Apply checking: ./gradlew addKtlintCheckGitPreCommitHook
Apply formatting: ./gradlew addKtlintFormatGitPreCommitHook
This application uses Valkey on Aiven for caching.
Pipeline is run with Github Action workflows. Commits to Master-branch is deployed automatically to dev and prod. Commits to non-master-branch is built without automatic deploy.
We are available at the Slack channel #isyfo
.