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

Provide Hawtio minimum console war #3335

Closed
tadayosi opened this issue Mar 28, 2024 · 1 comment · Fixed by #3336
Closed

Provide Hawtio minimum console war #3335

tadayosi opened this issue Mar 28, 2024 · 1 comment · Fixed by #3336
Assignees
Milestone

Comments

@tadayosi
Copy link
Member

3rd party applications including Apache Artemis might want to use Hawtio as their management console but only with a minimum set of builtin plugins such as JMX, RBAC, and the authentication plugins. There are cases that they just don't need Camel, Spring Boot, Quartz, etc. plugins.

Instead of demanding them to set up their own version of console assembly and war subprojects in their own repositories, it might be profitable for them to provide an official minimum console war distribution along with the existing hawtio-war.war and hawtio-default.war.

@tadayosi tadayosi added this to the 4.0.0 GA milestone Mar 28, 2024
@tadayosi tadayosi self-assigned this Mar 28, 2024
tadayosi added a commit to tadayosi/hawtio that referenced this issue Mar 28, 2024
tadayosi added a commit to tadayosi/hawtio that referenced this issue Mar 28, 2024
@tadayosi
Copy link
Member Author

tadayosi commented Mar 28, 2024

This approach still has a limitation: It is that while the Camel plugin can be disabled, its JS is still needed to be bundled in the hawtio-minimal.war. That means the minimal console still needs to download 13.6MB of JS it doesn't use at all.

It's the limitation of Webpack Module Federation we are using for the plugin mechanism.
https://medium.com/@marvusm.mmi/webpack-module-federation-think-twice-before-sharing-a-dependency-18b3b0e352cb

To resolve it, we'd need to split @hawtio/react into the core essential part and the optional plugins (@hawtio/plugins). For records, we tried that earlier but it was left incomplete: hawtio/hawtio-next#229

tadayosi added a commit that referenced this issue Mar 29, 2024
phantomjinx pushed a commit to phantomjinx/hawtio that referenced this issue Apr 5, 2024
phantomjinx pushed a commit to phantomjinx/hawtio that referenced this issue Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant