-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/inntektstub-datepicker-refaktor
- Loading branch information
Showing
50 changed files
with
583 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
apps/levende-arbeidsforhold-ansettelse/99-dolly-convert-to-pk8.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env sh | ||
|
||
# | ||
# Converts NAIS provided key.pem to PKCS#8 PEM format, which can be used by R2dbc. | ||
# | ||
openssl pkey -in /var/run/secrets/nais.io/sqlcertificate/key.pem -out /tmp/pk8.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...v/testnav/levendearbeidsforholdansettelse/LevendeArbeidsforholdAnsettelseApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,30 @@ | ||
package no.nav.testnav.levendearbeidsforholdansettelse; | ||
|
||
import no.nav.testnav.libs.reactivecore.config.CoreConfig; | ||
import no.nav.testnav.libs.reactivesecurity.config.SecureOAuth2ServerToServerConfiguration; | ||
import no.nav.testnav.libs.standalone.servletsecurity.config.InsecureJwtServerToServerConfiguration; | ||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.context.annotation.Import; | ||
import org.springframework.data.r2dbc.config.EnableR2dbcAuditing; | ||
import org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories; | ||
import org.springframework.scheduling.annotation.EnableAsync; | ||
import org.springframework.web.reactive.config.EnableWebFlux; | ||
|
||
@SpringBootApplication | ||
@EnableAsync | ||
@EnableR2dbcAuditing | ||
@EnableR2dbcRepositories | ||
@EnableWebFlux | ||
@Import({ | ||
CoreConfig.class, | ||
SecureOAuth2ServerToServerConfiguration.class, | ||
InsecureJwtServerToServerConfiguration.class | ||
}) | ||
public class LevendeArbeidsforholdAnsettelseApplication { | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(LevendeArbeidsforholdAnsettelseApplication.class, args); | ||
} | ||
|
||
} |
18 changes: 0 additions & 18 deletions
18
...rc/main/java/no/nav/testnav/levendearbeidsforholdansettelse/config/ApplicationConfig.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...ttelse/src/main/java/no/nav/testnav/levendearbeidsforholdansettelse/config/WebConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package no.nav.testnav.levendearbeidsforholdansettelse.config; | ||
|
||
import no.nav.testnav.levendearbeidsforholdansettelse.utility.PageableHandlerMethodArgumentResolver; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.web.reactive.config.WebFluxConfigurer; | ||
import org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer; | ||
|
||
@Configuration | ||
public class WebConfig implements WebFluxConfigurer { | ||
|
||
@Override | ||
public void configureArgumentResolvers(ArgumentResolverConfigurer configurer) { | ||
configurer.addCustomResolver(new PageableHandlerMethodArgumentResolver()); | ||
} | ||
} |
Oops, something went wrong.