Skip to content

Commit

Permalink
Vil legge til configurationproperties manuelt da scan ikke fungerer f…
Browse files Browse the repository at this point in the history
…or disse.
  • Loading branch information
ma10s committed Jan 20, 2025
1 parent ae783d7 commit f5cbb46
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/kotlin/no/nav/familie/ef/søknad/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties

@ConfigurationPropertiesScan
@SpringBootApplication(scanBasePackages = ["no.nav.familie.ef.søknad"])
@EnableConfigurationProperties(MottakConfig::class, CorsProperties::class,FamilieIntegrasjonerConfig::class, RegelverkConfig::class, SaksbehandlingConfig::class)
@EnableConfigurationProperties(
MottakConfig::class,
CorsProperties::class,
FamilieIntegrasjonerConfig::class,
RegelverkConfig::class,
SaksbehandlingConfig::class,
)
@EnableJwtTokenValidation(ignore = ["org.springframework", "org.springdoc"])
class Application

Expand Down

0 comments on commit f5cbb46

Please sign in to comment.