-
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.
- Vault still required for local profile, but removed custom Vault in…
…it code.
- Loading branch information
Showing
3 changed files
with
5 additions
and
56 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
7 changes: 3 additions & 4 deletions
7
...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,19 +1,18 @@ | ||
package no.nav.registre.sdforvalter; | ||
|
||
import lombok.extern.slf4j.Slf4j; | ||
import no.nav.registre.sdforvalter.util.VaultUtil; | ||
import no.nav.testnav.libs.vault.VaultUtil; | ||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@Slf4j | ||
@SpringBootApplication | ||
public class StatiskDataForvalterApplicationStarter { | ||
|
||
public static void main(String[] args) { | ||
|
||
if ("prod".equals(System.getProperty("spring.profiles.active"))) { | ||
VaultUtil.initCloudVaultToken(); | ||
} | ||
|
||
SpringApplication.run(StatiskDataForvalterApplicationStarter.class, args); | ||
|
||
} | ||
} |
46 changes: 0 additions & 46 deletions
46
...orge-statisk-data-forvalter/src/main/java/no/nav/registre/sdforvalter/util/VaultUtil.java
This file was deleted.
Oops, something went wrong.