Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extended monitor API by adding and removing peers #651

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

engelmi
Copy link
Member

@engelmi engelmi commented Nov 27, 2023

Relates to: #187

Monitor signals are only sent to the creator of the monitor. The new Peer API enables to add and remove additional listener on the same monitor with its subscriptions.
A user with sufficient priviledges to make methods calls to BlueChi's API can add and remove peers. The processes for the peers can be run by a different user with no access to BlueChi's API, but will still be able to receive events if added by a privileged process.

Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

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

LGTM

src/manager/monitor.c Outdated Show resolved Hide resolved
Copy link
Member

@mkemel mkemel left a comment

Choose a reason for hiding this comment

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

LGTM!

Relates to: eclipse-bluechi#187

Monitor signals are only sent to the creator of the monitor. The
new Peer API enables to add and remove additional listener on the
same monitor with its subscriptions.
A user with sufficient priviledges to make methods calls to BlueChi's
API can add and remove peers. The processes for the peers can be run
by a different user with no access to BlueChi's API, but will still
be able to receive events if added by a privileged process.

Signed-off-by: Michael Engel <mengel@redhat.com>
@engelmi engelmi merged commit 6f22a0e into eclipse-bluechi:main Dec 7, 2023
18 checks passed
@engelmi engelmi deleted the add-peer-to-monitor branch February 28, 2024 08:01
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.

4 participants