Skip to content

Commit

Permalink
- Disables GCP Secret Manager for failing tests.
Browse files Browse the repository at this point in the history
- Normalizes config file name to application-test.yml.
  • Loading branch information
rfc3092 committed Oct 17, 2024
1 parent 7b18fb0 commit 77a5b2d
Show file tree
Hide file tree
Showing 64 changed files with 280 additions and 54 deletions.

This file was deleted.

7 changes: 7 additions & 0 deletions apps/adresse-service/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

7 changes: 7 additions & 0 deletions apps/amelding-service/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
DOLLY_READER_TOKEN: test
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
flyway:
url: jdbc:h2:mem:testdb
username: sa
password:

TOKEN_X_ISSUER: dummy
password:

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false
3 changes: 3 additions & 0 deletions apps/brreg-stub/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ spring:
enabled: false
database:
enabled: false
gcp:
secretmanager:
enabled: false
datasource:
url: jdbc:tc:postgresql:15:///test_database
username: user
Expand Down
4 changes: 4 additions & 0 deletions apps/bruker-service/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ JWT_SECRET: DUMMY SUPER SECRET JWT KEY THAT IS NOT SECURE
TOKEN_X_CLIENT_ID: test

spring:
cloud:
gcp:
secretmanager:
enabled: false
flyway:
url: jdbc:h2:mem:testdb
username: sa
Expand Down
5 changes: 5 additions & 0 deletions apps/budpro-service/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spring:
cloud:
gcp:
secretmanager:
enabled: false
6 changes: 6 additions & 0 deletions apps/dolly-frontend/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ TOKEN_X_ISSUER: dummy

IDPORTEN_CLIENT_ID: dummy
IDPORTEN_CLIENT_JWK: "{}"

spring:
cloud:
gcp:
secretmanager:
enabled: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
TOKEN_X_ISSUER: dummy
KAFKA_KEYSTORE_PATH: ""

spring:
cloud:
gcp:
secretmanager:
enabled: false
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
AAD_ISSUER_URI: http://localhost:${wiremock.server.port:0}/token
TOKEN_X_ISSUER: dummy

azure:
app:
client:
Expand All @@ -6,6 +9,9 @@ azure:

spring:
cloud:
gcp:
secretmanager:
enabled: false
vault:
token: dummy

Expand All @@ -15,7 +21,3 @@ consumers:
cluster: dev-gcp
namespace: dolly
name: synthdata-amelding


AAD_ISSUER_URI: http://localhost:${wiremock.server.port:0}/token
TOKEN_X_ISSUER: dummy

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ azure:

spring:
cloud:
gcp:
secretmanager:
enabled: false
vault:
token: test
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false
5 changes: 5 additions & 0 deletions apps/kodeverk-service/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

7 changes: 7 additions & 0 deletions apps/miljoer-service/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false

kafka:
bootstrapservers: dummy
schemaregistryservers: dummy
username: dummy
password: dummy
truststorepath: dummy
credstorepassword: dummy

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false

This file was deleted.

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

spring:
cloud:
gcp:
secretmanager:
enabled: false
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ ALTINN_API_KEY: dummy
MASKINPORTEN_CLIENT_ID: dummy
MASKINPORTEN_CLIENT_JWK: dummy
MASKINPORTEN_SCOPES: dummy
MASKINPORTEN_WELL_KNOWN_URL: dummy
MASKINPORTEN_WELL_KNOWN_URL: dummy

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

spring:
cloud:
gcp:
secretmanager:
enabled: false

elasticsearch:
client:
username: dummy
Expand Down

This file was deleted.

7 changes: 7 additions & 0 deletions apps/person-service/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false
6 changes: 6 additions & 0 deletions apps/profil-api/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
TOKEN_X_ISSUER: dummy

spring:
cloud:
gcp:
secretmanager:
enabled: false

consumers:
testnav-person-organisasjon-tilgang-service:
cluster: cluster
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spring:
cloud:
gcp:
secretmanager:
enabled: false
Loading

0 comments on commit 77a5b2d

Please sign in to comment.