Skip to content

Applikasjon for håndtering av dialogmøter i sykefraværsoppfølgingen.

License

Notifications You must be signed in to change notification settings

navikt/isdialogmote

Repository files navigation

Build status

isdialogmote

Isdialogmote is a backend service for handling DialogmoteInnkallinger. Dialogmoteinnkallinger are created and edited by SYFO-veiledere in Syfomodiaperson(https://github.com/navikt/syfomodiaperson) in Modia.

Note! isdialogmote persists the virksomhet for a dialogmote, but never the nærmeste leder. This is because the sykmeldt-nærmeste leder relation can change at any time, including after a dialogmote has been created. This means that to get for example a nærmeste leder's email, we always have to get the relation and its accompanying information from the application that holds the most current information: narmesteleder.

Technologies used

  • Docker
  • Gradle
  • Kotlin
  • Kafka
  • Ktor
  • Postgres
  • Redis
  • IBM MQ
Test Libraries:
  • Kluent
  • Mockk
  • Spek

Requirements

  • JDK 21

Build

Run ./gradlew clean shadowJar

Lint (Ktlint)

Command line

Run checking: ./gradlew --continue ktlintCheck

Run formatting: ./gradlew ktlintFormat

Git Hooks

Apply checking: ./gradlew addKtlintCheckGitPreCommitHook

Apply formatting: ./gradlew addKtlintFormatGitPreCommitHook

Test

Run ./gradlew test -i

Run Application

Create Docker Image

Creating a docker image should be as simple as docker build -t isdialogmote .

Run Docker Image

docker run --rm -it -p 8080:8080 isdialogmote

Cache

This application uses Redis for caching. Redis is deployed automatically on changes to workflow or config on master branch. For manual deploy, run: kubectl apply -f .nais/redis-config.yaml or kubectl apply -f .nais/redisexporter.yaml.

Kafka

This application produces the following topic(s):

  • isdialogmote-dialogmote-statusendring
  • isdialogmelding-behandler-dialogmelding-bestilling
  • teamsykmelding.dinesykmeldte-hendelser-v2

This application consumes the following topic(s):

  • dialogmelding

Contact

For NAV employees

We are available at the Slack channel #isyfo.

About

Applikasjon for håndtering av dialogmøter i sykefraværsoppfølgingen.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages