Skip to content

Commit

Permalink
- Secret Manager now only enabled for local runs, not for deployment/…
Browse files Browse the repository at this point in the history
…tests.
  • Loading branch information
rfc3092 committed Nov 19, 2024
1 parent 4cffbcc commit 4ac3a92
Show file tree
Hide file tree
Showing 70 changed files with 180 additions and 155 deletions.
5 changes: 3 additions & 2 deletions proxies/aareg-proxy/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ spring:
gateway:
httpclient:
response-timeout: 600s
vault:
enabled: false
gcp:
secretmanager:
enabled: false

springdoc:
swagger-ui:
Expand Down
8 changes: 1 addition & 7 deletions proxies/aareg-proxy/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
TOKEN_X_ISSUER: dummy
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 600s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
TOKEN_X_ISSUER: dummy
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 30s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false

consumers:
arbeidsplassencv:
name: placeholder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 120s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
spring:
cloud:
gcp:
secretmanager:
enabled: false

app:
arena:
services:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
3 changes: 3 additions & 0 deletions proxies/batch-adeo-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 30s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
TOKEN_X_ISSUER: dummy
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
3 changes: 3 additions & 0 deletions proxies/brregstub-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 30s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
TOKEN_X_ISSUER: dummy
4 changes: 4 additions & 0 deletions proxies/dokarkiv-proxy/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ TOKEN_X_CLIENT_ID: dev-gcp:dolly:testnav-dokarkiv-proxy
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
3 changes: 3 additions & 0 deletions proxies/dokarkiv-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 120s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false

consumers:
dokarkiv:
url: http://dokarkiv-dummy.dummy.no
Expand Down
4 changes: 4 additions & 0 deletions proxies/ereg-proxy/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
3 changes: 3 additions & 0 deletions proxies/ereg-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 120s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
8 changes: 1 addition & 7 deletions proxies/ereg-proxy/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
TOKEN_X_ISSUER: dummy
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
3 changes: 3 additions & 0 deletions proxies/fullmakt-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 600s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
TOKEN_X_ISSUER: dummy
4 changes: 4 additions & 0 deletions proxies/histark-proxy/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
3 changes: 3 additions & 0 deletions proxies/histark-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 600s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
TOKEN_X_ISSUER: dummy
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
3 changes: 3 additions & 0 deletions proxies/inntektstub-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 600s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
TOKEN_X_ISSUER: dummy
4 changes: 4 additions & 0 deletions proxies/inst-proxy/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
3 changes: 3 additions & 0 deletions proxies/inst-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 180s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
8 changes: 1 addition & 7 deletions proxies/inst-proxy/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
TOKEN_X_ISSUER: dummy
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: true
config:
import: "sm://"
security:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spring:
gateway:
httpclient:
response-timeout: 600s
gcp:
secretmanager:
enabled: false

server:
servlet:
Expand Down
Loading

0 comments on commit 4ac3a92

Please sign in to comment.