Skip to content

[7.x] [EPM] Add mapping field types to index template generation v2 (#60266)#60533

Merged
skh merged 1 commit intoelastic:7.xfrom
skh:backport/7.x/pr-60266
Mar 19, 2020
Merged

[7.x] [EPM] Add mapping field types to index template generation v2 (#60266)#60533
skh merged 1 commit intoelastic:7.xfrom
skh:backport/7.x/pr-60266

Conversation

@skh
Copy link
Copy Markdown
Contributor

@skh skh commented Mar 18, 2020

Backports the following commits to 7.x:

…c#60266)

* Add properties needed for index templates to Field

* Add data type handling to template generation

* Adjust tests

* Update fields test snapshots

* Remove duplicate fields from test file

* Add test cases

* Enhance processFields

* move expand stage to expandFields
* fix expandFields
* add deduplication stage dedupFields

* Use processField() to preprocess fields

* Remove alias fields with invalid path

* Remove obsolete code.

* Fix documentation.

* Add unit tests for getField()

* Don't fail on invalid input for now.

* Validate array fields.

* Guard against invalid input.
@skh skh added backport This PR is a backport of another PR release_note:skip Skip the PR/issue when compiling release notes labels Mar 18, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@skh skh merged commit 7f70a71 into elastic:7.x Mar 19, 2020
@skh skh deleted the backport/7.x/pr-60266 branch March 19, 2020 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR release_note:skip Skip the PR/issue when compiling release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants