Created
July 20, 2016 08:29
-
-
Save daneb/9e0a5e5362bbda27b15476332e413320 to your computer and use it in GitHub Desktop.
Configuration Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFGSRV_PROVIDER_ADDRESS: 'https://vault.auto-h.net' | |
CFGSRV_IDENTIFIER: 'shield' | |
CFGSRV_TOKEN: '<revision-from-configuration-service-ui>' | |
CFGSRV_PROVIDER: 'vault' | |
IDENTIFIER: 'shield' | |
SESSION_KEY: 'session_key_shared_amongst_application_instances' | |
SESSION_SECRET: 'strong_secret_shared_amongst_application_instances' | |
RACK_ENV: 'development' | |
SERVICE_REGISTRY: 'http://service-registry.auto-h.net:8080' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iut = SoarEnvironment::Environment.new('config/environment.yml') | |
environment = iut.load_environment | |
context = ConfigurationService::Factory::EnvironmentContext.new(environment) | |
configuration_service = ConfigurationService::Factory.create_client(context) | |
result = configuration_service.request_configuration | |
config = result.data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<Vault::HTTPClientError: The Vault server at `https://vault.auto-h.net' responded with a 403.
Any additional information the server supplied is shown below:
Please refer to the documentation for help.