summaryrefslogtreecommitdiffstats
path: root/app/server-health/index.js
diff options
context:
space:
mode:
authorAppaRao Puli <apparao.puli@linux.intel.com>2018-11-14 20:33:30 +0530
committerGunnar Mills <gmills@us.ibm.com>2019-03-19 21:34:35 +0000
commitb1289ec99faa6345bb402a6887df82bb7dd9a7c0 (patch)
treeba87f093e12732bb634b3aac0cd1a626a8fe7d4c /app/server-health/index.js
parentdde251d5ad547c0c7536b6b930e1bad8c2ef2752 (diff)
downloadphosphor-webui-b1289ec99faa6345bb402a6887df82bb7dd9a7c0.tar.gz
phosphor-webui-b1289ec99faa6345bb402a6887df82bb7dd9a7c0.zip
WebUI system logs implementation
This commit implements the webui logs page which will show all system logs depends on user selection( SEL or Event or Oem). This is based out of redfish systems log services. - View logs with pagination. - Search filter for logs view. - Sort option with Type, Id, Severity, Date. - Clear logs. - Export logs. UnitTest: - Existing bmcweb send the system logs of EntryType "Event". So Loaded UI, selected Type "Event" and validated all the above mentioned operations. Change-Id: I0384e475f7913ca66b6db5d64831583fb382f8d5 Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
Diffstat (limited to 'app/server-health/index.js')
-rw-r--r--app/server-health/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/server-health/index.js b/app/server-health/index.js
index 088105b..96172d8 100644
--- a/app/server-health/index.js
+++ b/app/server-health/index.js
@@ -42,6 +42,11 @@ window.angular && (function(angular) {
'controller': 'sensorsOverviewController',
authenticated: true
})
+ .when('/server-health/sys-log', {
+ 'template': require('./controllers/syslog-controller.html'),
+ 'controller': 'sysLogController',
+ authenticated: true
+ })
.when('/server-health', {
'template': require('./controllers/log-controller.html'),
'controller': 'logController',
OpenPOWER on IntegriCloud