Skip to content

Commit 94b4961

Browse files
authored
Deprecate legacy management endpoints for removal (#2749)
* Deprecate LegacyManagementEndpoints for removal
1 parent b1142b5 commit 94b4961

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ request adding CHANGELOG notes for breaking (!) changes and possibly other secti
3232
### Upgrade Notes
3333

3434
- Amazon RDS plugin enabled, this allows polaris to connect to AWS Aurora PostgreSQL using IAM authentication.
35-
- The EclipseLink Persistence implementation has been deprecated since 1.0.0 and will be completely removed
36-
in 1.3.0 or in 2.0.0 (whichever happens earlier).
3735

3836
### Breaking Changes
3937

@@ -53,6 +51,11 @@ request adding CHANGELOG notes for breaking (!) changes and possibly other secti
5351
### Deprecations
5452

5553
* The property `polaris.active-roles-provider.type` is deprecated and has no effect anymore.
54+
- The EclipseLink Persistence implementation has been deprecated since 1.0.0 and will be completely removed
55+
in 1.3.0 or in 2.0.0 (whichever happens earlier).
56+
- The legacy management endpoints at `/metrics` and `/healthcheck` have been deprecated in 1.2.0 and will be
57+
completely removed in 1.3.0 or in 2.0.0 (whichever happens earlier). Please use the standard management
58+
endpoints at `/q/metrics` and `/q/health` instead.
5659

5760
### Fixes
5861

runtime/service/src/main/java/org/apache/polaris/service/legacy/LegacyManagementEndpoints.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import org.eclipse.microprofile.config.inject.ConfigProperty;
2525

2626
@ApplicationScoped
27+
@Deprecated(forRemoval = true)
2728
public class LegacyManagementEndpoints {
2829

2930
public void registerLegacyManagementRoutes(

0 commit comments

Comments
 (0)