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

Add integrations queries for Flint #1150

Merged
merged 25 commits into from
Oct 27, 2023

Conversation

Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Oct 23, 2023

For making integrations work with Flint, we need to provide a set of queries that can be used to create OpenSearch indices for querying. The PR is still in the draft phase as we compile our queries and work towards testing them in real scenarios, and adding unit tests + documentation for the functionality.

Todo:

Issues Resolved

N/A

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.

@Swiddis Swiddis changed the title Switch heading types on setup page Add integrations queries for Flint Oct 23, 2023
@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

Merging #1150 (0c266a6) into main (ea2fb2c) will decrease coverage by 0.01%.
Report is 6 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1150      +/-   ##
==========================================
- Coverage   44.01%   44.01%   -0.01%     
==========================================
  Files         328      328              
  Lines       19612    19644      +32     
  Branches     4733     4730       -3     
==========================================
+ Hits         8632     8646      +14     
- Misses      10406    10421      +15     
- Partials      574      577       +3     
Flag Coverage Δ
dashboards-observability 44.01% <ø> (-0.01%) ⬇️

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

see 9 files with indirect coverage changes

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Copy link
Member

@YANG-DB YANG-DB left a comment

Choose a reason for hiding this comment

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

@Swiddis
thanks for all the work
can u also update the appropriate assets in the corresponding catalog integration PR ?

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
title: 'Table',
lower: 'table',
help: 'Select a table to pull the data from.',
title: 'Catalog',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why catalog here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because the form isn't referring to a table, I asked around for a better name.

@@ -185,6 +188,7 @@ export function SetupIntegrationForm({
[] as Array<{ label: string }>
);
const [isSuggestionsLoading, setIsSuggestionsLoading] = useState(true);
const [isBlurred, setIsBlurred] = useState(false);
Copy link
Collaborator

Choose a reason for hiding this comment

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

there is also onBlur function that comes along with most elements that you can use and avoid this separate re-implementation

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Where is it documented? I'd heard about it but didn't find any references.

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
@Swiddis Swiddis merged commit 22b6fc6 into opensearch-project:main Oct 27, 2023
8 of 9 checks passed
@Swiddis Swiddis deleted the integ-queries branch October 27, 2023 20:23
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 27, 2023
(cherry picked from commit 22b6fc6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 27, 2023
(cherry picked from commit 22b6fc6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants