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 toBuilder method on some models (#766) #797

Merged
merged 2 commits into from
Jan 3, 2024

Commits on Jan 3, 2024

  1. add toBuilder method on some models (opensearch-project#766)

    * add toQuery() on SearchRequest
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * add toBuilder() on all Request in org.opensearch.client.opensearch.core
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * add toBuilder() on all Builder in org.opensearch.client.opensearch._types.query_dsl
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * update CHANGELOG.md
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * apply spotlessApply
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * fix CommonTermsQuery.toBuilder()
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * fix FuzzyQuery.toBuilder()
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * fix toBuilders
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * add test for _types/query_dsl package
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * add test for core package
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * spotlessApply
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * fix test
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * revert ModelTestCase
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * revert ModelTestCase
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * add pr link on CHANGELOG.md
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * add pr link on CHANGELOG.md
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    * apply spotless
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    ---------
    
    Signed-off-by: channel-dante <dante@channel.io>
    
    (cherry picked from commit a8fea24)
    Signed-off-by: channel-dante <dante@channel.io>
    channel-dante committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    8c7f4c9 View commit details
    Browse the repository at this point in the history
  2. removed not related test code

    Signed-off-by: channel-dante <dante@channel.io>
    channel-dante committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    b7a6750 View commit details
    Browse the repository at this point in the history