You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With #32#213, now we have pluginsUpdated event that can broadcast notifications for plugins update. At the same time, we already have the plugin watcher mechanism backed by the server-side plugin registry MBean in the JMX workspace. We need to review these two different plugins update mechanisms and consider consolidating them if necessary.
In reality, probably that plugin watcher MBean is an old mechanism, where in the past we expected dynamic additions and deletions of plugins via JMX, especially on dynamic environments like OSGi/Karaf. But now, with Hawtio.next we currently only support Spring Boot and Quarkus as the runtimes and they are relatively static at runtime; all dependencies would be resolved before bootstrap. I can't think of use cases where plugins are added dynamically after application launches on Spring Boot and Quarkus. Correct me if I'm wrong.
This plugin implementation here only loads external plugins at the initial page loading time, and it might be enough for the runtimes Hawtio.next supports. If that's the case, we can consider just removing the plugin watcher from hawtio-next and the main hawtio project.
The text was updated successfully, but these errors were encountered:
As far as I understand, the plugin registry MBean watcher isn't used at all for Spring Boot. The Hawtio Spring Boot implementation escapes the plugin mechanism via JMX MBean server and uses its own plugin endpoint to implement the same plugin system for Spring Boot apps. That means plugins update never happens via the plugin registry watcher right now.
This method used to be used for war-based Hawtio applications, but so far we don't have plan to actively support this kind of deployment.
With #32 #213, now we have
pluginsUpdated
event that can broadcast notifications for plugins update. At the same time, we already have the plugin watcher mechanism backed by the server-side plugin registry MBean in the JMX workspace. We need to review these two different plugins update mechanisms and consider consolidating them if necessary.#213 (comment)
The text was updated successfully, but these errors were encountered: