opensearch-project / security-analytics-dashboards-plugin

Front end (UI) plugin to support security-analytics
Apache License 2.0
8 stars 41 forks source link

[MDS][Part 2] Added server-side glue code to use data source id when getting opensearch client for making API calls to cluster #1008

Closed amsiglan closed 2 months ago

amsiglan commented 2 months ago

Description

Following on part 1, this PR sets up all the server side services to use the data source id included in the requests from the frontend to decide which opensearch client to use for making API calls to the backend cluster.

Check List

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.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 31.92%. Comparing base (3e01e16) to head (ae8c286). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1008 +/- ## ========================================== + Coverage 31.61% 31.92% +0.30% ========================================== Files 159 160 +1 Lines 5304 5354 +50 Branches 993 1001 +8 ========================================== + Hits 1677 1709 +32 - Misses 3436 3445 +9 - Partials 191 200 +9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.