-
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 bugfix/pdl-sivilstand-fix
- Loading branch information
Showing
656 changed files
with
1,814 additions
and
2,800 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: testnav-udi-stub | ||
name: udi-stub | ||
|
||
on: | ||
push: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,7 @@ | ||
# Adresse-service | ||
Adresse-service gir tilgang til adresser fra PDL. | ||
Søk kan gjøres på postnummer, kommunenummer, fritekstsøk, mm | ||
|
||
## Swagger | ||
Swagger finnes under [/swagger](https://testnav-adresse-service.intern.dev.nav.no/swagger) -endepunktet til | ||
applikasjonen. | ||
|
||
## Lokal kjøring | ||
Ha naisdevice kjørende og kjør AdresseServiceApplicationStarter med følgende argumenter: | ||
``` | ||
-Dspring.cloud.vault.token=[kopier token fra vault] | ||
-Dspring.profiles.active=local | ||
--add-opens java.base/java.lang=ALL-UNNAMED | ||
``` | ||
|
||
### Utviklerimage | ||
I utviklerimage brukes ikke naisdevice og du må legge til følgende ekstra argumenter: | ||
``` | ||
-Djavax.net.ssl.trustStore=[path til lokal truststore] | ||
-Djavax.net.ssl.trustStorePassword=[passord til lokal truststore] | ||
``` | ||
* [Generelt.](../../docs/local_general.md) | ||
* [Secret Manager.](../../docs/local_secretmanager.md) |
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
10 changes: 0 additions & 10 deletions
10
...sse-service/src/main/java/no/nav/testnav/apps/adresseservice/config/LocalVaultConfig.java
This file was deleted.
Oops, something went wrong.
11 changes: 10 additions & 1 deletion
11
apps/adresse-service/src/main/resources/application-local.yaml
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 +1,10 @@ | ||
TOKEN_X_CLIENT_ID: dev-gcp:dolly:testnav-adresse-service | ||
TOKEN_X_CLIENT_ID: dev-gcp:dolly:testnav-adresse-service | ||
|
||
spring: | ||
config: | ||
import: "sm://" | ||
security: | ||
oauth2: | ||
resourceserver: | ||
aad: | ||
accepted-audience: ${sm://azure-app-client-id}, api://${sm://azure-app-client-id} |
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
1 change: 0 additions & 1 deletion
1
apps/adresse-service/src/test/resources/application-test.properties
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
TOKEN_X_ISSUER: dummy | ||
|
||
spring: | ||
cloud: | ||
gcp: | ||
secretmanager: | ||
enabled: false |
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,20 +1,6 @@ | ||
# Amelding-service | ||
Service for å sende syntetiske arbeidsmeldinger videre til oppsummerings-dokument-service. | ||
|
||
## Swagger | ||
Swagger finnes under [/swagger](https://testnav-amelding-service.intern.dev.nav.no/swagger) -endepunktet til | ||
applikasjonen. | ||
|
||
## Lokal kjøring | ||
For å kjøre lokalt (AMeldingServiceApplicationStarter) må active profile settes til `dev`. I tillegg, må cloud vault token | ||
hentes fra Vault. Vault token hentes ved at man logger inn i Vault, trykker på nedtrekksmenyen oppe til høyre, og | ||
trykker på "Copy token". | ||
|
||
Disse verdiene fylles deretter inn i VM Options på IDE: | ||
|
||
Run -> Edit Configurations -> VM Options | ||
|
||
``` | ||
-Dspring.cloud.vault.token=(Copy token fra Vault) | ||
-Dspring.profiles.active=dev | ||
``` | ||
* [Generelt.](../../docs/local_general.md) | ||
* [Secret Manager.](../../docs/local_secretmanager.md) |
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
10 changes: 0 additions & 10 deletions
10
...ervice/src/main/java/no/nav/registre/testnav/ameldingservice/config/LocalVaultConfig.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
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
apps/amelding-service/src/test/resources/application-test.properties
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
apps/amelding-service/src/test/resources/application-test.yml
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,7 @@ | ||
TOKEN_X_ISSUER: dummy | ||
|
||
spring: | ||
cloud: | ||
gcp: | ||
secretmanager: | ||
enabled: false |
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
10 changes: 0 additions & 10 deletions
10
...e/src/main/java/no/nav/testnav/apps/apptilganganalyseservice/config/LocalVaultConfig.java
This file was deleted.
Oops, something went wrong.
10 changes: 9 additions & 1 deletion
10
apps/app-tilgang-analyse-service/src/main/resources/application-local.yml
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,5 +1,13 @@ | ||
spring: | ||
config: | ||
import: "sm://" | ||
flyway: | ||
url: jdbc:h2:mem:testdb | ||
username: sa | ||
password: | ||
password: | ||
security: | ||
oauth2: | ||
resourceserver: | ||
aad: | ||
accepted-audience: ${sm://azure-app-client-id}, api://${sm://azure-app-client-id} | ||
|
15 changes: 11 additions & 4 deletions
15
apps/app-tilgang-analyse-service/src/main/resources/application-localdb.yml
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,9 +1,16 @@ | ||
spring: | ||
config: | ||
import: "sm://" | ||
flyway: | ||
url: jdbc:postgresql://localhost:3306/testnav-app-tilgang-analyse-service-db | ||
user: testnav-app-tilgang-analyse-service | ||
password: ${DB_PASSWORD} | ||
r2dbc: | ||
url: r2dbc:postgresql://localhost:3306/testnav-app-tilgang-analyse-service-db | ||
username: testnav-app-tilgang-analyse-service | ||
password: ${DB_PASSWORD} | ||
flyway: | ||
url: jdbc:postgresql://localhost:3306/testnav-app-tilgang-analyse-service-db | ||
username: testnav-app-tilgang-analyse-service | ||
password: ${DB_PASSWORD} | ||
security: | ||
oauth2: | ||
resourceserver: | ||
aad: | ||
accepted-audience: ${sm://azure-app-client-id}, api://${sm://azure-app-client-id} |
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
Oops, something went wrong.