You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context:
we’ve already written the ConfigLoader tool of the config service which reads in the project’s properties and stores them in Vault. We now need to detect on start up the properties were partially loaded and reload in this case.
DOD
Ensure secure handling of sensitive configurations
Add new scenario for continue reloading
Unit tests will be added to foundation-configuration-store
Update documentation
reflect the configuration changes needed for the deployment in the antora docs
relevant baseline READMEs with any potential nuances with testing implementations
BDD test scenarios
Scenario: The Configuration Service deal with partial load on start up
Given a base URI indicating a directory housing valid base configurations
And an environment-specific URI indicating a directory housing valid environment-specific configurations
When the configuration service starts
Then the configurations are partially loaded into the configuration store
And the configuration service checks the that the given configurations were partially loaded
And the configuration tries reloading until status is fully-loaded. (max 3 tries)
Tilt up; wait for the vault service is ready, scroll up to find the root key, unseal keys (see below example),
in the -docker/test-issue-129-configuration-store-docker/src/main/resources/krausening/base/encrypt.properties file, replace the secrets.root.key with the ROOT KEY content
in the -docker/test-issue-129-configuration-store-docker/src/main/resources/krausening/base/encrypt.properties file, replace the secrets.unseal.keys with the UNSEAL KEYS content (make sure to remove the [], ", and any space)
The text was updated successfully, but these errors were encountered:
tianliang0038
changed the title
Configuration service to detect partial loads so that the properties aren't restarted on deployment started up.
Configuration service to detect partial loads so that the properties are reload in the case
Jun 7, 2024
Context:
we’ve already written the ConfigLoader tool of the config service which reads in the project’s properties and stores them in Vault. We now need to detect on start up the properties were partially loaded and reload in this case.
DOD
BDD test scenarios
Test Steps:
-pipeline-models/src/main/resources/pipelines
directorymvn clean install
, following the manual actions after each build until no more remain.test-issues-129-configuration-store-docker
folder to the-docker
directory and include the module to the -docker/pom.xml filemvn clean install
-deploy/src/main/resources/app
in the
-docker/test-issue-129-configuration-store-docker/src/main/resources/krausening/base/encrypt.properties
file, replace thesecrets.root.key
with theROOT KEY
contentin the
-docker/test-issue-129-configuration-store-docker/src/main/resources/krausening/base/encrypt.properties
file, replace thesecrets.unseal.keys
with theUNSEAL KEYS
content (make sure to remove the [], ", and any space)The text was updated successfully, but these errors were encountered: