opensearch-transport 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/opensearch/transport/version.rb +1 -1
- data/spec/opensearch/transport/base_spec.rb +1 -1
- data/spec/opensearch/transport/client_spec.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 486df12499ed36687f17b069b98ac2338d9d53f7f503923339b8f1dbfc7dfc09
|
4
|
+
data.tar.gz: 1435b4c6d75c01b8a0f0fab36ba0edaae8b00ac189eadcc2c285f2e135a2bce7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e48408e4ba9d03b463f5b1364c905ca944806bb58d5b9274ded620e0bd6d746a1bdc8fe5f31eb0df3f83eb4b5b8201fda19ab7de26402e38bc8fb76906299180
|
7
|
+
data.tar.gz: a48c523ccc5b575d9f97cc87367995d6f16ed83977b0634144a30a9d4384cc30ff998f628c7da2ad199caeb2b32ee7084ec6853386a4b1a5bca2a9b6f680211c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -184,7 +184,7 @@ describe OpenSearch::Transport::Transport::Base do
|
|
184
184
|
|
185
185
|
it 'retries on 404 status the specified number of max_retries' do
|
186
186
|
expect do
|
187
|
-
client.transport.perform_request('GET', 'myindex/
|
187
|
+
client.transport.perform_request('GET', 'myindex/_doc/1?routing=FOOBARBAZ', {}, nil, nil, retry_on_failure: 5)
|
188
188
|
end.to raise_exception(OpenSearch::Transport::Transport::Errors::NotFound)
|
189
189
|
end
|
190
190
|
end
|
@@ -1680,12 +1680,12 @@ describe OpenSearch::Transport::Client do
|
|
1680
1680
|
client.perform_request('DELETE', '_all')
|
1681
1681
|
client.perform_request('DELETE', 'myindex') rescue
|
1682
1682
|
client.perform_request('PUT', 'myindex', {}, { settings: { number_of_shards: 2, number_of_replicas: 0 } })
|
1683
|
-
client.perform_request('PUT', 'myindex/
|
1683
|
+
client.perform_request('PUT', 'myindex/_doc/1', { routing: 'XYZ', timeout: '1s' }, { foo: 'bar' })
|
1684
1684
|
client.perform_request('GET', '_cluster/health?wait_for_status=green&timeout=2s', {})
|
1685
1685
|
end
|
1686
1686
|
|
1687
1687
|
let(:response) do
|
1688
|
-
client.perform_request('GET', 'myindex/
|
1688
|
+
client.perform_request('GET', 'myindex/_doc/1?routing=XYZ')
|
1689
1689
|
end
|
1690
1690
|
|
1691
1691
|
it 'handles paths and URL paramters' do
|
@@ -1700,7 +1700,7 @@ describe OpenSearch::Transport::Client do
|
|
1700
1700
|
context 'when an invalid url is specified' do
|
1701
1701
|
it 'raises an exception' do
|
1702
1702
|
expect {
|
1703
|
-
client.perform_request('GET', 'myindex/
|
1703
|
+
client.perform_request('GET', 'myindex/_doc/1?routing=FOOBARBAZ')
|
1704
1704
|
}.to raise_exception(OpenSearch::Transport::Transport::Errors::NotFound)
|
1705
1705
|
end
|
1706
1706
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opensearch-transport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jayesh Hathila
|
@@ -33,7 +33,7 @@ cert_chain:
|
|
33
33
|
yXikuH6LEVykA8pgOcB9gKsB2/zMd2ZlSj2monM8Qw9EfB14ZSDTYS8VYuwWCeF0
|
34
34
|
eFmXXk0ufQFKl1Yll7quHkmQ0PzKkvXTpONBT6qPkXE=
|
35
35
|
-----END CERTIFICATE-----
|
36
|
-
date:
|
36
|
+
date: 2022-05-31 00:00:00.000000000 Z
|
37
37
|
dependencies:
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: multi_json
|
metadata.gz.sig
CHANGED
Binary file
|