summaryrefslogtreecommitdiff
path: root/src/store
diff options
context:
space:
mode:
authorSandeepa Singh <sandeepa.singh@ibm.com>2021-07-06 13:59:10 +0300
committerDerick Montague <derick.montague@ibm.com>2021-08-10 22:20:42 +0300
commit7affc529b7fba41193c4d48764707e9961cdd22d (patch)
treed198c2026a40faf07d622492297aed488b17fccb /src/store
parent828dda9b187684902710bb11621eca27bf0c6eec (diff)
downloadwebui-vue-7affc529b7fba41193c4d48764707e9961cdd22d.tar.xz
IA update: Update health section
This is the second update to information architecture changes and has the following changes: - Health section is updated to hardware status section - Hardware status page is updated to inventory and LEDs page - Route for sensors page has been updated Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ia1ba3a15a243a00f59a2ec646132436eb355a999
Diffstat (limited to 'src/store')
-rw-r--r--src/store/index.js20
-rw-r--r--src/store/modules/HardwareStatus/BmcStore.js (renamed from src/store/modules/Health/BmcStore.js)4
-rw-r--r--src/store/modules/HardwareStatus/ChassisStore.js (renamed from src/store/modules/Health/ChassisStore.js)4
-rw-r--r--src/store/modules/HardwareStatus/FanStore.js (renamed from src/store/modules/Health/FanStore.js)0
-rw-r--r--src/store/modules/HardwareStatus/MemoryStore.js (renamed from src/store/modules/Health/MemoryStore.js)0
-rw-r--r--src/store/modules/HardwareStatus/PowerSupplyStore.js (renamed from src/store/modules/Health/PowerSupplyStore.js)0
-rw-r--r--src/store/modules/HardwareStatus/ProcessorStore.js (renamed from src/store/modules/Health/ProcessorStore.js)4
-rw-r--r--src/store/modules/HardwareStatus/SensorsStore.js (renamed from src/store/modules/Health/SensorsStore.js)0
-rw-r--r--src/store/modules/HardwareStatus/ServerLedStore.js (renamed from src/store/modules/Control/ServerLedStore.js)0
-rw-r--r--src/store/modules/HardwareStatus/SystemStore.js (renamed from src/store/modules/Health/SystemStore.js)0
-rw-r--r--src/store/modules/Logs/PostCodeLogsStore.js (renamed from src/store/modules/Health/PostCodeLogsStore.js)0
11 files changed, 16 insertions, 16 deletions
diff --git a/src/store/index.js b/src/store/index.js
index 5aba4663..3ea4c5ab 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -14,16 +14,16 @@ import PowerControlStore from './modules/Control/PowerControlStore';
import PowerPolicyStore from './modules/Control/PowerPolicyStore';
import NetworkSettingStore from './modules/Configuration/NetworkSettingsStore';
import EventLogStore from './modules/Logs/EventLogStore';
-import SensorsStore from './modules/Health/SensorsStore';
-import ServerLedStore from './modules/Control/ServerLedStore';
-import SystemStore from './modules/Health/SystemStore';
-import PowerSupplyStore from './modules/Health/PowerSupplyStore';
-import MemoryStore from './modules/Health/MemoryStore';
-import FanStore from './modules/Health/FanStore';
-import ChassisStore from './modules/Health/ChassisStore';
-import BmcStore from './modules/Health/BmcStore';
-import ProcessorStore from './modules/Health/ProcessorStore';
-import PostCodeLogsStore from './modules/Health/PostCodeLogsStore';
+import SensorsStore from './modules/HardwareStatus/SensorsStore';
+import ServerLedStore from './modules/HardwareStatus/ServerLedStore';
+import SystemStore from './modules/HardwareStatus/SystemStore';
+import PowerSupplyStore from './modules/HardwareStatus/PowerSupplyStore';
+import MemoryStore from './modules/HardwareStatus/MemoryStore';
+import FanStore from './modules/HardwareStatus/FanStore';
+import ChassisStore from './modules/HardwareStatus/ChassisStore';
+import BmcStore from './modules/HardwareStatus/BmcStore';
+import ProcessorStore from './modules/HardwareStatus/ProcessorStore';
+import PostCodeLogsStore from './modules/Logs/PostCodeLogsStore';
import SecuritySettingsStore from './modules/Configuration/SecuritySettingsStore';
import FactoryResetStore from './modules/Control/FactoryResetStore';
diff --git a/src/store/modules/Health/BmcStore.js b/src/store/modules/HardwareStatus/BmcStore.js
index bbe157eb..f58dc635 100644
--- a/src/store/modules/Health/BmcStore.js
+++ b/src/store/modules/HardwareStatus/BmcStore.js
@@ -64,11 +64,11 @@ const BmcStore = {
console.log('error', error);
if (led.identifyLed) {
throw new Error(
- i18n.t('pageHardwareStatus.toast.errorEnableIdentifyLed')
+ i18n.t('pageInventory.toast.errorEnableIdentifyLed')
);
} else {
throw new Error(
- i18n.t('pageHardwareStatus.toast.errorDisableIdentifyLed')
+ i18n.t('pageInventory.toast.errorDisableIdentifyLed')
);
}
});
diff --git a/src/store/modules/Health/ChassisStore.js b/src/store/modules/HardwareStatus/ChassisStore.js
index 2faddfbf..b5edef56 100644
--- a/src/store/modules/Health/ChassisStore.js
+++ b/src/store/modules/HardwareStatus/ChassisStore.js
@@ -74,11 +74,11 @@ const ChassisStore = {
console.log('error', error);
if (led.identifyLed) {
throw new Error(
- i18n.t('pageHardwareStatus.toast.errorEnableIdentifyLed')
+ i18n.t('pageInventory.toast.errorEnableIdentifyLed')
);
} else {
throw new Error(
- i18n.t('pageHardwareStatus.toast.errorDisableIdentifyLed')
+ i18n.t('pageInventory.toast.errorDisableIdentifyLed')
);
}
});
diff --git a/src/store/modules/Health/FanStore.js b/src/store/modules/HardwareStatus/FanStore.js
index fca1f326..fca1f326 100644
--- a/src/store/modules/Health/FanStore.js
+++ b/src/store/modules/HardwareStatus/FanStore.js
diff --git a/src/store/modules/Health/MemoryStore.js b/src/store/modules/HardwareStatus/MemoryStore.js
index cd2478de..cd2478de 100644
--- a/src/store/modules/Health/MemoryStore.js
+++ b/src/store/modules/HardwareStatus/MemoryStore.js
diff --git a/src/store/modules/Health/PowerSupplyStore.js b/src/store/modules/HardwareStatus/PowerSupplyStore.js
index f7be2809..f7be2809 100644
--- a/src/store/modules/Health/PowerSupplyStore.js
+++ b/src/store/modules/HardwareStatus/PowerSupplyStore.js
diff --git a/src/store/modules/Health/ProcessorStore.js b/src/store/modules/HardwareStatus/ProcessorStore.js
index 15314663..c7cbbeea 100644
--- a/src/store/modules/Health/ProcessorStore.js
+++ b/src/store/modules/HardwareStatus/ProcessorStore.js
@@ -89,11 +89,11 @@ const ProcessorStore = {
console.log('error', error);
if (led.identifyLed) {
throw new Error(
- i18n.t('pageHardwareStatus.toast.errorEnableIdentifyLed')
+ i18n.t('pageInventory.toast.errorEnableIdentifyLed')
);
} else {
throw new Error(
- i18n.t('pageHardwareStatus.toast.errorDisableIdentifyLed')
+ i18n.t('pageInventory.toast.errorDisableIdentifyLed')
);
}
});
diff --git a/src/store/modules/Health/SensorsStore.js b/src/store/modules/HardwareStatus/SensorsStore.js
index 0af2a95b..0af2a95b 100644
--- a/src/store/modules/Health/SensorsStore.js
+++ b/src/store/modules/HardwareStatus/SensorsStore.js
diff --git a/src/store/modules/Control/ServerLedStore.js b/src/store/modules/HardwareStatus/ServerLedStore.js
index a8903e2a..a8903e2a 100644
--- a/src/store/modules/Control/ServerLedStore.js
+++ b/src/store/modules/HardwareStatus/ServerLedStore.js
diff --git a/src/store/modules/Health/SystemStore.js b/src/store/modules/HardwareStatus/SystemStore.js
index 55f37542..55f37542 100644
--- a/src/store/modules/Health/SystemStore.js
+++ b/src/store/modules/HardwareStatus/SystemStore.js
diff --git a/src/store/modules/Health/PostCodeLogsStore.js b/src/store/modules/Logs/PostCodeLogsStore.js
index ac470ece..ac470ece 100644
--- a/src/store/modules/Health/PostCodeLogsStore.js
+++ b/src/store/modules/Logs/PostCodeLogsStore.js