From f202aba32f5bbca729eb3d25314e181f9fb8b61f Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Tue, 15 Sep 2026 21:12:14 +0000 Subject: [PATCH] Rename resource sharing feature flag to the non-experimental key Resource sharing graduates out of experimental in opensearch-project/security#6348, which drops the experimental. segment from the feature-flag settings with no deprecated fallback: plugins.security.experimental.resource_sharing.enabled -> plugins.security.resource_sharing.enabled plugins.security.experimental.resource_sharing.protected_types -> plugins.security.resource_sharing.protected_types Updates the integTest cluster settings to the new keys. Only the setting strings change. The ConfigConstants constant names (OPENSEARCH_RESOURCE_SHARING_ENABLED, OPENSEARCH_RESOURCE_SHARING_PROTECTED_TYPES) are unchanged, so no Java/Kotlin references are affected. The gradle -Dresource_sharing.enabled system property that gates the CI matrix is a separate toggle and is left as is. Verified no occurrence of the old key remains anywhere in the repo. Signed-off-by: Darshit Chanpura --- CHANGELOG.md | 1 + build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81386424e..851885e8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,4 +13,5 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) ### Infrastructure ### Documentation ### Maintenance +- Rename the resource sharing feature flag to the non-experimental key ([#1482](https://github.com/opensearch-project/flow-framework/pull/1482)) ### Refactoring diff --git a/build.gradle b/build.gradle index 75fe63f3c..6f3aa5fb0 100644 --- a/build.gradle +++ b/build.gradle @@ -553,8 +553,8 @@ testClusters.integTest { ']' ) if (System.getProperty("resource_sharing.enabled") == "true") { - setting("plugins.security.experimental.resource_sharing.enabled", "true") - setting("plugins.security.experimental.resource_sharing.protected_types", "[\"workflow\", \"workflow_state\"]") + setting("plugins.security.resource_sharing.enabled", "true") + setting("plugins.security.resource_sharing.protected_types", "[\"workflow\", \"workflow_state\"]") } setSecure(true) }