elasticsearch/docs/reference/watcher
Luke Whiting 5c97b2e87d
(#34659) - Add Timezone Configuration to Watcher (#117033) (#117456)
* Add timezone support to Cron objects

* Add timezone support to CronnableSchedule

* XContent change to support parsing and display of TimeZone fields on schedules

* Case insensitive timezone parsing

* Doc changes

* YAML REST tests

* Equals, toString and HashCode now include timezone

* Additional random testing for DST transitions

* Migrate Cron class to use wrapped LocalDateTime

The algorithm depends on some quirks of calendar but LocalDateTime
correctly ignores DST during calculations so this uses a LocalDateTime
with a wrapper to emulate some of Calendar's behaviours that the Cron
algorithm depends on

* Additional documentation to explain discontinuity event behaviour

* Remove redundant conversions from ZoneId to TimeZone following move to LocalDateTime

* Add documentation warning that manual clock changes will cause unpredictable watch execution

* Update docs/reference/watcher/trigger/schedule.asciidoc



---------

Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com>
2024-11-25 21:58:16 +11:00
..
actions email-reporting-attachment-docs: Correct auth and proxy fields. (#105730) 2024-02-23 13:01:08 +01:00
condition [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
example-watches (#34659) - Add Timezone Configuration to Watcher (#117033) (#117456) 2024-11-25 21:58:16 +11:00
images [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
input Fix default search timeout in watcher docs (#106404) 2024-03-19 19:45:04 +01:00
java [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
transform Deprecate legacy params from range query (#113286) (#113610) 2024-09-27 01:10:46 +10:00
trigger (#34659) - Add Timezone Configuration to Watcher (#117033) (#117456) 2024-11-25 21:58:16 +11:00
actions.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
condition.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
customizing-watches.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
encrypting-data.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
example-watches.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
getting-started.asciidoc Deprecate legacy params from range query (#113286) (#113610) 2024-09-27 01:10:46 +10:00
how-watcher-works.asciidoc #104233 Allow Watcher Node Allocation Settings (#115251) (#115330) 2024-10-23 02:41:42 +11:00
index.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
input.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
limitations.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
managing-watches.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
transform.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
trigger.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
troubleshooting.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00