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

Adding datasource status and filter for hive tables #1549

Merged
merged 2 commits into from
Mar 16, 2024

Conversation

ps48
Copy link
Member

@ps48 ps48 commented Mar 16, 2024

Description

Adding datasource status and filter for hive tables

Issues Resolved

  1. Support for inactive datasources page
  2. Limit tables to show on non-hive ones
  3. Updates jest tests

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Copy link

codecov bot commented Mar 16, 2024

Codecov Report

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

Project coverage is 57.86%. Comparing base (f095910) to head (5a52d4d).

Files Patch % Lines
...omponents/manage/manage_data_connections_table.tsx 52.94% 8 Missing ⚠️
...ces/components/manage/inactive_data_connection.tsx 46.15% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1549      +/-   ##
==========================================
- Coverage   57.96%   57.86%   -0.11%     
==========================================
  Files         363      364       +1     
  Lines       13332    13363      +31     
  Branches     3467     3472       +5     
==========================================
+ Hits         7728     7732       +4     
- Misses       5545     5572      +27     
  Partials       59       59              
Flag Coverage Δ
dashboards-observability 57.86% <65.11%> (-0.11%) ⬇️

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.

};

return (
<EuiCallOut title="This data source connection is inactive" color="warning" iconType="help">
Copy link
Collaborator

Choose a reason for hiding this comment

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

please add i18n here and below user facing text

Copy link
Member Author

Choose a reason for hiding this comment

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

ack. I was talking to Paul about it we should have a meta issue for all of dashboards-observability to follow i18n.
#1539

@ps48 ps48 merged commit 0e7c2bf into opensearch-project:main Mar 16, 2024
14 of 20 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 16, 2024
* adding datasource status and filter for hive tables

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* update tests and replace dataConnection variable

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

---------

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
(cherry picked from commit 0e7c2bf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ps48 pushed a commit that referenced this pull request Mar 16, 2024
* adding datasource status and filter for hive tables



* update tests and replace dataConnection variable



---------


(cherry picked from commit 0e7c2bf)

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
…ct#1549) (opensearch-project#1550)

* adding datasource status and filter for hive tables

* update tests and replace dataConnection variable

---------

(cherry picked from commit 0e7c2bf)

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit d563366)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants