WIP: [AMQ-9798] Refactored Web Console and removed dependency on Spring-MVC.#1523
WIP: [AMQ-9798] Refactored Web Console and removed dependency on Spring-MVC.#1523sergio-d-lemos wants to merge 3 commits intoapache:mainfrom
Conversation
|
Can we also write some tests for the change? Great initiative! |
Yes, if we don't need any major change to the PR I will include some unit tests. At least for the classes I've added |
|
That's a nice PR, thanks ! At first glance, it looks good to me. I don't think we would need additional tests compared to what we have today. However, I think the Karaf features have to be updated to cleanup the dependency there as well. I can help on this front. Let me do a complete review. |
Thanks JB, I'm not very familiar with Karaf, appreciate any help on this front, I can also take a look. |
|
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
|
I didn't notice this until now, I think it would be nice to replace Spring entirely (not just MVC) and use Jax-RS and Jersey. That might be a longer term goal for ActiveMQ 7 though |
I think this is the medium/long term goal, we started by removing Spring MVC since its a heavy dependency and we don't really get a lot of benefit from it. The Web Console needs some love definitly. |
This PR removes the dependency on Spring MVC and does some clean ups in the Web Console. Apologize for the long PR.
I tested each page using Chrome and did some sanity tests using Firefox. I was unable to test running the console on an OSGI container, but I can test if we think is necessary.