Skip to content

Refs #38813 - Remove owner_content_access_mode.modified event from broker filter#274

Merged
ehelms merged 1 commit intotheforeman:masterfrom
jeremylenz:remove-owner-content-access-mode-event
Oct 10, 2025
Merged

Refs #38813 - Remove owner_content_access_mode.modified event from broker filter#274
ehelms merged 1 commit intotheforeman:masterfrom
jeremylenz:remove-owner-content-access-mode-event

Conversation

@jeremylenz
Copy link
Contributor

Summary

  • Remove the owner_content_access_mode.modified event from the broker filter as it is no longer needed

Details

Users cannot toggle between SCA and entitlement modes anymore, making this event irrelevant. This completes the work started in the previously merged PR that removed other SCA-irrelevant events.

Test plan

  • Verify broker.xml is generated correctly
  • Confirm only pool.created and pool.deleted events are forwarded to Katello

🤖 Generated with Claude Code

…oker filter

Remove the owner_content_access_mode.modified event as it is no longer
needed. Users cannot toggle between SCA and entitlement modes anymore,
making this event irrelevant.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@jeremylenz jeremylenz force-pushed the remove-owner-content-access-mode-event branch from 8218a38 to 174456d Compare October 10, 2025 18:27
@jeremylenz jeremylenz changed the title Fixes #38814 - Remove owner_content_access_mode.modified event from broker filter Refs #38813 - Remove owner_content_access_mode.modified event from broker filter Oct 10, 2025
@ehelms
Copy link
Member

ehelms commented Oct 10, 2025

So close to having no events!

@ehelms ehelms merged commit 8bd9ab8 into theforeman:master Oct 10, 2025
11 checks passed
(EVENT_TARGET='POOL' and EVENT_TYPE='CREATED') OR
(EVENT_TARGET='POOL' and EVENT_TYPE='DELETED') OR
(EVENT_TARGET='OWNER_CONTENT_ACCESS_MODE' and EVENT_TYPE='MODIFIED')
(EVENT_TARGET='POOL' and EVENT_TYPE='DELETED')
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this effectively now:

EVENT_TARGET='POOL' and (EVENT_TYPE='CREATED' or EVENT_TYPE='DELETED')

In other words, we only care about pool creations and deletions. So can we also get rid of those? ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can get rid of those as soon as manifests don't need to contain subscriptions anymore. (For now, they still do.)

Copy link
Member

Choose a reason for hiding this comment

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

Looking forward to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants