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

[Bug Fix] Add mds support for routers and fix the missing callAsCurrentUser #1942

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

RyanL1997
Copy link
Collaborator

@RyanL1997 RyanL1997 commented Jul 17, 2024

Description

  • add mds support for some routers
  • Fix the missing callAsCurrentUser for router: ${DATACONNECTIONS_BASE}/dataSourceMDSId={dataSourceMDSId?}

Issues Resolved

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.

@RyanL1997 RyanL1997 changed the title [MDS] Add mds support for routers [MDS] Add mds support for routers and fix the missing callAsCurrentUser Jul 18, 2024
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.95%. Comparing base (c3ab50f) to head (0636f72).
Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1942      +/-   ##
==========================================
- Coverage   57.85%   54.95%   -2.90%     
==========================================
  Files         372      391      +19     
  Lines       14081    15137    +1056     
  Branches     3712     4052     +340     
==========================================
+ Hits         8146     8319     +173     
- Misses       5871     6739     +868     
- Partials       64       79      +15     
Flag Coverage Δ
dashboards-observability 54.95% <ø> (-2.90%) ⬇️

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.

@RyanL1997 RyanL1997 changed the title [MDS] Add mds support for routers and fix the missing callAsCurrentUser [Bug Fix] Add mds support for routers and fix the missing callAsCurrentUser Jul 18, 2024
@sumukhswamy sumukhswamy merged commit c2edf41 into opensearch-project:main Jul 18, 2024
19 of 26 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 18, 2024
…entUser` (#1942)

* [MDS] Add mds support for routers

Signed-off-by: Ryan Liang <[email protected]>

* Fix the missing call as current user when mds is disabled

Signed-off-by: Ryan Liang <[email protected]>

---------

Signed-off-by: Ryan Liang <[email protected]>
(cherry picked from commit c2edf41)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
sumukhswamy pushed a commit that referenced this pull request Jul 18, 2024
…entUser` (#1942) (#1944)

* [MDS] Add mds support for routers



* Fix the missing call as current user when mds is disabled



---------


(cherry picked from commit c2edf41)

Signed-off-by: Ryan Liang <[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
backport 2.x enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants