Skip to content
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] Remove proxyElasticMapsServiceInMaps #116184

Merged
merged 7 commits into from
Oct 26, 2021

Conversation

thomasneirynck
Copy link
Contributor

@thomasneirynck thomasneirynck commented Oct 25, 2021

Summary

Closes #82132

This removes the map.proxyElasticMapsServiceInMaps yml setting. This flag allowed administrators to have Kibana act as a proxy to the Elastic Maps Service. The original idea behind this flag was to accommodate flexibility in how admins would setup their networks. E.g. in an airgapped environment, or in a DMZ, they may prefer to only configure outbound internet traffic to EMS for only the Kibana server, rather than all users.

With the release of the on-prem Elastic Maps Server, this is much less of a requirement now.

For maintainers

This is a breaking change.

Copy link
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
code review

@@ -306,5 +290,3 @@ export const MAPS_NEW_VECTOR_LAYER_META_CREATED_BY = 'maps-new-vector-layer';
export const MAX_DRAWING_SIZE_BYTES = 10485760; // 10MB

export const emsWorldLayerId = 'world_countries';
export const emsRegionLayerId = 'administrative_regions_lvl2';
export const emsUsaZipLayerId = 'usa_zip_codes';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is unrelated. We removed hardcoded usage of these already when introducing the dynamic suggestEMSLayer API.

@thomasneirynck thomasneirynck marked this pull request as ready for review October 25, 2021 18:02
@thomasneirynck thomasneirynck requested review from a team as code owners October 25, 2021 18:02
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@thomasneirynck thomasneirynck changed the title remove proxyElasticMapsServiceInMaps [Maps] Remove proxyElasticMapsServiceInMaps Oct 25, 2021
Copy link
Member

@nickpeihl nickpeihl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! tested in firefox and code review

@thomasneirynck
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Test Failures

  • [job] [logs] Default CI Group #6 / apis SecuritySolution Endpoints Tls Test with Packetbeat Tls Test Ensure data is returned for FlowTarget.Source

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 2.7MB 2.7MB -416.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
maps 41.7KB 41.4KB -242.0B

History

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

@thomasneirynck thomasneirynck merged commit 4a988dc into elastic:master Oct 26, 2021
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Oct 28, 2021
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 116184 or prevent reminders by adding the backport:skip label.

@thomasneirynck thomasneirynck added the backport:skip This commit does not require backporting label Oct 28, 2021
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation release_note:breaking v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Breaking change] Remove proxyElasticMapsServiceInMaps yml setting
6 participants