Commit Graph

55648 Commits

Author SHA1 Message Date
dependabot[bot] 725b5ca004
Bump joni from 2.1.41 to 2.1.43 in /libs/grok (#2832)
* Bump joni from 2.1.41 to 2.1.43 in /libs/grok

Bumps [joni](https://github.com/jruby/joni) from 2.1.41 to 2.1.43.
- [Release notes](https://github.com/jruby/joni/releases)
- [Commits](https://github.com/jruby/joni/compare/joni-2.1.41...joni-2.1.43)

---
updated-dependencies:
- dependency-name: org.jruby.joni:joni
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-04-11 11:48:56 -04:00
dependabot[bot] 00ae764752
Bump protobuf-java from 3.19.3 to 3.20.0 in /plugins/repository-hdfs (#2836)
* Bump protobuf-java from 3.19.3 to 3.20.0 in /plugins/repository-hdfs

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.3 to 3.20.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.19.3...v3.20.0)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-04-11 11:48:21 -04:00
dependabot[bot] 81e2455df1
Bump asm-analysis from 9.2 to 9.3 in /test/logger-usage (#2829)
Bumps asm-analysis from 9.2 to 9.3.

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm-analysis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 11:47:50 -04:00
dependabot[bot] c69ad3deca
Bump azure-core from 1.26.0 to 1.27.0 in /plugins/repository-azure (#2837)
* Bump azure-core from 1.26.0 to 1.27.0 in /plugins/repository-azure

Bumps [azure-core](https://github.com/Azure/azure-sdk-for-java) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-java/compare/azure-core_1.26.0...azure-core_1.27.0)

---
updated-dependencies:
- dependency-name: com.azure:azure-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-04-11 11:47:19 -04:00
dependabot[bot] f68c8f4527
Bump gradle-info-plugin from 7.1.3 to 11.3.3 in /buildSrc (#2831)
Bumps [gradle-info-plugin](https://github.com/nebula-plugins/gradle-info-plugin) from 7.1.3 to 11.3.3.
- [Release notes](https://github.com/nebula-plugins/gradle-info-plugin/releases)
- [Changelog](https://github.com/nebula-plugins/gradle-info-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nebula-plugins/gradle-info-plugin/compare/v7.1.3...v11.3.3)

---
updated-dependencies:
- dependency-name: com.netflix.nebula:gradle-info-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 11:42:16 -04:00
dependabot[bot] 0a17faca61
Bump cdi-api from 1.2 to 2.0 in /qa/wildfly (#2835)
Bumps [cdi-api](https://github.com/cdi-spec/cdi) from 1.2 to 2.0.
- [Release notes](https://github.com/cdi-spec/cdi/releases)
- [Commits](https://github.com/cdi-spec/cdi/compare/1.2...2.0)

---
updated-dependencies:
- dependency-name: javax.enterprise:cdi-api
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 11:41:48 -04:00
dependabot[bot] c876f55294
Bump com.diffplug.spotless from 6.4.1 to 6.4.2 (#2827)
Bumps com.diffplug.spotless from 6.4.1 to 6.4.2.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 11:41:20 -04:00
Yoann Rodière b5d5616d44
Update commons-logging to 1.2 (#2806)
* Upgrade to Apache Commons Logging 1.2

Signed-off-by: Yoann Rodière <yoann@hibernate.org>

* Clarify that Apache HTTP/commons-* dependencies are not just for tests

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2022-04-08 16:43:51 -04:00
Kartik 2d89bc7c61
Updates to the large string reg-ex check (#2814)
* Updates to the large string reg-ex check

Removed the null-case for IndexSettings since this only occurs in tests. The tests now use a dummy Index Setting.
This change also fixes a bug with the base case handling of max regex length in the check.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>
2022-04-07 18:12:33 -07:00
Tianli Feng 47a22bb08d
Replace remaining 'blacklist' with 'denylist' in internal class and method names (#2784)
* Replace blacklist with denylist in BlacklistedPathPatternMatcher

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace blacklist with denylist in assumption message

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace all Blacklisted with Denylisted

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace all blacklist(key) with denylist(key)

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Adjust format by spotlessApply task

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-04-07 15:45:20 -07:00
Tianli Feng 249155772b
Allow deprecation warning for API call GET _cat/master in ExceptionIT of mixed cluster BWC test (#2767)
Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-04-07 15:31:31 -07:00
Kartik 566ebfa4fe
Bugfix to guard against stack overflow errors caused by very large reg-ex input (#2810)
* Bugfix to guard against stack overflow errors caused by very large reg-ex input

This change fixes a code path that did not properly impose the index-level max_regex_length limit. Therefore, it was possibly to provide ar arbitrarily large string as the include/exclude reg-ex value under search aggregations. This exposed the underlying node to crashes from a StackOverflowError, due to how the Lucene RegExp class processes strings using stack frames.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Adding integration tests for large string RegEx

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Spotless

Signed-off-by: Kartik Ganesh <gkart@amazon.com>
2022-04-07 14:35:40 -07:00
Andriy Redko 0244b2a2df
Update azure-storage-blob to 12.15.0: fix test flakiness (#2795)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-04-06 16:28:14 -05:00
Tianli Feng dd24e17ea6
Fix issue that deprecated setting 'cluster.initial_master_nodes' is not identified in node bootstrap check (#2779)
* Fix issue that deprecated setting 'cluster.initial_master_nodes' is not identified during node bootstrap

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Restore a variable name

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-04-06 15:01:12 -04:00
dependabot[bot] ce5c55dbbc
Bump geoip2 from 2.16.1 to 3.0.1 in /modules/ingest-geoip (#2646)
* Bump geoip2 from 2.16.1 to 3.0.1 in /modules/ingest-geoip

Bumps [geoip2](https://github.com/maxmind/GeoIP2-java) from 2.16.1 to 3.0.1.
- [Release notes](https://github.com/maxmind/GeoIP2-java/releases)
- [Changelog](https://github.com/maxmind/GeoIP2-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/maxmind/GeoIP2-java/compare/v2.16.1...v3.0.1)

---
updated-dependencies:
- dependency-name: com.maxmind.geoip2:geoip2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Fix breaking change with geoip2 version 3.0.1.

Signed-off-by: Marc Handalian <handalm@amazon.com>

* Fix precommit failures caused by ignoreMissingClasses check.

Precommit is failing because forbiddenApis was configured to ignore missing classes
that are present.

Signed-off-by: Marc Handalian <handalm@amazon.com>

* Change asn in GeoIpProcessorTests from int to long.

Signed-off-by: Marc Handalian <handalm@amazon.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Handalian <handalm@amazon.com>
2022-04-06 10:33:37 -04:00
Tianli Feng ed040e9f1a
Replace blacklist in Gradle build environment configuration (#2752)
- Replace `blacklist` with `denylist` in all `tests.rest.blacklist` and `REST_TESTS_BLACKLIST`
Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-04-05 17:48:39 -07:00
Andriy Redko 1dbeda0f32
Update azure-storage-blob to 12.15.0 (#2774)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-04-05 18:49:42 -04:00
Tianli Feng 7aa496f9dd
Add request parameter 'cluster_manager_timeout' and deprecate 'master_timeout' - in Index APIs except index template APIs (#2660)
- Deprecate the request parameter `master_timeout` that used in Index APIs which have got the parameter. 
(except index template APIs, which is addressed in PR https://github.com/opensearch-project/OpenSearch/pull/2678) 
- Add alternative new request parameter `cluster_manager_timeout`.
- Add unit tests.

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-04-05 10:47:52 -07:00
Wenjun Ruan 0b1f4a2069
Rename `file` to `dir` in Environment (#2730)
* Rename `file` to `dir` in Environment

Signed-off-by: ruanwenjun <wenjun@apache.org>

* Fix compile error

Signed-off-by: ruanwenjun <wenjun@apache.org>

* fix compile error

Signed-off-by: ruanwenjun <wenjun@apache.org>
2022-04-05 09:23:08 -04:00
Nick Knize 406ee36b15
Fix TaskInfo serialization and unmute task_list bwc test (#2766)
Fixes the version check around resourceStats serialization and unmutes the
failing bwc test.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-04-05 06:25:45 -05:00
Marc Handalian 21f9950806
Update ThirdPartyAuditTask to check for and list pointless exclusions. (#2760)
This change swaps the order of the task to first check for no pointless exclusions.
If not caught first these will be thrown inside of the bogusExcludesCount block that logs a
useless error message.

Signed-off-by: Marc Handalian <handalm@amazon.com>
2022-04-04 23:18:32 -05:00
dependabot[bot] 6103010e14
Bump jcodings from 1.0.44 to 1.0.57 in /libs/grok (#2736)
* Bump jcodings from 1.0.44 to 1.0.57 in /libs/grok

Bumps [jcodings](https://github.com/jruby/jcodings) from 1.0.44 to 1.0.57.
- [Release notes](https://github.com/jruby/jcodings/releases)
- [Commits](https://github.com/jruby/jcodings/compare/jcodings-1.0.44...jcodings-1.0.57)

---
updated-dependencies:
- dependency-name: org.jruby.jcodings:jcodings
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Fix forbiddenApisCheck for libs/grok.

This change removes the ignoreMissingClasses block of the thirdPartyAudit check.
This class is not missing, so the check causes failures.

Signed-off-by: Marc Handalian <handalm@amazon.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Handalian <handalm@amazon.com>
2022-04-04 17:40:08 -07:00
Raphael Lopez 365e07ce4b
Remove endpoint_suffix dependency on account key (#2485)
Signed-off-by: Raphael Lopez <raphael.lopez@aiven.io>
2022-04-04 20:12:58 -04:00
dependabot[bot] b5d7805962
Bump azure-core-http-netty from 1.11.8 to 1.11.9 in /plugins/repository-azure (#2734)
* Bump azure-core-http-netty in /plugins/repository-azure

Bumps [azure-core-http-netty](https://github.com/Azure/azure-sdk-for-java) from 1.11.8 to 1.11.9.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-java/compare/azure-core-http-netty_1.11.8...azure-core-http-netty_1.11.9)

---
updated-dependencies:
- dependency-name: com.azure:azure-core-http-netty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-04-04 16:47:36 -07:00
Nicholas Walter Knize fbb2725ec1
[Mute] tasks.list/10_basic/tasks_list
Muting test until bwc fix is in place.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-04-04 18:06:29 -05:00
Nick Knize cb238aae61
Bump version to 3.0.0 (#2556)
Bump version to 3.0.0

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-04-04 17:40:31 -05:00
Tianli Feng 7d23b180f7
Add request parameter 'cluster_manager_timeout' and deprecate 'master_timeout' - in Cluster APIs (#2658)
- Deprecate the request parameter `master_timeout` that used in Cluster 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>
2022-04-04 13:47:34 -07:00
Nick Knize 2d716ad9e2
[Version] Don't spoof major for 3.0+ clusters (#2722)
Changes version comparison logic to only translate major version when 
comparing with legacy 7x versions. This is needed beginning in 2.0 so 
that when running 2.0+ versions in bwc mode for 3.0+ upgrades, node 
versions no longer have to translate major version or spoof to legacy 
versions.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-04-04 14:01:04 -05:00
dependabot[bot] 719c92a505
Bump gradle-docker-compose-plugin from 0.14.12 to 0.15.2 in /buildSrc (#2732)
Bumps [gradle-docker-compose-plugin](https://github.com/avast/gradle-docker-compose-plugin) from 0.14.12 to 0.15.2.
- [Release notes](https://github.com/avast/gradle-docker-compose-plugin/releases)
- [Commits](https://github.com/avast/gradle-docker-compose-plugin/compare/0.14.12...0.15.2)

---
updated-dependencies:
- dependency-name: com.avast.gradle:gradle-docker-compose-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:21:51 -07:00
dependabot[bot] c90a813288
Bump com.diffplug.spotless from 6.3.0 to 6.4.1 (#2731)
Bumps com.diffplug.spotless from 6.3.0 to 6.4.1.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:21:15 -07:00
dependabot[bot] 34221c2cbf
Bump jboss-jaxrs-api_2.0_spec in /qa/wildfly (#2737)
Bumps [jboss-jaxrs-api_2.0_spec](https://github.com/jboss/jboss-jaxrs-api_spec) from 1.0.0.Final to 1.0.1.Final.
- [Release notes](https://github.com/jboss/jboss-jaxrs-api_spec/releases)
- [Commits](https://github.com/jboss/jboss-jaxrs-api_spec/compare/jboss-jaxrs-api_1.1_spec-1.0.0.Final...jboss-jaxrs-api_1.1_spec-1.0.1.Final)

---
updated-dependencies:
- dependency-name: org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.0_spec
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:19:36 -07:00
dependabot[bot] fb168b43ad
Bump antlr4 from 4.5.3 to 4.9.3 in /modules/lang-painless (#2733)
Bumps [antlr4](https://github.com/antlr/antlr4) from 4.5.3 to 4.9.3.
- [Release notes](https://github.com/antlr/antlr4/releases)
- [Changelog](https://github.com/antlr/antlr4/blob/master/CHANGES.txt)
- [Commits](https://github.com/antlr/antlr4/compare/4.5.3...4.9.3)

---
updated-dependencies:
- dependency-name: org.antlr:antlr4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:19:19 -07:00
dependabot[bot] baaab58ccc
Bump json-smart from 2.4.7 to 2.4.8 in /plugins/repository-hdfs (#2735)
* Bump json-smart from 2.4.7 to 2.4.8 in /plugins/repository-hdfs

Bumps [json-smart](https://github.com/netplex/json-smart-v2) from 2.4.7 to 2.4.8.
- [Release notes](https://github.com/netplex/json-smart-v2/releases)
- [Commits](https://github.com/netplex/json-smart-v2/commits/2.4.8)

---
updated-dependencies:
- dependency-name: net.minidev:json-smart
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-04-04 11:18:28 -07:00
dependabot[bot] f9ca90eb88
Bump proto-google-common-protos from 1.16.0 to 2.8.0 in /plugins/repository-gcs (#2738)
* Bump proto-google-common-protos in /plugins/repository-gcs

Bumps [proto-google-common-protos](https://github.com/googleapis/java-iam) from 1.16.0 to 2.8.0.
- [Release notes](https://github.com/googleapis/java-iam/releases)
- [Changelog](https://github.com/googleapis/java-iam/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-iam/commits)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-04-04 09:25:16 -07:00
Wenjun Ruan d848c63260
Optimize Node, remove duplicate Settings (#2703)
Removes duplicate Settings

Signed-off-by: ruanwenjun <wenjun@apache.org>
2022-04-04 10:34:03 -05:00
Tianli Feng 6a2a33d187
Make Rest-High-Rest-Level tests allow deprecation warning temporarily, during deprecation of request parameter 'master_timeout' (#2702)
Temporarily build rest client with setStrictDeprecationMode(false) to allow 
deprecation warning in HLRC tests while master_timeout parameters is
being refactored.

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-04-04 10:22:22 -05:00
Nick Knize 6c195abc59
[Main] Bump Version 2.0 to 2.1 (#2715)
Bumps from version 2.0 to 2.1

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-04-02 14:40:25 -05:00
Tianli Feng 78465b4a08
Add request parameter 'cluster_manager_timeout' as the alternative for 'master_timeout', and deprecate 'master_timeout' - in CAT APIs (#2557)
Apply the change of CAT Nodes API in PR #2435 to other applicable CAT APIs.

- Deprecate the request parameter `master_timeout` that used in many CAT APIs.
- Add alternative new request parameter `cluster_manager_timeout`.
- Add unit tests.

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-04-01 16:08:44 -07:00
Marc Handalian d7d41085f8
Add Shadow jar publication to lang-painless module. (#2681)
* Add Shadow jar publication to lang-painless module.

This change creates a shadow jar for asm dependencies so
that they do not conflict with direct asm dependencies from log4j AL2 patch.

Signed-off-by: Marc Handalian <handalm@amazon.com>

* Remove security.manager systemProperty that is not required.

Signed-off-by: Marc Handalian <handalm@amazon.com>

* Add explicit task dependency for publishing to maven local required by gradle.

Signed-off-by: Marc Handalian <handalm@amazon.com>

* Move asm dependencies back to api scope.

Signed-off-by: Marc Handalian <handalm@amazon.com>
2022-04-01 16:40:42 -04:00
Nick Knize 86eb24d27f
[Remove] types from rest-api-spec endpoints (#2689)
Removes types from rest-api-spec endpoints

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-03-31 23:08:19 -05:00
Tianli Feng e1ee22218a
Centralize codes related to 'master_timeout' deprecation for eaiser removal - in CAT Nodes API (#2670)
* Move parseDeprecatedMasterTimeoutParameter method into BaseRestHandler class to reduce duplication

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Add more comments to unit test

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Make log message key different

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Prohibit using 'master_timeout' and 'cluster_manager_timeout' parameter together

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Add separate unit tests for BaseRestHandler.parseDeprecatedMasterTimeoutParameter()

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Restore unit test for cat allocation api

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Adjust format by spotlessApply task

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Fix testBothParamsNotValid() by adding warning assertion

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-03-31 20:25:42 -05:00
Andriy Redko ff7805e6ca
Update to Gradle 7.4.2 (#2688)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-03-31 14:41:12 -07:00
Suraj Singh e051a426d2
Add 1.3.2 to main causing gradle check failures (#2679)
Signed-off-by: Suraj Singh <surajrider@gmail.com>
2022-03-30 21:33:17 -07:00
dependabot[bot] b5b0cd1b3a
Bump jboss-annotations-api_1.2_spec in /qa/wildfly (#2615)
Bumps [jboss-annotations-api_1.2_spec](https://github.com/jboss/jboss-annotations-api_spec) from 1.0.0.Final to 1.0.2.Final.
- [Release notes](https://github.com/jboss/jboss-annotations-api_spec/releases)
- [Commits](https://github.com/jboss/jboss-annotations-api_spec/compare/jboss-annotations-api_1.1_spec-1.0.0.Final...jboss-annotations-api_1.2_spec-1.0.2.Final)

---
updated-dependencies:
- dependency-name: org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-30 13:52:54 -04:00
Kunal Kotwani 65cc56e754
Gradle check retry (#2638)
* Add retry plugin support for Test implementations

Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>

* Update test retry parameters

Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>

* Remove CI environment check for test retries

Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>

* Update retry count for tests

Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
2022-03-29 20:09:32 -07:00
Owais Kazi 8ea246e70e
Changed JAVA_HOME to jdk-17 (#2656)
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
2022-03-29 18:26:04 -07:00
Mohit Godwani ec4fe7066b
Make discovered_master field optional on the client to support compatibility for opensearch client with odfe (#2641)
Signed-off-by: Mohit Godwani <mgodwan@amazon.com>
2022-03-29 14:00:12 -04:00
dependabot[bot] fb5cebbb9b
Bump reactor-netty from 1.0.16 to 1.0.17 in /plugins/repository-azure (#2613)
* Bump reactor-netty from 1.0.16 to 1.0.17 in /plugins/repository-azure

Bumps [reactor-netty](https://github.com/reactor/reactor-netty) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/reactor/reactor-netty/releases)
- [Commits](https://github.com/reactor/reactor-netty/compare/v1.0.16...v1.0.17)

---
updated-dependencies:
- dependency-name: io.projectreactor.netty:reactor-netty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-03-29 10:46:13 -07:00
Suraj Singh bcaa06bc0f
Add mapping method back referenced in other repos (#2636)
Signed-off-by: Suraj Singh <surajrider@gmail.com>
2022-03-29 11:27:28 -05:00
Andriy Redko d8a1ba6912
[CVE-2020-36518] Update jackson-databind to 2.13.2.2 (#2599)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-03-29 12:24:37 -04:00