From b03af69db29d1d999e37420807ef319aff597e32 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Tue, 21 Jan 2025 12:00:09 -0500 Subject: [PATCH 1/3] Mark StepListener as @opensearch.api Signed-off-by: Craig Perkins --- server/src/main/java/org/opensearch/action/StepListener.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/action/StepListener.java b/server/src/main/java/org/opensearch/action/StepListener.java index 5701d20db90b8..0b6293b3d01ee 100644 --- a/server/src/main/java/org/opensearch/action/StepListener.java +++ b/server/src/main/java/org/opensearch/action/StepListener.java @@ -33,6 +33,7 @@ package org.opensearch.action; import org.opensearch.common.CheckedConsumer; +import org.opensearch.common.annotation.PublicApi; import org.opensearch.common.util.concurrent.FutureUtils; import org.opensearch.common.util.concurrent.ListenableFuture; import org.opensearch.common.util.concurrent.OpenSearchExecutors; @@ -64,9 +65,10 @@ * } * } * - * @opensearch.internal + * @opensearch.api */ +@PublicApi(since = "2.19.0") public final class StepListener extends NotifyOnceListener { private final ListenableFuture delegate; From 95242a06f931f3d30413f3764c41864ae298ce6c Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Tue, 21 Jan 2025 12:02:20 -0500 Subject: [PATCH 2/3] Add to CHANGELOG Signed-off-by: Craig Perkins --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd64ad56a62b9..d290a0383bd46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Allow extended plugins to be optional ([#16909](https://github.com/opensearch-project/OpenSearch/pull/16909)) - Use the correct type to widen the sort fields when merging top docs ([#16881](https://github.com/opensearch-project/OpenSearch/pull/16881)) - Limit reader writer separation to remote store enabled clusters [#16760](https://github.com/opensearch-project/OpenSearch/pull/16760) +- Mark StepListener as @opensearch.api ([#17076](https://github.com/opensearch-project/OpenSearch/pull/17076)) ### Deprecated - Performing update operation with default pipeline or final pipeline is deprecated ([#16712](https://github.com/opensearch-project/OpenSearch/pull/16712)) From 2d85d003f34b1c886cbf6715fa588f5833db22c2 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Tue, 21 Jan 2025 13:45:46 -0500 Subject: [PATCH 3/3] Change to 1.0.0 Signed-off-by: Craig Perkins --- server/src/main/java/org/opensearch/action/StepListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/action/StepListener.java b/server/src/main/java/org/opensearch/action/StepListener.java index 0b6293b3d01ee..d4d7aecf5e505 100644 --- a/server/src/main/java/org/opensearch/action/StepListener.java +++ b/server/src/main/java/org/opensearch/action/StepListener.java @@ -68,7 +68,7 @@ * @opensearch.api */ -@PublicApi(since = "2.19.0") +@PublicApi(since = "1.0.0") public final class StepListener extends NotifyOnceListener { private final ListenableFuture delegate;