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

[Map] Remove hardcoded AWS paths #1015

Merged

Conversation

zuochengding
Copy link
Contributor

Clean up temp aws paths in code base.
Add a configurable flag captureRegionBlockedError into map plugin level config file.

Signed-off-by: Zuocheng Ding zding817@gmail.com

Description

Clean up temp aws paths in code base.
Add a configurable flag captureRegionBlockedError into map plugin level config file.
Customer should able to modify the config in opensearch_dashboards.yml if they want.

Issues Resolved

Check List

  • New functionality includes testing.
    • All tests pass
      • yarn test:jest
      • yarn test:jest_integration
      • yarn test:ftr
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

@zuochengding zuochengding self-assigned this Dec 10, 2021
@zuochengding zuochengding requested a review from a team as a code owner December 10, 2021 20:35
Copy link
Member

@kavilla kavilla left a comment

Choose a reason for hiding this comment

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

Looks good to me. The config name can probably be discussed to ensure everyone is happy with it.

Also, I apologize it's my fault since I implemented this without tests but we also made a change to use OpenSearch Maps without testing this logic as well. Would you be willing to get a little bit of tests in here with this new flag?

src/plugins/region_map/public/choropleth_layer.js Outdated Show resolved Hide resolved
@kavilla kavilla linked an issue Dec 13, 2021 that may be closed by this pull request
boktorbb
boktorbb previously approved these changes Dec 13, 2021
Copy link
Contributor

@boktorbb boktorbb left a comment

Choose a reason for hiding this comment

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

Looks good

tmarkley
tmarkley previously approved these changes Dec 28, 2021
@kavilla
Copy link
Member

kavilla commented Jan 4, 2022

Do we need to rebase to fix the linkchecker issue?

Clean up temp aws paths in code base.
Add a configurable flag `showRegionBlockedWarning` into map plugin level config file.

Signed-off-by: Zuocheng Ding <zding817@gmail.com>
Copy link
Contributor

@tmarkley tmarkley left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@zuochengding zuochengding merged commit aa6d7bd into opensearch-project:main Jan 7, 2022
kavilla pushed a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Jan 10, 2022
Clean up temp aws paths in code base.
Add a configurable flag `showRegionBlockedWarning` into map plugin level config file.

Backport PR:
opensearch-project#1015

Signed-off-by: Zuocheng Ding <zding817@gmail.com>
kavilla pushed a commit that referenced this pull request Jan 13, 2022
Clean up temp aws paths in code base.
Add a configurable flag `showRegionBlockedWarning` into map plugin level config file.

Backport PR:
#1015

Signed-off-by: Zuocheng Ding <zding817@gmail.com>
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] AWS paths should not be hardcoded.
4 participants