aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool/sdc-cassandra-init
diff options
context:
space:
mode:
authorPiotr Darosz <piotr.darosz@nokia.com>2019-04-08 14:35:40 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-04-30 10:16:04 +0000
commitcd5da806dad48bfabd2de5ae56018483dab6106f (patch)
tree34b1734fa0bb74aa5fda887cfca1adbebf1128db /asdctool/sdc-cassandra-init
parent7480415fabbe61ef06b958c59d4a4af201b69da3 (diff)
Refactor hardcoded column config
Move hardcoded GAB columns configuration to configuration.yaml file Change-Id: Ie70a1d44c9a04a37c3ba0d3b5f64ad2989b11166 Issue-ID: SDC-2225 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Diffstat (limited to 'asdctool/sdc-cassandra-init')
-rw-r--r--asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb16
1 files changed, 16 insertions, 0 deletions
diff --git a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb
index aabdacc3af..0a658bb8d9 100644
--- a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb
+++ b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb
@@ -712,6 +712,22 @@ environmentContext:
- Useful_Non-Revenue
- General_Non-Revenue
+gabConfig:
+ - artifactType: 'VES_EVENTS'
+ pathsAndNamesDefinitions:
+ -
+ friendlyName: "Action"
+ path: "event.action[2]"
+ searchable: "true"
+ -
+ friendlyName: "Comment"
+ path: "event.comment"
+ searchable: "true"
+ -
+ friendlyName: "Alarm Additional Information"
+ path: "event.structure.faultFields.structure.alarmAdditionalInformation.comment"
+ searchable: "true"
+
dmaapConsumerConfiguration:
hosts: localhost:3905
consumerGroup: sdc