From ae30e20667c3e4d78e9785a648b56bc6cf108449 Mon Sep 17 00:00:00 2001 From: Alexandre Dutra Date: Thu, 2 Oct 2025 15:15:14 +0200 Subject: [PATCH 1/2] Deprecate LegacyManagementEndpoints for removal --- CHANGELOG.md | 3 +++ .../polaris/service/legacy/LegacyManagementEndpoints.java | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41c304c72e..0ba4afa613 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,9 @@ request adding CHANGELOG notes for breaking (!) changes and possibly other secti - Amazon RDS plugin enabled, this allows polaris to connect to AWS Aurora PostgreSQL using IAM authentication. - The EclipseLink Persistence implementation has been deprecated since 1.0.0 and will be completely removed in 1.3.0 or in 2.0.0 (whichever happens earlier). +- The legacy management endpoints at `/metrics` and `/healthcheck` have been deprecated in 1.2.0 and will be + completely removed in 1.3.0 or in 2.0.0 (whichever happens earlier). Please use the standard management + endpoints at `/q/metrics` and `/q/health` instead. ### Breaking Changes diff --git a/runtime/service/src/main/java/org/apache/polaris/service/legacy/LegacyManagementEndpoints.java b/runtime/service/src/main/java/org/apache/polaris/service/legacy/LegacyManagementEndpoints.java index 284eb3df16..cf3f9afba7 100644 --- a/runtime/service/src/main/java/org/apache/polaris/service/legacy/LegacyManagementEndpoints.java +++ b/runtime/service/src/main/java/org/apache/polaris/service/legacy/LegacyManagementEndpoints.java @@ -24,6 +24,7 @@ import org.eclipse.microprofile.config.inject.ConfigProperty; @ApplicationScoped +@Deprecated(forRemoval = true) public class LegacyManagementEndpoints { public void registerLegacyManagementRoutes( From 33fd1919b25efab0ef4cb72b2a9d3f37736a0af0 Mon Sep 17 00:00:00 2001 From: Alexandre Dutra Date: Thu, 2 Oct 2025 18:47:58 +0200 Subject: [PATCH 2/2] move to right section --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ba4afa613..a363e83d46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,11 +32,6 @@ request adding CHANGELOG notes for breaking (!) changes and possibly other secti ### Upgrade Notes - Amazon RDS plugin enabled, this allows polaris to connect to AWS Aurora PostgreSQL using IAM authentication. -- The EclipseLink Persistence implementation has been deprecated since 1.0.0 and will be completely removed - in 1.3.0 or in 2.0.0 (whichever happens earlier). -- The legacy management endpoints at `/metrics` and `/healthcheck` have been deprecated in 1.2.0 and will be - completely removed in 1.3.0 or in 2.0.0 (whichever happens earlier). Please use the standard management - endpoints at `/q/metrics` and `/q/health` instead. ### Breaking Changes @@ -56,6 +51,11 @@ request adding CHANGELOG notes for breaking (!) changes and possibly other secti ### Deprecations * The property `polaris.active-roles-provider.type` is deprecated and has no effect anymore. +- The EclipseLink Persistence implementation has been deprecated since 1.0.0 and will be completely removed + in 1.3.0 or in 2.0.0 (whichever happens earlier). +- The legacy management endpoints at `/metrics` and `/healthcheck` have been deprecated in 1.2.0 and will be + completely removed in 1.3.0 or in 2.0.0 (whichever happens earlier). Please use the standard management + endpoints at `/q/metrics` and `/q/health` instead. ### Fixes