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

[Backport 2.x] [MDS] TSVB Support #6491

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport be0f9d5 from #6298.

* Add MDS support to TSVB

Signed-off-by: Huy Nguyen <[email protected]>

* Refactor datasource picker component

Signed-off-by: Huy Nguyen <[email protected]>

* Allow picker to persist state

Signed-off-by: Huy Nguyen <[email protected]>

* Refactored picker component params

Signed-off-by: Huy Nguyen <[email protected]>

* Add unit tests

Signed-off-by: Huy Nguyen <[email protected]>

* Add to CHANGELOG

Signed-off-by: Huy Nguyen <[email protected]>

* Refactor components to use hideLocalCluster

Signed-off-by: Huy Nguyen <[email protected]>

* Remove Picker wrapper

Signed-off-by: Huy Nguyen <[email protected]>

* Update selector component and rename field to index name

Signed-off-by: Huy Nguyen <[email protected]>

* Address comments

Signed-off-by: Huy Nguyen <[email protected]>

* Refactor to use different decideClient

Signed-off-by: Huy Nguyen <[email protected]>

* Add optional arg

Signed-off-by: Huy Nguyen <[email protected]>

* Remove hidelocalcluster as a setting

Signed-off-by: Huy Nguyen <[email protected]>

* Fixed case where local cluster is disabled but the datasource id could be local cluster

Signed-off-by: Huy Nguyen <[email protected]>

* Add test for create data source picker handler

Signed-off-by: Huy Nguyen <[email protected]>

---------

Signed-off-by: Huy Nguyen <[email protected]>
(cherry picked from commit be0f9d5)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
Copy link

codecov bot commented Apr 17, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 51.81%. Comparing base (9cbfa64) to head (d9f4ed7).
Report is 6 commits behind head on 2.x.

Files Patch % Lines
...ies/public/application/components/index_pattern.js 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              2.x    #6491       +/-   ##
===========================================
+ Coverage   31.75%   51.81%   +20.06%     
===========================================
  Files        2220     2533      +313     
  Lines       44686    49250     +4564     
  Branches     6951     7663      +712     
===========================================
+ Hits        14190    25519    +11329     
+ Misses      29839    22527     -7312     
- Partials      657     1204      +547     
Flag Coverage Δ
Linux_1 31.84% <75.00%> (+0.09%) ⬆️
Windows_2 55.60% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zhongnansu zhongnansu merged commit c9dcb83 into 2.x Apr 18, 2024
65 of 66 checks passed
@github-actions github-actions bot deleted the backport/backport-6298-to-2.x branch April 18, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports multiple datasource multiple datasource project repeat-contributor v2.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants