-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.10][ESRE] Parse multiple fields when attaching (#161295)
## Summary This PR adds support for parsing multiple field mappings from an existing pipeline configuration. This is only relevant when listing attachable pipelines; the new pipeline creation process is not affected. This change is a pre-requisite for allowing ELSER pipelines to be attached. Tested for backward compatibility: * Existing pipeline selection dropdown (temporarily disabled filtering of ELSER pipelines) ![Screenshot 2023-07-05 at 15 53 52](https://github.com/elastic/kibana/assets/14224983/00d673f7-70b4-4cbb-919c-4fe17eedaca2) Note the "Source field" and "Destination field" attributes show the first mapping's fields only (even if the pipeline is configured with multiple mappings). This is pending redesign and will be addressed in a later PR. * Fields - ELSER pipeline (temporarily removed field modification widgets) ![Screenshot 2023-07-05 at 15 54 34](https://github.com/elastic/kibana/assets/14224983/8bdd49f9-1682-4ccb-a066-233e0809b883) * Fields - non-ELSER pipeline ![Screenshot 2023-07-05 at 15 54 42](https://github.com/elastic/kibana/assets/14224983/5c70eb9b-e9a9-4213-9d24-ac9303f64b54) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
- Loading branch information
Showing
4 changed files
with
80 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters