Nick Knize
5a9a11416d
[Remove] TrimUnsafeCommit logic for legacy 6.x indexes ( #2225 )
...
* [Remove] TrimUnsafeCommit logic for legacy 6.x indexes
Multiple txlog commits was introduced in legacy 7.x. Legacy 6.x indexes could
therefore not have a safe commit. Since OpenSearch 2.0 is no longer compatible
with legacy 6.x indexes, the logic to trim these unsafe commits is safely
removed.
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
* fix assertion typo
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
* rebase and incorporate pr feedback
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-03-09 10:50:05 -08:00
Daniel Doubrovkine (dB.)
044f53630a
Set target and source compatibility to 11, required by Lucene 9. ( #2407 )
...
* Set target and source compatibility to 11, required by Lucene 9.
Signed-off-by: dblock <dblock@dblock.org>
* Uncomment commented code in #2321 for killing child processes that uses JDK9+ ProcessInfo.
Signed-off-by: dblock <dblock@dblock.org>
* Set distribution checker target JDK compatibility to 11.
Signed-off-by: dblock <dblock@dblock.org>
* Supress processing warnings.
Signed-off-by: dblock <dblock@dblock.org>
2022-03-08 14:48:51 -05:00
dependabot[bot]
3e9031f283
Bump gradle-extra-configurations-plugin from 3.0.3 to 7.0.0 in /buildSrc ( #2386 )
...
Bumps [gradle-extra-configurations-plugin](https://github.com/nebula-plugins/gradle-extra-configurations-plugin ) from 3.0.3 to 7.0.0.
- [Release notes](https://github.com/nebula-plugins/gradle-extra-configurations-plugin/releases )
- [Changelog](https://github.com/nebula-plugins/gradle-extra-configurations-plugin/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nebula-plugins/gradle-extra-configurations-plugin/compare/v3.0.3...v7.0.0 )
---
updated-dependencies:
- dependency-name: com.netflix.nebula:gradle-extra-configurations-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-03-07 11:47:37 -05:00
Andriy Redko
ae52008463
Fixing the --release flag usage for javac ( #2343 ) ( #2352 )
...
* Fixing the --release flag usage for javac (#2343 )
* Fixing the --release flag usage for javac
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Fixing the --html5 flag usage for javadoc
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Fix java-version-checker source/target compatibility settings (#2354 )
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-03-04 17:44:52 -05:00
Daniel Doubrovkine (dB.)
ae14259a2c
Restore Java 8 compatibility for build tools. ( #2300 ) ( #2321 )
...
* Restore Java 8 compatibility for build tools.
Signed-off-by: dblock <dblock@dblock.org>
* Make source code compatible with Java 8.
Signed-off-by: dblock <dblock@dblock.org>
2022-03-03 14:34:53 -06:00
dependabot[bot]
cb57b9202b
Bump log4j-core in /buildSrc/src/testKit/thirdPartyAudit/sample_jars ( #2281 )
...
Bumps log4j-core from 2.17.1 to 2.17.2.
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
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-03 14:23:47 -05:00
dependabot[bot]
f6264a9044
Bump spock-core from 2.0-groovy-3.0 to 2.1-groovy-3.0 in /buildSrc ( #2270 )
...
Bumps spock-core from 2.0-groovy-3.0 to 2.1-groovy-3.0.
---
updated-dependencies:
- dependency-name: org.spockframework:spock-core
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 10:41:18 -08:00
Rishikesh Pasham
494c7bc436
Revert "Override Default Distribution Download Url with Custom Distribution Url When User Passes a Url" ( #2256 )
...
* Override default Distribution Download URL with custom Distribution URL
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
* Accidently made commit to main branch, this revives it.Override default Distribution Download URL with custom Distribution URL
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
* Revert Override Default Distribution Download Url with Custom Distribution Url When User Passes a Url
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
2022-02-24 19:39:43 -08:00
dependabot[bot]
788ba99915
Bump forbiddenapis from 2.7 to 3.2 in /buildSrc/src/testKit/thirdPartyAudit ( #2185 )
...
* Bump forbiddenapis in /buildSrc/src/testKit/thirdPartyAudit
Bumps [forbiddenapis](https://github.com/policeman-tools/forbidden-apis ) from 2.7 to 3.2.
- [Release notes](https://github.com/policeman-tools/forbidden-apis/releases )
- [Commits](https://github.com/policeman-tools/forbidden-apis/compare/2.7...3.2 )
---
updated-dependencies:
- dependency-name: de.thetaphi:forbiddenapis
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fixing failing check
Signed-off-by: Vacha Shah <vachshah@amazon.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vacha Shah <vachshah@amazon.com>
2022-02-24 11:27:44 -08:00
dependabot[bot]
3251a2a872
Bump commons-codec from 1.13 to 1.15 in /buildSrc ( #2188 )
...
Bumps [commons-codec](https://github.com/apache/commons-codec ) from 1.13 to 1.15.
- [Release notes](https://github.com/apache/commons-codec/releases )
- [Changelog](https://github.com/apache/commons-codec/blob/rel/commons-codec-1.15/RELEASE-NOTES.txt )
- [Commits](https://github.com/apache/commons-codec/compare/commons-codec-1.13...rel/commons-codec-1.15 )
---
updated-dependencies:
- dependency-name: commons-codec:commons-codec
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-02-21 12:39:02 -08:00
dependabot[bot]
5b3b98466a
Bump junit in /buildSrc/src/testKit/testingConventions ( #2116 )
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.13.1...r4.13.2 )
---
updated-dependencies:
- dependency-name: junit:junit
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-02-18 15:28:13 -08:00
dependabot[bot]
be5b351a9b
Bump log4j-core in /buildSrc/src/testKit/thirdPartyAudit/sample_jars ( #2131 )
...
Bumps log4j-core from 2.11.1 to 2.17.1.
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
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-02-18 15:26:37 -08:00
Rishikesh Pasham
4a6f54bdeb
Override Default Distribution Download Url with Custom Distribution Url When User Passes a Url ( #2086 )
...
* Override Default Distribution Download Url with Custom Distribution Url When User Passes a Url
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
* Adding test to check if correct IVY repos were added
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
* Adding another test case when custom url is not passed and documenting usage of this in Developer Guide
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
* Adding TOC and making changes in DEVELOPER_GUIDE
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
* Making changes in DEVELOPER_GUIDE about Distribution Download plugin
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
2022-02-18 14:17:07 -05:00
dependabot[bot]
4432ce2a57
Bump forbiddenapis from 3.0 to 3.2 in /buildSrc ( #2113 )
...
Bumps forbiddenapis from 3.0 to 3.2.
---
updated-dependencies:
- dependency-name: de.thetaphi:forbiddenapis
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-02-18 10:24:35 -08:00
dependabot[bot]
9689a27b63
Bump com.diffplug.spotless from 5.6.1 to 6.2.0 ( #1919 )
...
* Bump com.diffplug.spotless from 5.6.1 to 6.2.0
Bumps com.diffplug.spotless from 5.6.1 to 6.2.0.
---
updated-dependencies:
- dependency-name: com.diffplug.spotless
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* spotlessApply
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Walter Knize <nknize@apache.org>
2022-02-16 22:08:40 -08:00
Martin Gaievski
309397520c
Adding support for JDK17 and removing JDK8 ( #2025 )
...
* Adding support for JDK17 and removing JDK8
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Merge overlaping PR, bumping min java version to 11
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Removing references to JDK8 from dev guide
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
2022-02-02 20:59:10 -05:00
Leonidas Spyropoulos
6da253b8ff
build: introduce support for reproducible builds ( #1995 )
...
Reproducible builds is an initiative to create an independently-verifiable path from source to binary code [1]. This can be done by:
- Make all archive tasks in gradle reproducible by ignoring timestamp on files [2]
- Preserve the order in side the archives [2]
- Ensure GlobalBuildInfoPlugin.java use [SOURCE_DATE_EPOCH] when available
[SOURCE_DATE_EPOCH]: https://reproducible-builds.org/docs/source-date-epoch/
[1]: https://reproducible-builds.org/
[2]: https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives
Signed-off-by: Leonidas Spyropoulos <artafinde@gmail.com>
2022-02-02 09:13:54 -06:00
Sarat Vemulapalli
1f9517c4ca
Upgrading Shadow plugin to 7.1.2 ( #2033 )
...
Shadow plugin is used for publishing jars
and this upgrades Log4J dependency for build.
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
2022-02-02 08:51:23 -06:00
Andriy Redko
00416dc428
Update bundled JDK distribution to 17.0.2+8 ( #2007 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-01-28 09:52:56 -08:00
Rishikesh Pasham
1568407c36
Upgrading Jackson-Databind version ( #1982 )
...
* Upgrading Jackson-Databind version
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
* Adding jackson-databind version using getProperty method
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
2022-01-26 20:44:22 -08:00
Andriy Redko
1018b9c8dc
Update Mockito to 4.3.1 ( #1973 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-01-26 14:53:41 -06:00
ankitkala
56ae7fab63
Add hook to execute logic before Integ test task starts ( #1969 )
...
Signed-off-by: Ankit Kala <ankikala@amazon.com>
2022-01-25 14:47:45 +05:30
Andriy Redko
32f2189686
Update Netty to 4.1.73.Final ( #1936 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-01-18 16:30:18 -08:00
Rabi Panda
8fbd8cd998
Fix verifyVersions gradle task and cleanup bwcVersions ( #1878 )
...
Signed-off-by: Rabi Panda <adnapibar@gmail.com>
2022-01-11 09:19:51 -05:00
Andriy Redko
c192ecdfec
Attempt to fix :test:fixtures:s3-fixture:composeUp fails due to HTTP connection issue ( #1866 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-01-10 17:34:52 -06:00
Ashish Agrawal
0b2eba568d
Update junit to 4.13.1 ( #1837 )
...
* Update junit to 4.13.1
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
* update junit to 4.13.2
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
* update SHA1 file
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
2022-01-04 08:27:19 -05:00
Andriy Redko
385b268bc0
Update Mockito to 4.2.x ( #1830 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-01-03 12:00:45 -05:00
Sarat Vemulapalli
db91d2efe9
Upgrading bouncycastle to 1.70 ( #1832 )
2022-01-03 07:35:38 -05:00
Sarat Vemulapalli
7a97018a92
Updatting Netty to 4.1.72.Final ( #1831 )
2022-01-03 07:30:52 -05:00
Andriy Redko
65804d25a6
Update to log4j 2.17.1 ( #1820 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2021-12-28 17:06:42 -05:00
Andriy Redko
65813b8320
RestIntegTestTask fails because of missed log4j-core dependency ( #1815 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2021-12-28 14:51:25 -05:00
Andrew Ross
ca40ba9c64
Ignore file order in test assertion ( #1755 )
...
This unit test asserts that a SHA file for a groovy dependency gets
created. However, a SHA file for javaparser-core also gets created in
the same directory. For some reason, builds were failing on my machine
because `Files::list` was returning the javaparser-core file first. I
don't believe there are any ordering guarantees with that API, so I
relaxed the assertion to not depend on ordering.
Signed-off-by: Andrew Ross <andrross@amazon.com>
2021-12-20 13:58:05 -05:00
Andriy Redko
ca27c8fd4f
Update to log4j 2.17.0 ( #1771 )
2021-12-18 09:36:59 -08:00
Andriy Redko
6db435412b
Upgrade to log4j 2.16.0 ( #1721 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2021-12-14 07:34:45 -05:00
Andrew Ross
309649ce8a
Upgrade to logj4 2.15.0 ( #1698 )
...
Signed-off-by: Andrew Ross <andrross@amazon.com>
2021-12-10 13:03:41 -08:00
Sarat Vemulapalli
e0e6995c4a
Updating Log4j to 2.11.2 ( #1696 )
...
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
2021-12-10 08:03:45 -08:00
Nick Knize
b74d71fb74
Remove 6.0.* version constants ( #1658 )
...
This PR removes LegacyESVersion.V_6_0_* constants including all pre-release
versions and bug fixes.
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2021-12-08 13:37:21 -06:00
Andriy Redko
30c31f9400
Support Gradle 7. More reliable tasks dependencies for Maven plugins publishing ( #1630 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2021-11-30 18:41:17 -05:00
Andriy Redko
231c29f418
Support Gradle 7. Fixing publishing to Maven Local for plugins ( #1624 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2021-11-29 23:17:20 -05:00
Andriy Redko
8bf6fa6b4f
Support Gradle 7 ( #1609 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2021-11-29 14:34:06 -05:00
Vacha
bcfb57c06a
Upgrade dependency ( #1571 )
...
* Upgrading guava, commons-io and apache-ant dependencies
Signed-off-by: Vacha <vachshah@amazon.com>
* Adding failureaccess since guava needs it
Signed-off-by: Vacha <vachshah@amazon.com>
2021-11-18 13:38:49 -05:00
Nick Knize
ac37cc99b2
Add staged version 1.1.1 ( #1506 )
...
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2021-11-04 14:19:21 -05:00
Vacha
af6ae752b4
Upgrading dependencies ( #1491 )
...
Signed-off-by: Vacha <vachshah@amazon.com>
2021-11-02 13:47:54 -07:00
Owais Kazi
a439371bc9
Cleanup for Checkstyle ( #1370 )
...
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
2021-11-02 10:59:33 -07:00
Himanshu Setia
681e5548c1
Enabling spotless, disabling checkstyle check on plugins ( #1488 )
...
* Enabling spotless, disabling checkstyle on below modules
:plugins:mapper-annotated-text
:plugins:mapper-murmur3
:plugins:mapper-size
:plugins:repository-azure
:plugins:repository-gcs
:plugins:repository-hdfs
:plugins:repository-s3
:plugins:store-smb
:plugins:transport-nio
:qa:die-with-dignity
Signed-off-by: Himanshu Setia <setiah@amazon.com>
* Enabling spotless for more plugins
Signed-off-by: Himanshu Setia <setiah@amazon.com>
* Fixing error in merge conflict
Signed-off-by: Himanshu Setia <setiah@amazon.com>
2021-11-01 17:40:06 -07:00
kartg
2c1e89a1f9
Fixing support for a multi-node cluster via "gradle run" ( #1455 )
...
This change updates the logic in RunTask to use deterministic port values for all nodes rather than just the first node in a cluster. The local address of the first node is also used as the seed_hosts value to allow the cluster to form correctly. The seed_hosts setting is also allow-listed as an overrideable value.
Signed-off-by: Kartik Ganesh <85275476+kartg@users.noreply.github.com>
2021-11-01 09:18:21 -07:00
Andriy Redko
9c514d3734
Update bundled JDK distribution to 17.0.1+12 ( #1476 )
...
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2021-11-01 10:34:04 -05:00
Sarat Vemulapalli
f6115ae160
Adding spotless support for subprojects under :test ( #1464 )
...
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
2021-10-29 13:20:39 -07:00
Owais Kazi
f4bdb94463
Run spotless and exclude checkstyle on rest-api-spec module ( #1462 )
...
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
2021-10-29 12:11:24 -07:00
Nick Knize
53334b2ce4
Upgrade to Lucene 8.10.1 ( #1440 )
...
This commit upgrades to the latest release of lucene 8.10
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2021-10-28 10:06:53 -05:00