Do not override http timeout if caller has set it

The apiInterceptor code was blindly overriding the http
timeout. This caused issues for functions like code update
image uploads which can require more then the default 20
seconds.

During the course of investigating this defect, it was questioned
why the interceptor code was needed at all since the default
was set in the httpsRequest base. Some web searching found
https://stackoverflow.com/questions/15015416/how-to-set-a-global-http-timeout-in-angularjs
which discusses why this does not work.

Testing: Verified requested timeout used during image upload
and default used otherwise.

Resolves openbmc/openbmc#3182

Change-Id: I9b58a328cf7ef7d224b3c4704d9d40edcc2b4d80
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2 files changed
tree: 8d398487012e5e7a4c2d1c01b67b73a8afa0f429
  1. app/
  2. gulp_tasks/
  3. .babelrc
  4. .gitignore
  5. bower.json
  6. gulp-options.js
  7. gulpfile.js
  8. karma.conf.js
  9. LICENSE
  10. MAINTAINERS
  11. package.json
  12. postcss.config.js
  13. README.md
  14. sonar-project.properties
  15. webpack.config.js
README.md

openbmc

UX Design repo for OpenBMC

OpenBMC

TODO: Write a project description

Requirement

nodejs npm

Installation

npm install

Running

npm run-script server

This will run it locally in http://localhost:8080.

Example Usage with OpenBMC

  1. Browse to https://<bmc-ip> and bypass the secure warning. You will see a JSON response with Login required message.
  2. In the same session, navigate to http://localhost:8080. Enter the BMC IP, Username and Password (defaults: root/0penBmc).

Now you are logged in.