Skip to content

Add any_of grouped rollover conditions to ISM ActionRollover schema - #1158

Open
praladhe wants to merge 2 commits into
opensearch-project:mainfrom
praladhe:ism-rollover-any_of
Open

Add any_of grouped rollover conditions to ISM ActionRollover schema#1158
praladhe wants to merge 2 commits into
opensearch-project:mainfrom
praladhe:ism-rollover-any_of

Conversation

@praladhe

@praladhe praladhe commented Jul 7, 2026

Copy link
Copy Markdown

Description

Models the ISM rollover action's grouped any_of conditions in the ActionRollover schema, companion to the plugin change in opensearch-project/index-management#1667.

Changes to spec/schemas/ism._common.yaml:

  • Add any_of to ActionRollover — a list of condition groups (x-version-added: '3.7'). All conditions within a group must be met (AND) and any satisfied group triggers rollover (OR).
  • Add a new RolloverConditionGroup schema (min 1 property) holding the four rollover conditions.
  • Add the previously-unmodeled prevent_empty_rollover boolean to ActionRollover (x-version-added: '3.4').

Issues Resolved

Resolves #1540

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@praladhe
praladhe marked this pull request as draft July 7, 2026 14:49
@praladhe praladhe changed the title Ism rollover any of Add any_of grouped rollover conditions to ISM ActionRollover schema Jul 7, 2026
@praladhe
praladhe marked this pull request as ready for review July 7, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Support AND operations on Rollover conditions

1 participant