Skip to content

Commit

Permalink
Oppdatert timere og forberedt for logging
Browse files Browse the repository at this point in the history
#deploy-modapp-ereg-proxy

Deleted LocalSecurityConfig.java and LocalVaultConfig.java files. Adjusted DevConfig to use correct VaultPropertySource and updated application.yml settings for better configuration management.
  • Loading branch information
krharum committed Sep 9, 2024
1 parent 56eb101 commit 40e9ab6
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

@Configuration
@Profile("dev")
@VaultPropertySource(value = "azuread/prod/creds/team-dolly-lokal-app", ignoreSecretNotFound = false)
@VaultPropertySource(value = "secret/dolly/lokal", ignoreSecretNotFound = false)
public class DevConfig extends AbstractVaultConfiguration {

private static final String VAULT_TOKEN = "spring.cloud.vault.token";
Expand Down
3 changes: 0 additions & 3 deletions proxies/modapp-ereg-proxy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ sonarqube {
dependencies {
implementation 'no.nav.testnav.libs:security-core'
implementation 'no.nav.testnav.libs:reactive-security'

implementation "org.springframework.boot:spring-boot-starter-webflux"
implementation "org.springframework.cloud:spring-cloud-starter-vault-config"
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

logging:
level:
org:
springframework:
cloud:
gateway: TRACE
14 changes: 13 additions & 1 deletion proxies/modapp-ereg-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,22 @@ spring:
cloud:
gateway:
httpclient:
response-timeout: 1200s
response-timeout: 10s
wiretap: true
httpserver:
wiretap: true
vault:
enabled: false

logging:
level:
reactor:
netty: INFO
org:
springframework:
cloud:
gateway: INFO

consumers:
ereg-aura:
name: ereg-aura
Expand Down

0 comments on commit 40e9ab6

Please sign in to comment.