-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[file_upload] move ml Importer classes to file_upload plugin #91559
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a couple of comments, but on the whole LGTM.
Nice work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
* 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 <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
This PR moves ml Importer classes to file_upload plugin. The PR then refactors geojson upload into a GeoJsonImporter.