OpenSearch/docs
Alexander Reelsen fdb02f4f99 Watcher: Fix pagerduty action to send context data (elastic/x-pack-elasticsearch#3185)
The pagerduty action allows to send contexts, which contains an array
of texts or images, each with a link.

The field of this data was named 'context' instead of 'contexts' and
thus those contects were never correctly parsed on the pagerduty side.

Unfortunately pagerduty accepts any JSON, thus this was not caught so
far.

This commit allows parsing of the old field name to retain BWC, but when
written out via toXContent, it will always use the 'contexts' field name.

relates elastic/x-pack-elasticsearch#3184

Original commit: elastic/x-pack-elasticsearch@50f0b65d56
2017-12-05 11:31:48 +01:00
..
en Watcher: Fix pagerduty action to send context data (elastic/x-pack-elasticsearch#3185) 2017-12-05 11:31:48 +01:00
src/test/java/org/elasticsearch/smoketest [TESTS] Refactor yml test suite classes (elastic/x-pack-elasticsearch#3145) 2017-11-29 12:43:53 +00:00
build.gradle [DOCS] Subdivided getting started with ML pages (elastic/x-pack-elasticsearch#3167) 2017-11-29 12:03:51 -08:00