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

#1536: Refactor OpenSearchQueryRequest and move includes to builder #320

Conversation

acarbonetto
Copy link

Description

Refactor OpenSearchScrollRequest and OpenSearchQueryRequest to check for includes list in the OpenSearchRequestBuilder so that the logic to create the list is consolidated.

Issues Resolved

opensearch-project#1536

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.

@acarbonetto acarbonetto changed the title #1536: Refactor OpenSearchQueryRequest and move incldues to builder #1536: Refactor OpenSearchQueryRequest and move includes to builder Aug 2, 2023
@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #320 (00b25b7) into integ-refactor-OpenSearchQueryRequest-includes-1536 (d00dc4d) will not change coverage.
The diff coverage is 100.00%.

@@                                  Coverage Diff                                   @@
##             integ-refactor-OpenSearchQueryRequest-includes-1536     #320   +/-   ##
======================================================================================
  Coverage                                                  97.42%   97.42%           
+ Complexity                                                  4647     4646    -1     
======================================================================================
  Files                                                        408      408           
  Lines                                                      11526    11526           
  Branches                                                     839      837    -2     
======================================================================================
  Hits                                                       11229    11229           
  Misses                                                       290      290           
  Partials                                                       7        7           
Flag Coverage Δ
sql-engine 97.42% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...arch/sql/opensearch/request/OpenSearchRequest.java 100.00% <ø> (ø)
...sql/opensearch/request/OpenSearchQueryRequest.java 100.00% <100.00%> (ø)
...l/opensearch/request/OpenSearchRequestBuilder.java 100.00% <100.00%> (ø)
...ql/opensearch/request/OpenSearchScrollRequest.java 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@acarbonetto acarbonetto merged commit 41944d4 into integ-refactor-OpenSearchQueryRequest-includes-1536 Aug 4, 2023
16 of 20 checks passed
@acarbonetto acarbonetto deleted the dev-refactor-OpenSearchQueryRequest-includes-1536 branch August 4, 2023 20:29
acarbonetto added a commit that referenced this pull request Aug 4, 2023
…ludes to builder (#320)

* opensearch-project#1536: Refactor OpenSearchQueryRequest and move incldues to builder

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

* opensearch-project#1536: Checkstyle fixes

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

* opensearch-project#1536: Checkstyle fixes

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

---------

Signed-off-by: acarbonetto <[email protected]>
MitchellGale pushed a commit that referenced this pull request Aug 9, 2023
…cludes to builder (opensearch-project#1937)

* opensearch-project#1536: Refactor OpenSearchQueryRequest and move includes to builder (#320)

* opensearch-project#1536: Refactor OpenSearchQueryRequest and move incldues to builder

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

* opensearch-project#1536: Checkstyle fixes

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

* opensearch-project#1536: Checkstyle fixes

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

---------

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

* opensearch-project#1536: Spotless Apply

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

---------

Signed-off-by: acarbonetto <[email protected]>
Yury-Fridlyand pushed a commit that referenced this pull request Aug 11, 2023
…cludes to builder (opensearch-project#1937) (opensearch-project#1948)

* opensearch-project#1536: Refactor OpenSearchQueryRequest and move includes to builder (#320)

* opensearch-project#1536: Refactor OpenSearchQueryRequest and move incldues to builder



* opensearch-project#1536: Checkstyle fixes



* opensearch-project#1536: Checkstyle fixes



---------



* opensearch-project#1536: Spotless Apply



---------


(cherry picked from commit 7d23e0f)

Signed-off-by: acarbonetto <[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>
MitchellGale pushed a commit that referenced this pull request Aug 14, 2023
…cludes to builder (opensearch-project#1937)

* opensearch-project#1536: Refactor OpenSearchQueryRequest and move includes to builder (#320)

* opensearch-project#1536: Refactor OpenSearchQueryRequest and move incldues to builder

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

* opensearch-project#1536: Checkstyle fixes

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

* opensearch-project#1536: Checkstyle fixes

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

---------

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

* opensearch-project#1536: Spotless Apply

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

---------

Signed-off-by: acarbonetto <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
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.

3 participants