-
Notifications
You must be signed in to change notification settings - Fork 22
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
Stop using jQuery/ajax and use Fetch API instead #76
Comments
Does this imply complete removal of JQuery as it is being used for parsing the XML of the camel routes? We could use something else but need to know whether to look for a replacement? |
Good point. I only thought about the ajax query part of jQuery usages for the issue such as: The motivation for this issue is to reduce as large a dependency as possible from Hawtio.next. In particular, large frameworks such as jQuery are often subject to CVEs, which means that they have to be upgraded every time. If Hawtio.next could do without jQuery, it would reduce the burden of security updates as much as possible. This Issue has no specific milestones attached to it and does not need to be addressed now. However, it is recorded as it is something that would be beneficial to be addressed in the long term. If you have a good solution to replace something in the XML parsing part of jQuery, let's discuss it as well. |
I'm in the area of xml parsing atm so I can start to look around for an alternative and see if any do the job. |
I wasn't aware that jQuery is used for XML parsing ;) I want to get rid of |
XML parsing did use jQuery but was replaced in this commit. |
cool! so I may eventually remove it entirely ;) |
Still gets used by Hawtio-Online which may or may not have an impact on this issue. |
Does hawtio-online have own dependency (in |
Yes it does. It doesn't rely on hawtio-next for export of JQuery. That's said Hawtio-Online does call on jolokia using ajax, eg. these |
I'll remove |
Yeah, we can finally try removing jQuery from hawtio-next. I think hawtio-online can declare a dependency to jQuery itself if it still needs it after hawtio-next's removal of it. |
Relates #8
The text was updated successfully, but these errors were encountered: