commit | 7db0e9ac624aa0d9915b2e9488d2a19e932e6fda | [log] [tgz] |
---|---|---|
author | CamVan Nguyen <ctnguyen@us.ibm.com> | Fri May 04 19:30:01 2018 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Tue May 22 13:53:56 2018 +0000 |
tree | 2147e21ba887650be5788bf3084d5eedeff8973a | |
parent | cd0440e7a089735e312314e9d30fda90ef8e1b8c [diff] |
Do not abort when one of multiple promises fails The goal is to load as much data as possible on the 'Server overview' page. In original code, multiple promises are executed in parallel using $q.all() to get data for the page. When any of the promises fails, the remaining promises are aborted. The fix is to write a method to resolve the promise returned from each of the APIUtils calls, which would set the scope variables, and pass the promise returned by it to $q.all instead. Resolves openbmc/openbmc#3151 Change-Id: I361c80ddd2665dbe43f8a635eda42ef2b5c0788c Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.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.