]
Nick Boldt updated JBDS-4044:
-----------------------------
Fix Version/s: 11.0.0.AM2
(was: 11.0.0.AM1)
Slip to AM2
Use angular $http service instead of node request module
--------------------------------------------------------
Key: JBDS-4044
URL:
https://issues.jboss.org/browse/JBDS-4044
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Enhancement
Components: platform-installer
Affects Versions: 10.2.0.AM1
Reporter: Denis Golovin
Assignee: Denis Golovin
Priority: Critical
Fix For: 11.0.0.AM2
Since April $http service seems to support progress reporting for http requests:
1. See httpspec.js in this
[
commit|https://github.com/angular/angular.js/commit/01b18450882da9bb9c903...];
2. XMLHTTPRequest documentation
[
here|https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Usin...].
Questions:
1. Does it support redirects?
2. How authentication is supported?
Benefits:
1. Native browser service, so probably should be working faster;
2. Proxy settings picked up from system settings, so there is no need to set up
environment variables before running the installer.
Drawbacks:
1. Proxy errors are not detectable (?) It just printed out to console without providing
info trough returning error parameter for callback;
2. No third party multi-threaded downloaders that would support restarting download from
the position where it failed.