-
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.
- Removed no longer used AbstractLocalVaultConfiguration.
- Simplified the remaining 3 API usages of VaultUtils.
- Loading branch information
Showing
6 changed files
with
14 additions
and
114 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
8 changes: 3 additions & 5 deletions
8
...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,16 @@ | ||
package no.nav.registre.sdforvalter; | ||
|
||
import no.nav.testnav.libs.vault.VaultUtil; | ||
import no.nav.testnav.libs.vault.VaultUtils; | ||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@SpringBootApplication | ||
public class StatiskDataForvalterApplicationStarter { | ||
|
||
public static void main(String[] args) { | ||
|
||
if ("prod".equals(System.getProperty("spring.profiles.active"))) { | ||
VaultUtil.initCloudVaultToken(); | ||
} | ||
VaultUtils.initCloudVaultToken("prod"); | ||
SpringApplication.run(StatiskDataForvalterApplicationStarter.class, args); | ||
|
||
} | ||
|
||
} |
9 changes: 3 additions & 6 deletions
9
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,15 @@ | ||
package no.nav.udistub; | ||
|
||
import no.nav.testnav.libs.vault.VaultUtil; | ||
import no.nav.testnav.libs.vault.VaultUtils; | ||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@SpringBootApplication | ||
public class UdiStubApplicationStarter { | ||
|
||
public static void main(String[] args) { | ||
|
||
if ("prod".equals(System.getProperty("spring.profiles.active"))) { | ||
VaultUtil.initCloudVaultToken(); | ||
} | ||
|
||
VaultUtils.initCloudVaultToken("prod"); | ||
SpringApplication.run(UdiStubApplicationStarter.class, args); | ||
} | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
75 changes: 0 additions & 75 deletions
75
libs/vault/src/main/java/no/nav/testnav/libs/vault/AbstractLocalVaultConfiguration.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