Add Redfish into the web-ui
Currently only GET is supported, but to add PATCH
in the future for redfish, support should be moved from
being hosted directly by bmcweb into the webui.
Tested-by:
Navigated to http://localhost:8080/#/redfish/v1/ with
bmc attached and was able to view all of redfish. Also
tested on platform.
Change-Id: I1dc3936b6b48835a1f69698fcb4fd6fcdb6d91ac
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/app/index.js b/app/index.js
index 602d601..1eb7dd6 100644
--- a/app/index.js
+++ b/app/index.js
@@ -70,6 +70,8 @@
import log_controller from './server-health/controllers/log-controller.js';
import sensors_overview_controller from './server-health/controllers/sensors-overview-controller.js';
+import redfish_index from './redfish/index.js';
+import redfish_controller from './redfish/controllers/redfish-controller.js';
import configuration_index from './configuration/index.js';
import date_time_controller from './configuration/controllers/date-time-controller.js';
import network_controller from './configuration/controllers/network-controller.js';
@@ -99,7 +101,7 @@
'app.common.filters',
// Model resources
'app.login', 'app.overview', 'app.serverControl',
- 'app.serverHealth', 'app.configuration', 'app.users',
+ 'app.serverHealth', 'app.configuration', 'app.users', 'app.redfish',
'app.multiServer'
])
// Route configuration