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

[discover] pass connection title correctly and set session id #7997

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

kavilla
Copy link
Member

@kavilla kavilla commented Sep 4, 2024

Description

Updated so the session ID gets correctly passed along to speed up subsequent queries. Also set the connection title to the datasource meta field to be used as originally interfaced.

Issues Resolved

n/a

Screenshot

Testing the changes

Changelog

  • skip

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Updated so the session ID gets correctly passed along to speed up
subsequent queries.

Also set the connection title to the datasource meta field to be used
as originally interfaced.

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Copy link
Contributor

github-actions bot commented Sep 4, 2024

❌ Empty Changelog Section

The Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section.

@github-actions github-actions bot added Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry and removed failed changeset labels Sep 4, 2024
Copy link
Member

@ashwin-pc ashwin-pc left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 61.13%. Comparing base (7dedc58) to head (fd0c4ec).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...c/plugins/query_enhancements/server/utils/facet.ts 0.00% 3 Missing ⚠️
...gins/query_enhancements/public/datasets/s3_type.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7997      +/-   ##
==========================================
+ Coverage   61.09%   61.13%   +0.04%     
==========================================
  Files        3691     3691              
  Lines       87310    87342      +32     
  Branches    13433    13435       +2     
==========================================
+ Hits        53340    53398      +58     
+ Misses      30722    30690      -32     
- Partials     3248     3254       +6     
Flag Coverage Δ
Linux_1 29.31% <ø> (-0.01%) ⬇️
Linux_2 56.24% <ø> (+<0.01%) ⬆️
Linux_3 37.98% <ø> (+0.04%) ⬆️
Linux_4 29.60% <0.00%> (+0.01%) ⬆️
Windows_1 29.33% <ø> (-0.01%) ⬇️
Windows_2 56.20% <ø> (+<0.01%) ⬆️
Windows_3 37.98% <ø> (+0.04%) ⬆️
Windows_4 29.61% <0.00%> (+0.01%) ⬆️

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.

@kavilla kavilla merged commit de027c2 into opensearch-project:main Sep 4, 2024
76 of 78 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
Updated so the session ID gets correctly passed along to speed up
subsequent queries.

Also set the connection title to the datasource meta field to be used
as originally interfaced.

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
(cherry picked from commit de027c2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
kavilla pushed a commit that referenced this pull request Sep 4, 2024
…#8002)

Updated so the session ID gets correctly passed along to speed up
subsequent queries.

Also set the connection title to the datasource meta field to be used
as originally interfaced.


(cherry picked from commit de027c2)

Signed-off-by: Kawika Avilla <kavilla414@gmail.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>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 5, 2024
Updated so the session ID gets correctly passed along to speed up
subsequent queries.

Also set the connection title to the datasource meta field to be used
as originally interfaced.

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
(cherry picked from commit de027c2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
kavilla pushed a commit that referenced this pull request Sep 5, 2024
…#8007)

Updated so the session ID gets correctly passed along to speed up
subsequent queries.

Also set the connection title to the datasource meta field to be used
as originally interfaced.


(cherry picked from commit de027c2)

Signed-off-by: Kawika Avilla <kavilla414@gmail.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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport 2.17 discover for discover reinvent discover-next distinguished-contributor Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.17.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants