Skip to content

Conversation

@VijayanB
Copy link
Member

@VijayanB VijayanB commented Dec 6, 2021

Description

  • Use OpenSearch::Client instead of Elasticsearch.
  • Update CI to test last two minor release.

Issues Resolved

#55

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has documentation added
  • Commits are signed as 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.

@VijayanB VijayanB requested a review from a team as a code owner December 6, 2021 23:25
@VijayanB VijayanB force-pushed the update-opensearch-ruby branch 4 times, most recently from d910951 to 7a7cada Compare December 6, 2021 23:53

subject.multi_receive([LogStash::Event.new("my_id" => id, "my_action" => "delete", "message" => "foo", "my_version" => 100)])
expect { es.get(:index => 'logstash-delete', :type => doc_type, :id => id, :refresh => true) }.to raise_error(Elasticsearch::Transport::Transport::Errors::NotFound)
expect { es.get(:index => 'logstash-delete', :type => doc_type, :id => id, :refresh => true) }.to raise_error(OpenSearch::Transport::Transport::Errors::NotFound)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it still es?

Copy link
Member Author

@VijayanB VijayanB Dec 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some more instance where variable name is not renamed to opensearch. I updated it too.

Use OpenSearch::Client instead of Elasticsearch.
Update all reference from Elasticsearch in spec to
OpenSearch since opensearch-ruby is released.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
Update CI to test last two minor release.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
@VijayanB VijayanB force-pushed the update-opensearch-ruby branch 2 times, most recently from 054b021 to 7c580d3 Compare December 7, 2021 01:02
@VijayanB VijayanB requested a review from jmazanec15 December 7, 2021 01:02
Update variable name to use opensearch

Signed-off-by: Vijayan Balasubramanian <[email protected]>
@VijayanB VijayanB force-pushed the update-opensearch-ruby branch from 7c580d3 to b7202d8 Compare December 7, 2021 02:48
@VijayanB VijayanB self-assigned this Dec 7, 2021
@VijayanB VijayanB added 1.2.0 latest release Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc. labels Dec 7, 2021
@VijayanB VijayanB merged commit dbd223b into opensearch-project:main Dec 7, 2021
@VijayanB VijayanB deleted the update-opensearch-ruby branch December 7, 2021 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.2.0 latest release Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants