This is a simple application who takes the legeerklæring document, generates a PDF and sends it to Joark to persist it
- Kotlin
- Gradle
- Ktor
- Jackson
- Junit
Make sure you have the Java JDK 21 installed You can check which version you have installed using this command:
java -version
This the high level flow of the application
flowchart LR
A[\teamsykmelding.legeerklaering/] --> pale-2-sak
pale-2-sak <--> |Get ReceivedLegeerklaering object| B[GCP Cloud Storage bucket]
pale-2-sak <--> |Get Legeerklaering vedleggs| B[GCP Cloud Storage bucket]
pale-2-sak <--> pale-2-pdfgen
pale-2-sak <--> syfohelsenettproxy
pale-2-sak <--> dokakriv
dokakriv --> Gosys;
To build locally and run the integration tests you can simply run
./gradlew shadowJar
or on windows
gradlew.bat shadowJar
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