This project contains the backend for handling manual sykmelding, front end code: https://github.com/navikt/syfosmmanuell
- Kotlin
- Ktor
- Gradle
- Kotest
- Jackson
- Postgres
- Docker
- JDK 21
- Docker
This the high level flow for the application
graph LR
A[\teamsykmelding.sykmelding-manuell/] --- syfosmmanuell-bakcend
syfosmmanuell-bakcend --- syfosmmanuell
syfosmmanuell-bakcend -- check caseworker access --- istilgangskontroll
syfosmmanuell-bakcend -- create,get,complete oppgave --- oppgave
syfosmmanuell-bakcend -- verify token --- azure-AD
syfosmmanuell-bakcend --- id1[(Database)]
syfosmmanuell-bakcend --- B[\teamsykmelding.sykmelding-apprec/]
syfosmmanuell-bakcend --- C[\teamsykmelding.ok-sykmelding/]
syfosmmanuell-bakcend --- D[\teamsykmelding.oppgave-produser-oppgave/];
To build locally and run the integration tests you can simply run
./gradlew shadowJar
or on windows
gradlew.bat shadowJar
Creating a docker image should be as simple as docker build -t syfosmmanuell-backend .
docker run --rm -it -p 8080:8080 syfosmmanuell-backend
For information on connecting to dev og prod database see: Postgres GCP
Find the newest version of gradle here: https://gradle.org/releases/ Then run this command:
./gradlew wrapper --gradle-version $gradleVersjon
This project is maintained by navikt/teamsykmelding
Questions and/or feature requests? Please create an issue
If you work in @navikt you can reach us at the Slack channel #team-sykmelding