Add client sessions page
- This page will show the list of sessions that are
currently connected to the BMC.
APIs used:
- To get all the sessions API used is
`/redfish/v1/SessionService/Sessions`
- To delete the sessions API used is
`/redfish/v1/SessionService/Sessions/<session id>`
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: Ia81f62cbbea749809b9b7f7e62356cfe2db7fc18
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 0e28de5..dcb52a6 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -95,6 +95,7 @@
},
"appNavigation": {
"accessControl": "Access control",
+ "clientSessions": "@:appPageTitle.clientSessions",
"configuration": "Configuration",
"control": "Control",
"dateTimeSettings": "@:appPageTitle.dateTimeSettings",
@@ -121,6 +122,7 @@
},
"appPageTitle": {
"changePassword": "Change password",
+ "clientSessions": "Client sessions",
"dateTimeSettings": "Date and time settings",
"eventLogs": "Event logs",
"firmware": "Firmware",
@@ -153,6 +155,25 @@
"newPassword": "New password",
"username": "Username"
},
+ "pageClientSessions" : {
+ "action": {
+ "disconnect" : "Disconnect"
+ },
+ "modal": {
+ "disconnectTitle": "Disconnect session| Disconnect sessions",
+ "disconnectMessage": "Are you sure you want to disconnect %{count} session? This action cannot be undone. | Are you sure you want to disconnect %{count} sessions? This action cannot be undone."
+ },
+ "table": {
+ "clientID": "Client ID",
+ "username": "Username",
+ "ipAddress": "IP address",
+ "searchSessions": "Search sessions"
+ },
+ "toast": {
+ "errorDelete": "Error disconnecting %{count} session. | Error disconnecting %{count} sessions.",
+ "successDelete": "Successfully disconnected %{count} session. | Successfully disconnected %{count} sessions."
+ }
+ },
"pageDateTimeSettings": {
"alert": {
"message": "To change how date and time are displayed (either UTC or browser offset) throughout the application, visit ",