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

Implement Dynamic Jolokia Notification Listener #830

Merged

Conversation

VictorCavichioli
Copy link
Contributor

@VictorCavichioli VictorCavichioli commented Jan 6, 2025

In Jolokia 2, it is possible to create notification listeners using JavaScript or JSON. Currently, a RepairTask is an implementation of NotificationListener. However, when using Jolokia, it is not possible to add the listener using the traditional method:

nodeConnection.getMBeanServerConnection().addNotificationListener(myStorageServiceObject, listener, null, null);

This approach is not supported by Jolokia.

The purpose of this pull request is to reconcile the current method of adding notification listeners in Jolokia with the RepairTask. Integration tests for this functionality will be implemented in a separate pull request.

Closes #831

@VictorCavichioli VictorCavichioli requested a review from a team as a code owner January 6, 2025 20:14
SajidRiaz138
SajidRiaz138 previously approved these changes Jan 7, 2025
SajidRiaz138
SajidRiaz138 previously approved these changes Jan 7, 2025
connection.impl/pom.xml Outdated Show resolved Hide resolved
connection.impl/pom.xml Outdated Show resolved Hide resolved
connection.impl/pom.xml Outdated Show resolved Hide resolved
core.impl/pom.xml Outdated Show resolved Hide resolved
core.impl/pom.xml Outdated Show resolved Hide resolved
core.impl/pom.xml Outdated Show resolved Hide resolved
@VictorCavichioli VictorCavichioli merged commit 4c650cc into Ericsson:agent/master Jan 9, 2025
2 checks passed
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