Commit graph

726 commits

Author SHA1 Message Date
Oleksandr Kolomiiets
246708159d Add MetricsRestAction 2025-04-03 14:00:08 -07:00
Joe Gallo
552066e910
Revert "Bump spotless (#126125)" (#126173)
Reverting https://github.com/elastic/elasticsearch/pull/126125 due to
https://github.com/elastic/elasticsearch/pull/126125#issuecomment-2773672346.
2025-04-03 09:00:33 +11:00
Joe Gallo
1306c6ba01
Bump spotless (#126125) 2025-04-02 13:06:42 -04:00
Nick Tindall
58c8f4abae
Upgrade to latest GCS SDK (#126087)
Upgrades google cloud SDK used by repository-gcs to com.google.cloud:google-cloud-storage-bom:2.50.0

Closes: ES-9287
2025-04-02 15:41:50 +11:00
Joe Gallo
5c9cdeeb87
Bump junit and hamcrest (#126055) 2025-04-01 14:05:58 -04:00
Nick Tindall
a25677371a
Revert "Upgrade to latest GCS SDK (#124062)" (#125748)
This reverts commit 073ca0e888.
2025-03-28 17:49:30 +11:00
Nick Tindall
073ca0e888
Upgrade to latest GCS SDK (#124062)
Upgrades google cloud SDK used by repository-gcp to com.google.cloud:google-cloud-storage-bom:2.50.0

Closes: ES-9287
2025-03-26 11:08:14 +11:00
Rene Groeschke
6f7a206a8a
Update Gradle Enterprise Plugin (Develocity) to 3.19.2 (#125137)
with develocity updated to 2024.3.4 we are unblocked on updating the gradle enterprise plugin
2025-03-19 19:19:54 +01:00
Ryan Ernst
a7c71669a4
Update bundled JDK to Java 24 (#125159)
Bumping bundled JDK to Java 24 since it is now GA.
2025-03-19 01:46:37 +02:00
Rene Groeschke
12c2dd5903
[Gradle] Autoprovision jvm for gradle daemon (#124071)
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
2025-03-18 19:50:05 +01:00
David Turner
a2d98e44a1
Upgrade discovery-ec2 to AWS SDK v2 (#122062) 2025-03-18 19:38:16 +11:00
David Turner
d5d81a57db
Upgrade AWS v2 SDK to 2.30.38 (#124738)
Adopts fix for https://github.com/aws/aws-sdk-java-v2/issues/5754,
removing the need for read permissions of sensitive files in
`${HOME}/.aws`.
2025-03-14 07:38:39 +11:00
Johannes Fredén
e11d89d76b
Bump nimbus-jose-jwt to 10.0.2 (#124544)
This bumps nimbus-jose-jwt from 10.0.1 -> 10.0.2
2025-03-12 00:23:33 +11:00
Joe Gallo
f8ef78446a
Upgrade httpclient to 5.3.3 for build-tools-internal (#124018) 2025-03-07 11:43:15 -05:00
Rene Groeschke
496c38e5a5
Reapply "Update Gradle wrapper to 8.13 (#122421)" (#123889) (#123896)
This reverts commit 36660f2e5f.
2025-03-05 08:02:13 +01:00
Joe Gallo
e602d569bf
Bump up httpcore version (#123932) 2025-03-03 20:42:33 -05:00
Rene Groeschke
36660f2e5f
Revert "Update Gradle wrapper to 8.13 (#122421)" (#123889)
This reverts commit e19b2264af.
2025-03-03 15:51:07 +01:00
Rene Groeschke
e19b2264af
Update Gradle wrapper to 8.13 (#122421)
* Fix Gradle Deprecation warning as declaring an is- property with a Boolean type has been deprecated.
* Make use of new layout.settingsFolder api to address some cross project references
* Fix buildParams snapshot check for multiprojet projects
2025-03-03 14:10:00 +01:00
Alexey Ivanov
ab835a96b1
Update elastic-apm-agent to support Java 24 (#123052)
Updates elastic-apm-agent to 1.52.2 to support Java 24.
2025-02-28 00:14:33 +00:00
Nikolaj Volgushev
ae46613049
Upgrade Netty to 4.1.118.Final (#122371)
This PR upgrades Netty to `4.1.118.Final`.
2025-02-26 11:44:25 +01:00
Johannes Fredén
e16664573e
Bump json-smart and oauth2-oidc-sdk (#122737)
* Bump json-smart and oauth2-oidc-sdk

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
2025-02-18 13:55:17 +01:00
Alex Kattathra Johnson
5462601fd6
Upgrade AWS SDK to v1.12.746 (#122431) 2025-02-18 02:44:38 +11:00
Joe Gallo
5e3fed02f1
Upgrade geoip2 dependency (#122184) 2025-02-10 11:23:35 -05:00
Mark Vieira
eb6a49b7af
Upgrade mockito (#121849) 2025-02-06 09:36:04 -08:00
Chris Hegarty
4baffe4de1
Upgrade to Lucene 10.1.0 (#119308)
This commit upgrades to Lucene 10.1.0.
2025-01-30 13:41:02 +00:00
Rene Groeschke
2b16515166
Update Gradle wrapper to 8.12.1 (#120960) 2025-01-28 15:41:44 +01:00
Rene Groeschke
ba61f8c7f7
Update Gradle wrapper to 8.12 (#118683)
This updates the gradle wrapper to 8.12

We addressed deprecation warnings due to the update that includes:

- Fix change in TestOutputEvent api
- Fix deprecation in groovy syntax
- Use latest ospackage plugin containing our fix
- Remove project usages at execution time
- Fix deprecated project references in repository-old-versions
2024-12-30 15:34:24 +01:00
Luca Cavanna
9472489441
Upgrade randomized runner to 2.8.2 (#118242)
A recent bug we found has been fixed, so the upgrade pulls in the fix and this
commit also removes the workaround we put in place.
2024-12-09 22:36:16 +01:00
Lorenzo Dematté
7bd5c69c8c
Update ASM 9.7 -> 9.7.1 to support JDK 24 (#118094) 2024-12-06 08:16:46 +01:00
Rene Groeschke
d2b3dc51d1
[Build] Reapply updating to Gradle 8.11.1 (#117394)
This reverts commit b5c6d927c1.
* Simplify and fix dynamic project dependency handling
2024-11-24 15:13:15 +01:00
Jake Landis
f13c1ee867
bump hadoop hdfs to 3.4.1 (#117263)
This commit bump hadoop hdfs to 3.4.1 (for repository-hdfs) .
2024-11-22 15:57:36 -06:00
Rene Groeschke
b5c6d927c1 Revert "[Build] Update Gradle wrapper to 8.11.1 (#115886)"
This reverts commit 8f943a6a7c.

breaks serverless build. needs further investigation
2024-11-22 21:30:54 +01:00
Rene Groeschke
8f943a6a7c
[Build] Update Gradle wrapper to 8.11.1 (#115886)
replace deprecated gradle api

fix permission api usage in debian and rpm package creation
remove deprecated usage of #ProjectDependency..getDependencyProject()
improves gradle configuration cache reading in our weekly benchmark by almost 30%
2024-11-22 21:11:28 +01:00
Slobodan Adamović
6ea3e01958
Upgrade Bouncy Castle FIPS dependencies (#112989)
This PR updates `bc-fips` and `bctls-fips` dependencies to the latest
minor versions.
2024-11-22 21:39:25 +11:00
Ryan Ernst
bcd690f853
Update forbidden apis to 3.8 (#117047) 2024-11-19 20:19:36 +01:00
Ryan Ernst
9bece7e290
Upgrade the build's ASM to 9.7.1 (#116963)
Primarily this allows forbidden apis to read java 23 class files.
2024-11-18 10:34:51 -08:00
Rene Groeschke
def490ef85
[Gradle] Update shadow plugin (#116826)
- The shadow plugin has changed ownership and plugin id.
- Make some formatting of poms more reproducible
2024-11-15 19:07:46 +01:00
Rene Groeschke
13c8aaeffa
[Gradle] Remove static use of BuildParams (#115122)
Static fields dont do well in Gradle with configuration cache enabled.

- Use buildParams extension in build scripts
- Keep BuildParams.ci for now for easy serverless migration
-  Tweak testing doc
2024-11-15 17:58:57 +01:00
Jake Landis
b42dbab0a4
Bump Netty to 4.1.115.Final (#116696)
This commit bumps Netty from 4.1.109.Final to 4.1.115.Final
2024-11-13 09:48:30 -06:00
Ryan Ernst
efcdd60776
Update bundled jdk to 23 (#114823)
After completing additional validation with the JIT workaround in
https://github.com/elastic/elasticsearch/pull/113817, this commit
upgrades the bundled JDK to 23.
2024-10-30 14:43:43 -07:00
Slobodan Adamović
6b32bced36
Remove optional transitive tink and protobuf-java dependencies (#115916)
This commit removes `com.google.crypto.tink` which is transitive and optional dependency of `oauth2-oidc-sdk` and `nimbus-jose-jwt`. We don't seem to be using any functionality that requires `tink` and thus `protobuf-java`. Removing them feels safer than having to maintain misaligned versions.
2024-10-30 16:28:34 +01:00
Nick Tindall
7599d4cf43
Use Azure blob batch API to delete blobs in batches (#114566)
Closes ES-9777
2024-10-24 19:51:52 +11:00
Lorenzo Dematté
4f08b7e578
Update APM Java Agent to support JDK 23 (#115194) 2024-10-21 16:04:54 +02:00
Luca Cavanna
8efd08b019
Upgrade to Lucene 10 (#114741)
The most relevant ES changes that upgrading to Lucene 10 requires are:

- use the appropriate IOContext
- Scorer / ScorerSupplier breaking changes
- Regex automaton are no longer determinized by default
- minimize moved to test classes
- introduce Elasticsearch900Codec
- adjust slicing code according to the added support for intra-segment concurrency
- disable intra-segment concurrency in tests
- adjust accessor methods for many Lucene classes that became a record
- adapt to breaking changes in the analysis area

Co-authored-by: Christoph Büscher <christophbuescher@posteo.de>
Co-authored-by: Mayya Sharipova <mayya.sharipova@elastic.co>
Co-authored-by: ChrisHegarty <chegar999@gmail.com>
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: Armin Braun <me@obrown.io>
Co-authored-by: Panagiotis Bailis <pmpailis@gmail.com>
Co-authored-by: Benjamin Trent <4357155+benwtrent@users.noreply.github.com>
2024-10-21 13:38:23 +02:00
Mark Vieira
cc0da6d309
Upgrade develocity plugin (#115139) 2024-10-18 14:10:11 -07:00
Patrick Doyle
049c482570
Initial InstrumenterTests (#114422)
* Initial InstrumenterTests

* Assert on instrumentation method arguments
2024-10-11 16:01:48 -04:00
Pat Whelan
9bdc5907f1
[ML] Upgrade to AWS SDK v2 (#114309)
- Replaced AWS 1.12.740 with 2.28.13
- Removed `aws-java-sdk*` and its transitive dependencies.
- Added `awssdk:bedrockruntime` as an `implementations`, all transitive
  dependencies are added as `api` matching their marked `Compile` in
  maven.
- Added `awssdk:netty-nio-client` as our client implementation, since
  our v1 integration is using the respective Async client.
- Added netty packages as `runtimeOnly` since they are only used during
  runtime.
- Replaced AWS's use of SLF4J-1.7 with our declaration of SLF4J-2.x,
  since SLF4J includes backwards-compatible bindings.
- Migrated all references from the v1 package (`com.amazonaws`) to the
  v2 package (`software.amazon.awssdk`).

Notable changes in the SDK:
- *Result objects are renamed to *Response objects.
- Objects are now immutable and require Builders to set fields.
- Getters no longer have the `get*` prefix, e.g. `getModelId()` is now
  `modelId()`.
- `Future` has been replaced with `CompletableFuture`.
- There is no longer a need to invoke the `IdleConnectionReaper`, this
  is now done when the client is closed.
- Builders have a consumer mutation pattern for modifying many fields at
  once.

Security changes:
- The underlying Builder objects always check to see if the
  `.aws/credentials` and `.aws/config` files exist, even if they are not
  used, so our `plugin-security.policy` now allows reading these files.
- The Builder always checks for the `http.proxyHost` property before
  defaulting to the hardcoded Bedrock URL.

Resolve #110590
2024-10-11 04:41:53 +02:00
Slobodan Adamović
ddf019a1a5
Upgrade protobufer to 3.25.5 (#113869)
Updating `com.google.protobuf:protobuf-java-util` and 
`com.google.protobuf:protobuf-java` dependencies to 
the latest 3.x version.
2024-10-04 12:47:39 +02:00
Chris Hegarty
32dde26e49
Upgrade to Lucene 9.12.0 (#113333)
This commit upgrades to Lucene 9.12.0.

Co-authored-by: Adrien Grand <jpountz@gmail.com>
Co-authored-by: Armin Braun <me@obrown.io>
Co-authored-by: Benjamin Trent <ben.w.trent@gmail.com>
Co-authored-by: Chris Hegarty <chegar999@gmail.com>
Co-authored-by: John Wagster <john.wagster@elastic.co>
Co-authored-by: Luca Cavanna <javanna@apache.org>
Co-authored-by: Mayya Sharipova <mayya.sharipova@elastic.co>
2024-10-01 08:39:27 +01:00
Rene Groeschke
259b0cdd30
Update Gradle wrapper to 8.10.2 (#113603)
Update Gradle wrapper to 8.10.2
2024-09-28 04:52:13 +10:00