-
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/dolly-sok-inkluder-opprettede-pers…
…oner
- Loading branch information
Showing
33 changed files
with
63 additions
and
152 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
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 @@ | ||
#!/usr/bin/env sh | ||
|
||
# | ||
# Load the contents of the NAIS provided Vault token into a Spring Boot friendly environment variable. | ||
# | ||
SPRING_CLOUD_VAULT_TOKEN=$(cat /var/run/secrets/nais.io/vault/vault_token) | ||
export SPRING_CLOUD_VAULT_TOKEN |
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: 1 addition & 5 deletions
6
apps/brreg-stub/src/main/java/no/nav/brregstub/BrregApplicationLauncher.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,18 +1,14 @@ | ||
package no.nav.brregstub; | ||
|
||
import no.nav.dolly.libs.nais.NaisEnvironmentApplicationContextInitializer; | ||
import no.nav.dolly.libs.vault.VaultTokenApplicationContextInitializer; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.boot.builder.SpringApplicationBuilder; | ||
|
||
|
||
@SpringBootApplication | ||
public class BrregApplicationLauncher { | ||
public static void main(String[] args) { | ||
new SpringApplicationBuilder(BrregApplicationLauncher.class) | ||
.initializers( | ||
new VaultTokenApplicationContextInitializer(), | ||
new NaisEnvironmentApplicationContextInitializer()) | ||
.initializers(new NaisEnvironmentApplicationContextInitializer()) | ||
.run(args); | ||
} | ||
} |
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
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
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
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,7 +1,8 @@ | ||
# Testnav-Kodeverk-Service | ||
Henter, formatterer, og cacher data fra felles kodeverk.</br> | ||
Lagt til eget kodeverk, Kommuner2024, som henter Kommuner og fjerner gamle kommunenummere | ||
|
||
Henter, formatterer, og cacher data fra felles kodeverk | ||
|
||
## Lokal kjøring | ||
|
||
* [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
20 changes: 0 additions & 20 deletions
20
.../kodeverk-service/src/main/java/no/nav/testnav/kodeverkservice/utility/FilterUtility.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
7 changes: 7 additions & 0 deletions
7
apps/testnorge-statisk-data-forvalter/98-dolly-set-serviceuser.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,7 @@ | ||
#!/bin/bash | ||
|
||
SERVICEUSER_USERNAME=$(cat /var/run/secrets/nais.io/serviceuser/password) | ||
export SERVICEUSER_USERNAME | ||
|
||
SERVICEUSER_PASSWORD=$(cat /secret/serviceuser/password) | ||
export SERVICEUSER_PASSWORD |
7 changes: 7 additions & 0 deletions
7
apps/testnorge-statisk-data-forvalter/99-dolly-set-vault-token.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,7 @@ | ||
#!/usr/bin/env sh | ||
|
||
# | ||
# Load the contents of the NAIS provided Vault token into a Spring Boot friendly environment variable. | ||
# | ||
SPRING_CLOUD_VAULT_TOKEN=$(cat /var/run/secrets/nais.io/vault/vault_token) | ||
export SPRING_CLOUD_VAULT_TOKEN |
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.
6 changes: 1 addition & 5 deletions
6
...ter/src/main/java/no/nav/registre/sdforvalter/StatiskDataForvalterApplicationStarter.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,18 +1,14 @@ | ||
package no.nav.registre.sdforvalter; | ||
|
||
import no.nav.dolly.libs.nais.NaisEnvironmentApplicationContextInitializer; | ||
import no.nav.dolly.libs.vault.VaultTokenApplicationContextInitializer; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.boot.builder.SpringApplicationBuilder; | ||
|
||
@SpringBootApplication | ||
public class StatiskDataForvalterApplicationStarter { | ||
public static void main(String[] args) { | ||
new SpringApplicationBuilder(StatiskDataForvalterApplicationStarter.class) | ||
.initializers( | ||
new VaultTokenApplicationContextInitializer(), | ||
new NaisEnvironmentApplicationContextInitializer() | ||
) | ||
.initializers(new NaisEnvironmentApplicationContextInitializer()) | ||
.run(args); | ||
} | ||
} |
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 @@ | ||
#!/usr/bin/env sh | ||
|
||
# | ||
# Load the contents of the NAIS provided Vault token into a Spring Boot friendly environment variable. | ||
# | ||
SPRING_CLOUD_VAULT_TOKEN=$(cat /var/run/secrets/nais.io/vault/vault_token) | ||
export SPRING_CLOUD_VAULT_TOKEN |
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: 1 addition & 5 deletions
6
apps/udi-stub/src/main/java/no/nav/udistub/UdiStubApplicationStarter.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,18 +1,14 @@ | ||
package no.nav.udistub; | ||
|
||
import no.nav.dolly.libs.nais.NaisEnvironmentApplicationContextInitializer; | ||
import no.nav.dolly.libs.vault.VaultTokenApplicationContextInitializer; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.boot.builder.SpringApplicationBuilder; | ||
|
||
@SpringBootApplication | ||
public class UdiStubApplicationStarter { | ||
public static void main(String[] args) { | ||
new SpringApplicationBuilder(UdiStubApplicationStarter.class) | ||
.initializers( | ||
new VaultTokenApplicationContextInitializer(), | ||
new NaisEnvironmentApplicationContextInitializer() | ||
) | ||
.initializers(new NaisEnvironmentApplicationContextInitializer()) | ||
.run(args); | ||
} | ||
} |
13 changes: 0 additions & 13 deletions
13
libs/vault/src/main/java/no/nav/dolly/libs/vault/VaultException.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.