mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
- Introduced `TemplateEngine` and its only implementation `MustacheTemplateEngine` - Change `Template` to only hold the template config.. the rendering is now done by the engine - Introduced `EmailTemplate` that can render itself to an `Email` (given an engine and model) - Renamed `TemplatedHttpRequest` to `HttpRequestTemplate` and it has a `render` method that given a model and an engine it creates an `HttpRequest` construct. - also fixed a bug where when the http request is build, the configured scheme wasn't set. - cleaned up `HttpRequest` - made it immutable and now we use a builder to build it. - also fixed a bug in `HttpRequest` where the xcontent didn't render the scheme - Got rid of all old template implementations... also, parsing a template is now simply `Template.parse(...)` (no need for a special `TemplateParser`. - While at it, change the action builder to only deal with actions and not know anything about the action id. The id is now passed to the watch builder directly when adding an action Original commit: elastic/x-pack-elasticsearch@1a7acc5868
= Elasticsearch Alerts Plugin This plugins adds alerting features to elasticsearch You can build the plugin with `mvn package`. The documentation is put in the `docs/` directory.
Description
Languages
Java
99.5%
Groovy
0.4%