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

[Backport 2.x] Add Get QueryGroup API Logic #15285

Merged
merged 1 commit into from
Aug 18, 2024
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport a900a16 from #14709.

* Add Get QueryGroup API Logic
Signed-off-by: Ruirui Zhang <[email protected]>

* add to changelog
Signed-off-by: Ruirui Zhang <[email protected]>

* fix javadoc
Signed-off-by: Ruirui Zhang <[email protected]>

* change GetQueryGroupAction NAME and add more tests
Signed-off-by: Ruirui Zhang <[email protected]>

* add more unit tests
Signed-off-by: Ruirui Zhang <[email protected]>

* fix spotlessapply
Signed-off-by: Ruirui Zhang <[email protected]>

* addressed comments
Signed-off-by: Ruirui Zhang <[email protected]>

* incorperate comments from create api PR
Signed-off-by: Ruirui Zhang <[email protected]>

* use clustermanager to get the most recent querygroups
Signed-off-by: Ruirui Zhang <[email protected]>

* address comments
Signed-off-by: Ruirui Zhang <[email protected]>

* rebase with main
Signed-off-by: Ruirui Zhang <[email protected]>

* add IT
Signed-off-by: Ruirui Zhang <[email protected]>

* address comments
Signed-off-by: Ruirui Zhang <[email protected]>

* fix IT
Signed-off-by: Ruirui Zhang <[email protected]>
(cherry picked from commit a900a16)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

✅ Gradle check result for 34a1d6b: SUCCESS

Copy link

codecov bot commented Aug 16, 2024

Codecov Report

Attention: Patch coverage is 72.22222% with 20 lines in your changes missing coverage. Please review.

Project coverage is 71.41%. Comparing base (1bee506) to head (34a1d6b).
Report is 1 commits behind head on 2.x.

Files Patch % Lines
...earch/plugin/wlm/rest/RestGetQueryGroupAction.java 0.00% 7 Missing ⚠️
...nsearch/plugin/wlm/action/GetQueryGroupAction.java 0.00% 3 Missing ⚠️
...search/plugin/wlm/action/GetQueryGroupRequest.java 76.92% 2 Missing and 1 partial ⚠️
...lugin/wlm/action/TransportGetQueryGroupAction.java 76.92% 2 Missing and 1 partial ⚠️
...pensearch/plugin/wlm/WorkloadManagementPlugin.java 0.00% 2 Missing ⚠️
...ugin/wlm/service/QueryGroupPersistenceService.java 88.88% 0 Missing and 1 partial ⚠️
...va/org/opensearch/cluster/metadata/QueryGroup.java 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #15285      +/-   ##
============================================
- Coverage     71.50%   71.41%   -0.09%     
- Complexity    62808    62816       +8     
============================================
  Files          5145     5150       +5     
  Lines        295183   295251      +68     
  Branches      42988    42990       +2     
============================================
- Hits         211059   210854     -205     
- Misses        66422    66743     +321     
+ Partials      17702    17654      -48     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jed326 jed326 merged commit 6581248 into 2.x Aug 18, 2024
56 checks passed
@andrross andrross deleted the backport/backport-14709-to-2.x branch October 17, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant