-
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
[Maps] Use v7.6 Elastic Maps Service API #54399
Conversation
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.
package.json
and xpack/package.json
needs to be updated to emc-client 7.6.0 thx!
@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.
oops, I approved by mistake 🎊 sorry. Some minor comments. Overall, looks great. But need a double-take if the proxy-config work, and I would lock in versions.
Let's also ensure with @gchaps that we have a corresponding release note for this.
@thomasneirynck @nickpeihl For this PR to be included in the Release Notes, replace the label release_note:skip with release_note:fix or release_note:enhancement. Also, add a label for the area: Team:Geo. |
Pinging @elastic/kibana-gis (Team:Geo) |
@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.
just minor feedback on the error message. I tested this through proxying and the normal setup.
Can you create a blocker ticket for updating the config to the production URL for files and the landing page, so we don't forget? Thanks!
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* Use v7.6 Elastic Maps Service API
* upstream/master: (72 commits) [ML] Calculate model memory limit API integration tests (elastic#54557) Skip flakey index template component integration tests. (elastic#54878) Add label and icon to nested fields in the doc table (elastic#54199) Reverse dependency of home plugin and apm/ml/cloud (elastic#52883) [SIEM][Detection Engine] Order JSON keys, fix scripts, update pre-packaged rules update invalid snapshot add readme note about alerting / manage_api_key cluster privilege (elastic#54639) [SIEM] New Overview Page (elastic#54783) [Uptime] Feature/refactor context initialization (elastic#54494) Upgrade EUI to v18.2.0 (elastic#54786) [SIEM] [Detection engine] from signals to timeline (elastic#54769) [Index Management] Add Mappings Editor to Index Template Wizard (elastic#47562) [SIEM][Detection Engine] Removes deprecated filter from mapping [Maps] Add categorical styling (elastic#54408) Add mapbox-gl-rtl-text library (elastic#54842) [SIEM][Detection Engine] Adds actions to Rule Details (elastic#54828) Lexicographically sort location tags (elastic#54832) [Maps] expand extent filter to tile boundaries (elastic#54276) [Maps] Use v7.6 Elastic Maps Service API (elastic#54399) [DOCS] Adds monitoring setting (elastic#54819) ...
* Use v7.6 Elastic Maps Service API
Summary
This PR updates Kibana to use the v7.6 Elastic Maps Service client and API. Relies on elastic/ems-client#13.
To test this:
EDIT: @elastic/ems-client library@7.6.0 is now published on NPM, so the following steps are unnecessary now.
1) Checkout the feature branch from elastic/ems-client#132) In the ems-client directory, runyarn
,yarn build
, andyarn link
.3) Checkout this feature branch in Kibana4) Runyarn kbn bootstrap
andyarn link @elastic/ems-client
.EDIT: These steps are no longer necessary, the 7.6 file service API is now available in staging.
The 7.6 file service API is not available yet. But we can run this locally.1) Checkout the feature branch from elastic/ems-file-service#1432) In the ems-file-service directory runyarn
andyarn build
.3) Serve the assets locallynpx http-server -p 8085 --cors="kbn-version" dist/vector
4) Addmap.emsFileApiUrl: http://localhost:8085
to yourkibana.dev.yml
.You should also test this with
map.proxyElasticMapsServiceInMaps: true
in yourkibana.dev.yml
.Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n supportDocumentation was added for features that require explanation or tutorialsThis was checked for keyboard-only and screenreader accessibilityFor maintainers
Dev Docs
Elastic Maps, Coordinate map and Region map visualizations
The undocumented
map.manifestServiceUrl
setting in kibana.yml has been replaced bymap.emsTileApiUrl
andmap.emsFileApiUrl
. These settings configure the base URL for the tile basemap manifest and vector file manifests used in Elastic Maps and the region map and coordinate map.visualizations.