OpenSearch/elasticsearch
Alexander Reelsen 497147c30d Watcher: Include watch status in history (elastic/elasticsearch#4875)
In order to help watcher UI easily gather the status of a watch
and its actions, we should write the watch status in the history
as well.

This commit is doing exactly that. Tests ensure, that the status is not searchable,
as in the watch mapping itself.

This also requires the history template to be changed, thus the counter of the template
had to be increased as well.

Some minor refactorings by making ctors private that dont need to be public
have been happening as well.

Closes elastic/elasticsearch#4735

Original commit: elastic/x-pack-elasticsearch@df8352ceb5
2017-02-10 08:44:08 +01:00
..
bin/x-pack
config/x-pack Expose logs base path 2017-01-16 07:40:29 -05:00
keys
src Watcher: Include watch status in history (elastic/elasticsearch#4875) 2017-02-10 08:44:08 +01:00
NOTICE.txt
build.gradle Build: Make ml credentials load only if necessary (elastic/elasticsearch#4938) 2017-02-09 14:08:36 -08:00