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

added fix for runAsync query without mds id #323

Merged
merged 18 commits into from
May 23, 2024

Conversation

sumukhswamy
Copy link
Collaborator

Description

  • added fix for running async query editor after run

Issues Resolved

[List any issues this PR will resolve]

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: sumukhswamy <[email protected]>
Copy link
Contributor

@RyanL1997 RyanL1997 left a comment

Choose a reason for hiding this comment

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

Hi @sumukhswamy , still seeing some linting issues. Lets fix it before it gets merge.

server/routes/query.ts Outdated Show resolved Hide resolved
server/routes/query.ts Outdated Show resolved Hide resolved
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
server/routes/query.ts Outdated Show resolved Hide resolved
Signed-off-by: sumukhswamy <[email protected]>
Copy link

codecov bot commented May 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.47%. Comparing base (a8ca3b6) to head (5f98eb7).
Report is 4 commits behind head on main.

Current head 5f98eb7 differs from pull request most recent head aa27152

Please upload reports for the commit aa27152 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
- Coverage   59.13%   57.47%   -1.66%     
==========================================
  Files          39       40       +1     
  Lines        1867     1907      +40     
  Branches      332      345      +13     
==========================================
- Hits         1104     1096       -8     
- Misses        647      689      +42     
- Partials      116      122       +6     
Flag Coverage Δ
dashboards-query-workbench 57.47% <ø> (-1.66%) ⬇️

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.


server.get(
{
path: ROUTE_PATH_SPARK_SQL_JOB_QUERY + "/{id}" + "/{dataSourceMDSId}",
path: ROUTE_PATH_SPARK_SQL_JOB_QUERY + '/{id}' + '/{dataSourceMDSId?}',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Main change for this PR, rest are Linter changes

Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
@ps48
Copy link
Member

ps48 commented May 23, 2024

@sumukhswamy Can you please help create an issue to track cypress tests for workbench with observability plugin? we can mock the backend APIs this way it gives us confidence when we make changes.

Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
@sumukhswamy sumukhswamy merged commit 4ae9a53 into opensearch-project:main May 23, 2024
8 of 11 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 23, 2024
* added fix for runAsync query without mds id

Signed-off-by: sumukhswamy <[email protected]>

* linter fix

Signed-off-by: sumukhswamy <[email protected]>

* fixed linter issue

Signed-off-by: sumukhswamy <[email protected]>

* fixed linter issue

Signed-off-by: sumukhswamy <[email protected]>

* added change for linting issue

Signed-off-by: sumukhswamy <[email protected]>

* linter issues

Signed-off-by: sumukhswamy <[email protected]>

* linter issues

Signed-off-by: sumukhswamy <[email protected]>

* linting fix

Signed-off-by: sumukhswamy <[email protected]>

* more linting issues

Signed-off-by: sumukhswamy <[email protected]>

* added linting fixes

Signed-off-by: sumukhswamy <[email protected]>

* refactored flyout code with interface

Signed-off-by: sumukhswamy <[email protected]>

* added fix for import of interface

Signed-off-by: sumukhswamy <[email protected]>

* added linter fix

Signed-off-by: sumukhswamy <[email protected]>

* added linter fix

Signed-off-by: sumukhswamy <[email protected]>

* added linter fix

Signed-off-by: sumukhswamy <[email protected]>

* addressed pr comments

Signed-off-by: sumukhswamy <[email protected]>

* linter fix

Signed-off-by: sumukhswamy <[email protected]>

---------

Signed-off-by: sumukhswamy <[email protected]>
(cherry picked from commit 4ae9a53)
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 May 23, 2024
* added fix for runAsync query without mds id

Signed-off-by: sumukhswamy <[email protected]>

* linter fix

Signed-off-by: sumukhswamy <[email protected]>

* fixed linter issue

Signed-off-by: sumukhswamy <[email protected]>

* fixed linter issue

Signed-off-by: sumukhswamy <[email protected]>

* added change for linting issue

Signed-off-by: sumukhswamy <[email protected]>

* linter issues

Signed-off-by: sumukhswamy <[email protected]>

* linter issues

Signed-off-by: sumukhswamy <[email protected]>

* linting fix

Signed-off-by: sumukhswamy <[email protected]>

* more linting issues

Signed-off-by: sumukhswamy <[email protected]>

* added linting fixes

Signed-off-by: sumukhswamy <[email protected]>

* refactored flyout code with interface

Signed-off-by: sumukhswamy <[email protected]>

* added fix for import of interface

Signed-off-by: sumukhswamy <[email protected]>

* added linter fix

Signed-off-by: sumukhswamy <[email protected]>

* added linter fix

Signed-off-by: sumukhswamy <[email protected]>

* added linter fix

Signed-off-by: sumukhswamy <[email protected]>

* addressed pr comments

Signed-off-by: sumukhswamy <[email protected]>

* linter fix

Signed-off-by: sumukhswamy <[email protected]>

---------

Signed-off-by: sumukhswamy <[email protected]>
(cherry picked from commit 4ae9a53)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
sumukhswamy pushed a commit that referenced this pull request May 23, 2024
* added fix for runAsync query without mds id



* linter fix



* fixed linter issue



* fixed linter issue



* added change for linting issue



* linter issues



* linter issues



* linting fix



* more linting issues



* added linting fixes



* refactored flyout code with interface



* added fix for import of interface



* added linter fix



* added linter fix



* added linter fix



* addressed pr comments



* linter fix



---------


(cherry picked from commit 4ae9a53)

Signed-off-by: sumukhswamy <[email protected]>
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>
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.

4 participants