Skip to content

RHCLOUD-45942 Update subscriptions endpoint to match willBeNotified logic#4261

Draft
gwenneg wants to merge 1 commit intoRedHatInsights:masterfrom
gwenneg:RHCLOUD-45942
Draft

RHCLOUD-45942 Update subscriptions endpoint to match willBeNotified logic#4261
gwenneg wants to merge 1 commit intoRedHatInsights:masterfrom
gwenneg:RHCLOUD-45942

Conversation

@gwenneg
Copy link
Copy Markdown
Member

@gwenneg gwenneg commented Mar 26, 2026

The GET /notifications/subscriptions/{bundleName}/{applicationName} endpoint previously only returned orgs with active email subscriptions.

It now also returns orgs with enabled machine-to-machine integrations (webhook, camel, ansible, pagerduty) linked to the event type, and checks severity-based subscriptions for recipient integrations (drawer, email).

The GET /notifications/subscriptions/{bundleName}/{applicationName} endpoint
previously only returned orgs with active email subscriptions. It now also
returns orgs with enabled machine-to-machine integrations (webhook, camel,
ansible, pagerduty) linked to the event type, and checks severity-based
subscriptions for recipient integrations (drawer, email).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gwenneg gwenneg marked this pull request as draft March 26, 2026 22:59
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 26, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0477cfc2-6c3c-40e5-b804-ae6d028cec9b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

SC Environment Impact Assessment

Overall Impact:NONE

No SC Environment-specific impacts detected in this PR.

What was checked

This PR was automatically scanned for:

  • Database migrations
  • ClowdApp configuration changes
  • Kessel integration changes
  • AWS service integrations (S3, RDS, ElastiCache)
  • Kafka topic changes
  • Secrets management changes
  • External dependencies

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.

1 participant