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
(cherry picked from commit ba61f8c7f7)
# Conflicts:
# build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/distribution/DockerUbiElasticsearchDistributionType.java
# build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/Fixture.java
# plugins/repository-hdfs/hadoop-client-api/build.gradle
# qa/entitlements/build.gradle
# server/src/main/java/org/elasticsearch/indices/IndicesFeatures.java
# x-pack/plugin/migrate/build.gradle
# x-pack/plugin/security/qa/security-basic/build.gradle
* Align dot prefix validation with Serverless (#116266)
This aligns the deprecation warnings for on-prem dot-prefixed indices to
be the same as the Serverless validation. It adds exemptions for the
`.entities…` indices, and makes the list a dynamic setting.
(cherry picked from commit 72aa17a0c3)
* Fix compilation
---------
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Reconcile differences between Stateful and Stateless dot-prefix validation (#114946)
This commit makes the dot prefix deprecation match the existing changes to validation for the SLO
and SLA UIs.
Relates to #112571
(cherry picked from commit 5bf446ea2e)
* Update not to use getFirst
---------
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This adds the missing optional warning from the global legacy template
Relates to #113529 (doesn't close it yet until this has been unmuted,
which won't happen until this change is backported to 8.16)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Deprecate dot-prefixed indices and composable template index patterns (#112571)
This commit adds a module emitting a deprecation warning when a
dot-prefixed index is manually or automatically created, or when a
composable index template with an index pattern that uses a dot-prefix
is created. This pattern warns that in the future these indices will not
be allowed. In a future breaking change (10.0.0 maybe?) the deprecation
can then be changed to an exception.
These deprecations are only displayed when a non-operator user is using
the API (one that does not set the `X-elastic-product-origin` header).
* Attempt to fix build for V7 gradle stuff
---------
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>