Skip to content

Make PutDataObjectRequest call when alert transitions into COMPLETED state and multi tenancy is enabled#2136

Open
vikhy-aws wants to merge 1 commit into
opensearch-project:mainfrom
vikhy-aws:main
Open

Make PutDataObjectRequest call when alert transitions into COMPLETED state and multi tenancy is enabled#2136
vikhy-aws wants to merge 1 commit into
opensearch-project:mainfrom
vikhy-aws:main

Conversation

@vikhy-aws
Copy link
Copy Markdown
Collaborator

@vikhy-aws vikhy-aws commented May 11, 2026

Description

When multi-tenancy is enabled and an alert transitions into COMPLETED state, change the API call to update the state of the alert instead of making a delete alert API call. Retain the existing behavior when multi-tenancy is disabled.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

@vikhy-aws vikhy-aws changed the title Make PutDataObjectRequest call when alert transitions into COMPLETED state when multi tenancy is enabled Make PutDataObjectRequest call when alert transitions into COMPLETED state and multi tenancy is enabled May 11, 2026
@vikhy-aws vikhy-aws marked this pull request as ready for review May 12, 2026 00:17
Copy link
Copy Markdown
Collaborator

@engechas engechas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving on the condition unit test(s) are added

Comment thread alerting/src/main/kotlin/org/opensearch/alerting/AlertService.kt
Comment thread alerting/src/main/kotlin/org/opensearch/alerting/AlertService.kt
…state when multi tenancy is enabled

Signed-off-by: Sai Vikhyath Kudhroli <vikhy@amazon.com>
@vikhy-aws vikhy-aws marked this pull request as draft May 12, 2026 20:07
@vikhy-aws vikhy-aws marked this pull request as ready for review May 12, 2026 20:08
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.

3 participants