[file_upload] move ml Importer classes to file_upload plugin#91559
[file_upload] move ml Importer classes to file_upload plugin#91559nreese merged 16 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/ml-ui (:ml) |
|
@elasticmachine merge upstream |
|
Just wanted to comment to say I've done a first pass over the code and tested several files on the Maps side. No glaring errors and things appear to be working well! Still planning at least a second deeper dive, but overall nice work 👍 |
|
@elasticmachine merge upstream |
x-pack/plugins/file_upload/public/components/json_upload_and_parse.js
Outdated
Show resolved
Hide resolved
|
@elasticmachine merge upstream |
jgowdyelastic
left a comment
There was a problem hiding this comment.
Added a couple of comments, but on the whole LGTM.
Nice work!
kindsun
left a comment
There was a problem hiding this comment.
Overall the Maps (GeoJSON) portion lgtm! This PR retains the parts we really want to keep: primarily the UI and parsing logic; and removes the parts we don't need and can easily share in a consolidated plugin: primarily indexing and chunking.
- Tested locally in chrome with various test GeoJSON files
- Code review
Nice work! 💯
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
…#91559) * [ml] move importer to file_upload plugin * move file_parse logic into GeoJsonImporter * move file_parser tests to geojson_importer tests * rename geo_json_clean_and_validate to geojson_clean_and_validate * replace file_upload import with Importer.import * simplify JsonIndexFilePicker props * tslint * i18n fixes and tslint fixes * update functional test to account for change in layer name * review feedback * dependency_cache review feedback Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* master: Ability to filter alerts by string parameters (elastic#92036) [APM] Fix for flaky correlations API test (elastic#91673) (elastic#92094) [Enterprise Search] Migrate shared role mapping components (elastic#91723) [file_upload] move ml Importer classes to file_upload plugin (elastic#91559) [Discover] Always show the "hide missing fields" toggle (elastic#91889) v2 migrations should exit process on corrupt saved object document (elastic#91465) [ML] Data Frame Analytics exploration page: filters improvements (elastic#91748) [ML] Data Frame Analytics: Improved error handling for scatterplot matrix. (elastic#91993) [coverage] speed up merging results of functional tests (elastic#92111) Adds a Reason indicator to the onClose handler in AddAlert and EditAlert (elastic#92149)
…#92213) * [ml] move importer to file_upload plugin * move file_parse logic into GeoJsonImporter * move file_parser tests to geojson_importer tests * rename geo_json_clean_and_validate to geojson_clean_and_validate * replace file_upload import with Importer.import * simplify JsonIndexFilePicker props * tslint * i18n fixes and tslint fixes * update functional test to account for change in layer name * review feedback * dependency_cache review feedback Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This PR moves ml Importer classes to file_upload plugin. The PR then refactors geojson upload into a GeoJsonImporter.