[jbosstools-issues] [JBoss JIRA] (JBDS-4044) Use angular $http service instead of node request module

Denis Golovin (JIRA) issues at jboss.org
Tue Nov 21 22:49:00 EST 2017


     [ https://issues.jboss.org/browse/JBDS-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin closed JBDS-4044.
-------------------------------
    Resolution: Migrated to another ITS


Moved to https://github.com/redhat-developer-tooling/developer-platform-install/issues/1052

> 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.2.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/01b18450882da9bb9c903d43c0daddbc03c2c35d];
> 2. XMLHTTPRequest documentation [here|https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest].
> 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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list