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

Fix fetching workspace visualizations error #2268

Merged
merged 7 commits into from
Dec 5, 2024

Conversation

raintygao
Copy link
Contributor

Description

Fix fetching workspace visualizations error

image
image
When fetching visualizations, we don't need to append workspace field manually to fetch current workspace visualizations, especially not workspace name, it will cause the request failed.

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.

@ps48 ps48 added backport 2.x bug Something isn't working labels Nov 28, 2024
@ps48 ps48 changed the title fix: fix fetching workspace visualizations error Fix fetching workspace visualizations error Dec 2, 2024
Copy link
Collaborator

@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 @raintygao, thanks for taking this on. Can we add some tests for this?

@ps48
Copy link
Member

ps48 commented Dec 5, 2024

Thanks for the fix and adding the tests.

@ps48 ps48 merged commit b418d44 into opensearch-project:main Dec 5, 2024
14 of 18 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Dec 5, 2024
* fix: fix fetching workspace visualizations error

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

* fix: fix fetching workspace visualizations error

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

* test: add unit tests

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

---------

Signed-off-by: tygao <[email protected]>
Co-authored-by: Adam Tackett <[email protected]>
(cherry picked from commit b418d44)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@ps48 ps48 added the notebooks label Dec 5, 2024
TackAdam added a commit that referenced this pull request Dec 6, 2024
* fix: fix fetching workspace visualizations error



* fix: fix fetching workspace visualizations error



* test: add unit tests



---------



(cherry picked from commit b418d44)

Signed-off-by: tygao <[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>
Co-authored-by: Adam Tackett <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x bug Something isn't working notebooks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants