OpenSearch/x-pack/plugin/logstash/src
Dimitris Athanasiou ad56802ac6
[7.x][ML] Refactor ML mappings and templates into JSON resources (#51… (#52353)
ML mappings and index templates have so far been created
programmatically. While this had its merits due to static typing,
there is consensus it would be clear to maintain those in json files.
In addition, we are going to adding ILM policies to these indices
and the component for a plugin to register ILM policies is
`IndexTemplateRegistry`. It expects the templates to be in resource
json files.

For the above reasons this commit refactors ML mappings and index
templates into json resource files that are registered via
`MlIndexTemplateRegistry`.

Backport of #51765
2020-02-14 17:16:06 +02:00
..
main [7.x][ML] Refactor ML mappings and templates into JSON resources (#51… (#52353) 2020-02-14 17:16:06 +02:00
test/java/org/elasticsearch/xpack/logstash Migrate x-pack-elasticsearch source to elasticsearch 2018-04-20 15:29:54 -07:00