Client: Deprecate many argument performRequest#30315
Merged
nik9000 merged 6 commits intoelastic:masterfrom May 8, 2018
Merged
Conversation
Deprecate the many arguments versions of `performRequest` and `performRequestAsync` in favor of the `Request` object flavored variants introduced in elastic#29623. We'll be dropping the many arguments variants in 7.0 because they make it difficult to add new features in a backwards compatible way and they create a *ton* of intellisense noise.
Collaborator
|
Pinging @elastic/es-core-infra |
javanna
approved these changes
May 3, 2018
Contributor
javanna
left a comment
There was a problem hiding this comment.
found a small typo, LGTM otherwise
docs/CHANGELOG.asciidoc
Outdated
| === Deprecation | ||
|
|
||
| Deprecated multi-argument versions of the request methods in the RestClient. | ||
| Prefer the "Request" object falvored methods. ({pull}30315[#30315]) |
nik9000
added a commit
that referenced
this pull request
May 8, 2018
Deprecate the many arguments versions of `performRequest` and `performRequestAsync` in favor of the `Request` object flavored variants introduced in #29623. We'll be dropping the many arguments variants in 7.0 because they make it difficult to add new features in a backwards compatible way and they create a *ton* of intellisense noise.
Member
Author
|
Thanks for reviewing @javanna ! I've merged and backported. |
dnhatn
added a commit
that referenced
this pull request
May 8, 2018
* master: Mute ML upgrade test (#30458) Stop forking javac (#30462) Client: Deprecate many argument performRequest (#30315) Docs: Use task_id in examples of tasks (#30436) Security: Rename IndexLifecycleManager to SecurityIndexManager (#30442) [Docs] Fix typo in cardinality-aggregation.asciidoc (#30434) Avoid NPE in `more_like_this` when field has zero tokens (#30365) Build: Switch to building javadoc with html5 (#30440) Add a quick tour of the project to CONTRIBUTING (#30187) Reindex: Use request flavored methods (#30317) Silence SplitIndexIT.testSplitIndexPrimaryTerm test failure. (#30432) Auto-expand replicas when adding or removing nodes (#30423) Docs: fix changelog merge Fix line length violation in cache tests Add stricter geohash parsing (#30376) Add failing test for core cache deadlock [DOCS] convert forcemerge snippet Update forcemerge.asciidoc (#30113) Added zentity to the list of API extension plugins (#29143) Fix the search request default operation behavior doc (#29302) (#29405)
jasontedor
added a commit
to jasontedor/elasticsearch
that referenced
this pull request
May 9, 2018
* elastic/master: Mute ML upgrade test (elastic#30458) Stop forking javac (elastic#30462) Client: Deprecate many argument performRequest (elastic#30315) Docs: Use task_id in examples of tasks (elastic#30436) Security: Rename IndexLifecycleManager to SecurityIndexManager (elastic#30442)
jasontedor
added a commit
to jasontedor/elasticsearch
that referenced
this pull request
May 9, 2018
…or-you * elastic/master: (22 commits) Docs: Test examples that recreate lang analyzers (elastic#29535) BulkProcessor to retry based on status code (elastic#29329) Add GET Repository High Level REST API (elastic#30362) add a comment explaining the need for RetryOnReplicaException on missing mappings Add `coordinating_only` node selector (elastic#30313) Stop forking groovyc (elastic#30471) Avoid setting connection request timeout (elastic#30384) Use date format in `date_range` mapping before fallback to default (elastic#29310) Watcher: Increase HttpClient parallel sent requests (elastic#30130) Mute ML upgrade test (elastic#30458) Stop forking javac (elastic#30462) Client: Deprecate many argument performRequest (elastic#30315) Docs: Use task_id in examples of tasks (elastic#30436) Security: Rename IndexLifecycleManager to SecurityIndexManager (elastic#30442) [Docs] Fix typo in cardinality-aggregation.asciidoc (elastic#30434) Avoid NPE in `more_like_this` when field has zero tokens (elastic#30365) Build: Switch to building javadoc with html5 (elastic#30440) Add a quick tour of the project to CONTRIBUTING (elastic#30187) Reindex: Use request flavored methods (elastic#30317) Silence SplitIndexIT.testSplitIndexPrimaryTerm test failure. (elastic#30432) ...
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this pull request
May 14, 2018
In elastic#29623 we added `Request` object flavored requests to the low level REST client and in elastic#30315 we deprecated the the old requests. This changes many calls in the `qa` projects to use the new version.
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this pull request
May 14, 2018
In elastic#29623 we added `Request` object flavored requests to the low level REST client and in elastic#30315 we deprecated the old `performRequest`s. This changes all calls in the `distribution/archives/integ-test-zip` project to use the new versions.
nik9000
added a commit
that referenced
this pull request
May 15, 2018
nik9000
added a commit
that referenced
this pull request
May 16, 2018
nik9000
added a commit
that referenced
this pull request
Jul 23, 2018
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this pull request
Jul 23, 2018
In elastic#29623 we added `Request` object flavored requests to the low level REST client and in elastic#30315 we deprecated the old `performRequest`s. This changes all calls in the `x-pack:qa:full-cluster-restart` project to use the new versions.
nik9000
added a commit
that referenced
this pull request
Jul 23, 2018
nik9000
added a commit
that referenced
this pull request
Jul 23, 2018
nik9000
added a commit
that referenced
this pull request
Jul 23, 2018
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this pull request
Jul 24, 2018
In elastic#29623 we added `Request` object flavored requests to the low level REST client and in elastic#30315 we deprecated the old `performRequest`s. This changes all calls in the `x-pack/plugin` project to use the new versions.
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this pull request
Jul 24, 2018
In elastic#29623 we added `Request` object flavored requests to the low level REST client and in elastic#30315 we deprecated the old `performRequest`s. This changes all calls in the `x-pack:qa:rolling-upgrade*` projects to use the new versions.
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this pull request
Jul 24, 2018
In elastic#29623 we added `Request` object flavored requests to the low level REST client and in elastic#30315 we deprecated the old `performRequest`s. This changes all calls in the `x-pack/qa/security-example-spi-extension` project to use the new versions.
nik9000
added a commit
that referenced
this pull request
Jul 26, 2018
nik9000
added a commit
that referenced
this pull request
Jul 26, 2018
nik9000
added a commit
that referenced
this pull request
Jul 26, 2018
nik9000
added a commit
that referenced
this pull request
Jul 26, 2018
nik9000
added a commit
that referenced
this pull request
Jul 30, 2018
nik9000
added a commit
that referenced
this pull request
Jul 31, 2018
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this pull request
Jul 31, 2018
In elastic#29623 we added `Request` object flavored requests to the low level REST client and in elastic#30315 we deprecated the old `performRequest`s. This changes all calls in the `x-pack/qa/ml-basic-multi-node` project to use the new versions.
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this pull request
Jul 31, 2018
In elastic#29623 we added `Request` object flavored requests to the low level REST client and in elastic#30315 we deprecated the old `performRequest`s. This changes all calls in the `x-pack/qa/audit-tests`, `x-pack/qa/ml-disabled`, and `x-pack/qa/multi-node` projects to use the new versions.
This was referenced Aug 21, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deprecate the many arguments versions of
performRequestandperformRequestAsyncin favor of theRequestobject flavored variantsintroduced in #29623. We'll be dropping the many arguments variants in
7.0 because they make it difficult to add new features in a backwards
compatible way and they create a ton of intellisense noise.