Skip to content
Snippets Groups Projects
Commit 0942de33 authored by Martin Vogel's avatar Martin Vogel
Browse files

refactor(config): adjust test configs

parent a01f1c44
No related branches found
No related tags found
No related merge requests found
# Name/key of the used environment (from environments config below)
activeEnvironment: foo
# Path that references the signing key file
privateSigningKeyPath: "client/src/test/java/resources/private_test_signing_key.json"
senderConfig:
clientId: "1"
clientSecret: "123"
subscriberConfig:
clientId: "2"
clientSecret: "456"
# Path that references the private key file
privateDecryptionKeyPath: "client/src/test/java/resources/private_decryption_test_key.json"
# Configured environments for all api-urls
privateSigningKeyPath: "client/src/test/java/resources/private_test_signing_key.json"
activeEnvironment: enviroment_that_does_not_exist
environments:
prod:
authBaseUrl: "https://auth-prod.fit-connect.fitko.dev"
......@@ -30,7 +25,6 @@ environments:
submissionBaseUrl: "https://submission-api-testing.fit-connect.fitko.dev"
allowInsecurePublicKey: true
# REST Endpoints for FIT-Connect resources
resourcePaths:
authTokenPath: "/token"
destinationPath: "/v1/destinations/{destinationId}"
......
# Name/key of the used environment (from environments config below)
activeEnvironment: dev
# Path that references the signing key file
privateSigningKeyPath: "client/src/test/java/resources/private_test_signing_key.json"
senderConfig:
clientId: "1"
clientSecret: "123"
......@@ -11,20 +5,17 @@ senderConfig:
subscriberConfig:
clientId: "2"
clientSecret: "456"
# Path that references the private key file
privateDecryptionKeyPath: "client/src/test/java/resources/private_decryption_test_key.json"
# Configured environments for all api-urls
privateSigningKeyPath: "client/src/test/java/resources/private_test_signing_key.json"
activeEnvironment: dev
environments:
prod:
authBaseUrl: "https://auth-prod.fit-connect.fitko.dev"
submissionBaseUrl: "https://submission-api-prod.fit-connect.fitko.dev"
allowInsecurePublicKey: false
staging:
authBaseUrl: "https://auth-prod.fit-connect.fitko.dev"
submissionBaseUrl: "https://submission-api-prod.fit-connect.fitko.dev"
allowInsecurePublicKey: false
dev:
authBaseUrl: "https://auth-testing.fit-connect.fitko.dev"
submissionBaseUrl: "https://submission-api-testing.fit-connect.fitko.dev"
......@@ -33,12 +24,7 @@ environments:
authBaseUrl: "https://auth-test.fit-connect.fitko.dev"
submissionBaseUrl: "https://submission-api-testing.fit-connect.fitko.dev"
allowInsecurePublicKey: true
local:
authBaseUrl: "https://auth-test.fit-connect.fitko.dev"
submissionBaseUrl: "https://submission-api-testing.fit-connect.fitko.dev"
allowInsecurePublicKey: true
# REST Endpoints for FIT-Connect resources
resourcePaths:
authTokenPath: "/token"
destinationPath: "/v1/destinations/{destinationId}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment