aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2018-02-20 23:47:01 +0100
committerHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2018-02-21 00:00:12 +0100
commitc57d527fd73cd1b7efe32828607b805f85749161 (patch)
treed9e801a7cfa66259a830672f18e5cd289f22ab3d
parent9ac933abc09add6a13e5b534dd55c19e6912175b (diff)
downloadvipeval-c57d527fd73cd1b7efe32828607b805f85749161.tar.gz
vipeval-c57d527fd73cd1b7efe32828607b805f85749161.zip
Add comments to appcfg.yml
-rw-r--r--config/appcfg.yml33
1 files changed, 26 insertions, 7 deletions
diff --git a/config/appcfg.yml b/config/appcfg.yml
index 5ec1878..ce14417 100644
--- a/config/appcfg.yml
+++ b/config/appcfg.yml
@@ -1,4 +1,27 @@
defaults: &DEFAULTS
+
+ # ECS connection parameters
+ ecs:
+ # Should always be a secure connection via https
+ url: https://ecs.localhost
+ # basic auth credentials
+ login: ecs-login-name
+ password: ecs-password
+ # Uncomment next line if yoy want to serve the password via environment variable (security)
+ #password: <%= ENV['ECS_PASSWORD'] %>
+ #
+ # Uncomment next line if your ECS-Server-Certificate is signed by a local CA.
+ #ssl_ca_file: /path/to/local-root-ca.crt.pem
+ #
+ # verify ECS server certificate
+ # Comment next line if ecs->url scheme is not https which is a very bad idea in respect of security
+ verify_ssl: true
+
+
+ ###
+ ### normally you won't need to change anything after here
+ ###
+
servicename: ViP merge and compute
# set to false if you want to make your http calls to ECS directly
@@ -10,6 +33,7 @@ defaults: &DEFAULTS
# valid debug levels: debug, info, error
debug_level: debug
+ # mapping of resource names
resources:
servicename: numlab
sys_events:
@@ -40,19 +64,14 @@ defaults: &DEFAULTS
pretty_print: false
name: numlab/points
+ # mapping known event-types
+ # only these event-types trigger some action
eventtypes:
job:
name: numlab/evaluation_jobs
result:
name: numlab/results
- ecs:
- url: https://ecs.example.com
- # basic auth
- login: mergeandcompute
- password: auswertung
- ssl_ca_file: ca.crt.pem
- verify_ssl: false
development:
<<: *DEFAULTS