- Kotlin
- Spring boot
- Gradle
Make sure you have the Java JDK 21 installed You can check which version you have installed using this command:
java -version
Make sure you have the Docker installed You can check which version you have installed using this command:
docker --version
Make sure you have the Docker-compose installed You can check which version you have installed using this command:
docker-compose --version
Docker compose will deploy Kafka. To query the local Kafka instance you can use the following command to check for content in the topic::
kcat -b localhost:9092 -t tsm.sykmeldinger-input -C -o beginning
To build locally and run the integration tests you can simply run
./gradlew clean build
or on windows
gradlew.bat clean build
new stuff under here this is the stuff you should read
external services are mocked so we are not calling pdl, btsys etc-
docker compose up -d
or
podman-compose up -d
currently flyway is not enabled so before you send a create sykmelding you HAVE to create the sykmelding table. Start the db query console in your IDe and run this:
CREATE TABLE sykmelding (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
sykmelding_id TEXT NOT NULL,
pasient_fnr TEXT NOT NULL,
sykmelder_hpr TEXT NOT NULL,
sykmelding JSONB NOT NULL,
legekontor_orgnr TEXT NOT NULL,
validert_ok BOOLEAN NOT NULL DEFAULT FALSE
);
This project is maintained by navikt/tsm
Questions and/or feature requests? Please create an issue
If you work in @navikt you can reach us at the Slack channel #team-sykmelding