Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FIT-Connect-SDK - Java
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FIT-Connect
FIT-Connect-SDK - Java
Commits
0942de33
Commit
0942de33
authored
2 years ago
by
Martin Vogel
Browse files
Options
Downloads
Patches
Plain Diff
refactor(config): adjust test configs
parent
a01f1c44
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/src/test/resources/test-config-with-missing-env.yml
+5
-11
5 additions, 11 deletions
client/src/test/resources/test-config-with-missing-env.yml
client/src/test/resources/test-config.yml
+4
-18
4 additions, 18 deletions
client/src/test/resources/test-config.yml
with
9 additions
and
29 deletions
client/src/test/resources/test-config-with-missing-env.yml
+
5
−
11
View file @
0942de33
# 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}"
...
...
This diff is collapsed.
Click to expand it.
client/src/test/resources/test-config.yml
+
4
−
18
View file @
0942de33
# 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}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment