commit | 18f726655f70addbcc5bfda7b9fddb8d066db018 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Tue May 15 13:56:48 2018 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Tue May 15 15:30:53 2018 -0500 |
tree | 8d398487012e5e7a4c2d1c01b67b73a8afa0f429 | |
parent | 0aeece60e8fbfaa25ae257f586932b6401cdbcd7 [diff] |
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>
TODO: Write a project description
nodejs npm
npm install
npm run-script server
This will run it locally in http://localhost:8080
.
https://<bmc-ip>
and bypass the secure warning. You will see a JSON response with Login required
message.http://localhost:8080
. Enter the BMC IP, Username and Password (defaults: root
/0penBmc
).Now you are logged in.