Add request parameter 'cluster_manager_timeout' and deprecate 'master_timeout' - in Ingest APIs and Script APIs#2682
Conversation
Signed-off-by: Tianli Feng <ftianli@amazon.com>
89444cb to
b5563d3
Compare
|
✅ Gradle Check success 89444cba51759853a3d1f83753799d832d952596 |
|
In log 3964: The Client test failure will be resolved in #2702 |
Signed-off-by: Tianli Feng <ftianli@amazon.com> # Conflicts: # server/src/main/java/org/opensearch/rest/BaseRestHandler.java
Signed-off-by: Tianli Feng <ftianli@amazon.com>
…imeout parameter Signed-off-by: Tianli Feng <ftianli@amazon.com>
|
In log 4063: The Client test failure will be resolved in #2702 |
Signed-off-by: Tianli Feng <ftianli@amazon.com>
|
In log 4128: It's not reproducible locally. re-run: start gradle check |
Signed-off-by: Tianli Feng <ftianli@amazon.com> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
|
In log 4156: Also seen in #2752 |
Signed-off-by: Tianli Feng <ftianli@amazon.com>
|
In log 4161: It's reported in issue #1703 |
Signed-off-by: Tianli Feng <ftianli@amazon.com> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
| "description":"Specify timeout for connection to master", | ||
| "deprecated":{ | ||
| "version":"2.0.0", | ||
| "description":"To promote inclusive language, use 'cluster_manager_timeout' instead." |
There was a problem hiding this comment.
It feels to me promote is the not the right work. may be to support inclusive language. or to be more inclusive, use ..
There was a problem hiding this comment.
Thanks for your opinion! I will change the word promote to support.
…est-script-api Signed-off-by: Tianli Feng <ftianli@amazon.com>
…uage' Signed-off-by: Tianli Feng <ftianli@amazon.com>
545f1f1 to
7d0de09
Compare
|
✅ Gradle Check success 545f1f1e921b11030a7f5dd0671ab9fa183ec0d1 |
Signed-off-by: Tianli Feng <ftianli@amazon.com> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
…est-script-api Signed-off-by: Tianli Feng <ftianli@amazon.com> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
…_timeout' - in Ingest APIs and Script APIs (#2682) - Deprecate the request parameter `master_timeout` that used in Ingest APIs and Script APIs which have got the parameter. - Add alternative new request parameter `cluster_manager_timeout`. - Add unit tests. Signed-off-by: Tianli Feng <ftianli@amazon.com> (cherry picked from commit 08e4a35)
…_timeout' - in Ingest APIs and Script APIs (#2682) - Deprecate the request parameter `master_timeout` that used in Ingest APIs and Script APIs which have got the parameter. - Add alternative new request parameter `cluster_manager_timeout`. - Add unit tests. Signed-off-by: Tianli Feng <ftianli@amazon.com> (cherry picked from commit 08e4a35)
…_timeout' - in Ingest APIs and Script APIs (#2682) (#2890) - Deprecate the request parameter `master_timeout` that used in Ingest APIs and Script APIs which have got the parameter. - Add alternative new request parameter `cluster_manager_timeout`. - Add unit tests. Signed-off-by: Tianli Feng <ftianli@amazon.com> (cherry picked from commit 08e4a35)
…_timeout' - in Ingest APIs and Script APIs (#2682) (#2891) - Deprecate the request parameter `master_timeout` that used in Ingest APIs and Script APIs which have got the parameter. - Add alternative new request parameter `cluster_manager_timeout`. - Add unit tests. Signed-off-by: Tianli Feng <ftianli@amazon.com> (cherry picked from commit 08e4a35)
Description
master_timeoutthat used in Ingest APIs and Script APIs which have got the parameter.cluster_manager_timeout.List of the
IngestAPIs andScriptAPIs that have got request parametermaster_timeout:Put pipeline API https://opensearch.org/docs/latest/opensearch/rest-api/ingest-apis/create-update-ingest/
Get pipeline API https://opensearch.org/docs/latest/opensearch/rest-api/ingest-apis/get-ingest/
Delete pipeline API https://opensearch.org/docs/latest/opensearch/rest-api/ingest-apis/delete-ingest/
Get stored script API
GET _scripts/<script-id>Put stored script API
Delete stored script API
Issues Resolved
A part of issue #2511
Check List
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.