Commit graph

5 commits

Author SHA1 Message Date
Rene Groeschke
49c0f5cf71
Update Gradle wrapper to 8.12 (#118683) (#119356)
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
2024-12-31 08:37:12 +01:00
Lee Hinman
47f6d77604
[8.x] Align dot prefix validation with Serverless (#116266) (#116288)
* 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>
2024-11-07 03:27:11 +11:00
Lee Hinman
e9072e9bc4
[8.x] Reconcile differences between Stateful and Stateless dot-prefix validation (#114946) (#115057)
* 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>
2024-10-21 13:25:05 -06:00
Lee Hinman
fc8d6138ba
Add allowed warnings to the dot-prefix yaml tests (#113560) (#113627)
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>
2024-09-27 06:03:40 +10:00
Lee Hinman
9f0ae87c53
[8.x] Deprecate dot-prefixed indices and composable template index patterns (#112571) (#113146)
* 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>
2024-09-19 07:31:55 +10:00