Skip to content

Commit

Permalink
format ktlint 2
Browse files Browse the repository at this point in the history
Co-authored-by: Mikael Bjerga <[email protected]>
Co-authored-by: Morten Byhring <[email protected]>
  • Loading branch information
3 people committed Jan 30, 2024
1 parent 254be5a commit 3e615fd
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/main/kotlin/no/nav/syfo/koin/PreprodKoinProfile.kt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ fun preprodConfig(config: ApplicationConfig) = module {
}
} bind DataSource::class


single {
JoarkInntektsmeldingHendelseProsessor(
get(), get(), get(), get(), get()
Expand Down Expand Up @@ -153,7 +152,8 @@ fun preprodConfig(config: ApplicationConfig) = module {

single {
PdlClientImpl(
config.getString("pdl_url"), RestSTSAccessTokenProvider(
config.getString("pdl_url"),
RestSTSAccessTokenProvider(
config.getString("security_token.username"),
config.getString("security_token.password"),
config.getString("security_token_service_token_url"),
Expand All @@ -180,7 +180,8 @@ fun preprodConfig(config: ApplicationConfig) = module {
single {
SafJournalpostClient(
get(),
config.getString("saf_journal_url"), RestSTSAccessTokenProvider(
config.getString("saf_journal_url"),
RestSTSAccessTokenProvider(
config.getString("security_token.username"),
config.getString("security_token.password"),
config.getString("security_token_service_token_url"),
Expand Down Expand Up @@ -225,7 +226,12 @@ fun preprodConfig(config: ApplicationConfig) = module {
ConsumerConfig.GROUP_ID_CONFIG to "syfoinntektsmelding-im-v1",
ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG to StringDeserializer::class.java,
ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG to StringDeserializer::class.java
), "helsearbeidsgiver.inntektsmelding", get(), get(), get(), get()
),
"helsearbeidsgiver.inntektsmelding",
get(),
get(),
get(),
get()
)
}
}

0 comments on commit 3e615fd

Please sign in to comment.