blob: 453e0f64ef332b66f4773e720ba1321bda51cc69 [file] [log] [blame]
Derick Montaguefded0d12019-12-11 06:16:40 -06001import Vue from 'vue';
2import Vuex from 'vuex';
Derick Montaguea2988f42020-01-17 13:46:30 -06003
Derick Montaguefded0d12019-12-11 06:16:40 -06004import GlobalStore from './modules/GlobalStore';
5import AuthenticationStore from './modules/Authentication/AuthenticanStore';
Sandeepa Singhb4406162021-07-26 15:05:39 +05306import SessionsStore from './modules/SecurityAndAccess/SessionsStore';
7import LdapStore from './modules/SecurityAndAccess/LdapStore';
8import UserManagementStore from './modules/SecurityAndAccess/UserManagementStore';
9import CertificatesStore from './modules/SecurityAndAccess/CertificatesStore';
Sandeepa Singh68cbbe92021-07-14 16:02:22 +053010import FirmwareStore from './modules/Operations/FirmwareStore';
11import BootSettingsStore from './modules/Operations/BootSettingsStore';
12import ControlStore from './modules/Operations/ControlStore';
Dixsie Wolmers3145d4d2021-08-18 13:35:54 -050013import PowerControlStore from './modules/ResourceManagement/PowerControlStore';
Sandeepa Singhf67f7692021-07-19 18:04:18 +053014import PowerPolicyStore from './modules/Settings/PowerPolicyStore';
15import NetworkStore from './modules/Settings/NetworkStore';
Derick Montague828dda92021-06-28 15:52:22 -050016import EventLogStore from './modules/Logs/EventLogStore';
Konstantinda53c062023-02-06 17:25:19 +030017import DumpsStore from './modules/Logs/DumpsStore';
Sandeepa Singh7affc522021-07-06 16:29:10 +053018import SensorsStore from './modules/HardwareStatus/SensorsStore';
19import ServerLedStore from './modules/HardwareStatus/ServerLedStore';
20import SystemStore from './modules/HardwareStatus/SystemStore';
21import PowerSupplyStore from './modules/HardwareStatus/PowerSupplyStore';
22import MemoryStore from './modules/HardwareStatus/MemoryStore';
23import FanStore from './modules/HardwareStatus/FanStore';
24import ChassisStore from './modules/HardwareStatus/ChassisStore';
25import BmcStore from './modules/HardwareStatus/BmcStore';
26import ProcessorStore from './modules/HardwareStatus/ProcessorStore';
Sneha Patela02c6f92021-09-09 12:40:38 -050027import AssemblyStore from './modules/HardwareStatus/AssemblyStore';
Sandeepa Singh7affc522021-07-06 16:29:10 +053028import PostCodeLogsStore from './modules/Logs/PostCodeLogsStore';
Sandeepa Singhb4406162021-07-26 15:05:39 +053029import PoliciesStore from './modules/SecurityAndAccess/PoliciesStore';
Sandeepa Singh68cbbe92021-07-14 16:02:22 +053030import FactoryResetStore from './modules/Operations/FactoryResetStore';
Konstantin Aladyshev7c1cfe72023-05-16 09:03:25 +000031import SnmpAlertsStore from './modules/Settings/SnmpAlertsStore';
Sandeepa Singh05887b52022-01-10 19:19:36 +053032import KeyClearStore from './modules/Operations/KeyClearStore';
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060033
Sandeepa Singhf67f7692021-07-19 18:04:18 +053034import DateTimeStore from './modules/Settings/DateTimeStore';
Sandeepa Singh68cbbe92021-07-14 16:02:22 +053035import VirtualMediaStore from './modules/Operations/VirtualMediaStore';
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080036
Derick Montaguea2988f42020-01-17 13:46:30 -060037Vue.use(Vuex);
38
39export default new Vuex.Store({
40 state: {},
41 mutations: {},
42 actions: {},
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060043 modules: {
Yoshie Muranakab8b6f792019-12-03 14:47:32 -080044 global: GlobalStore,
Derick Montaguee080a1a2019-12-04 16:30:08 -060045 authentication: AuthenticationStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053046 sessions: SessionsStore,
Dixsie Wolmers739e4592020-06-05 07:00:06 -050047 dateTime: DateTimeStore,
Yoshie Muranakac4e38ab2020-04-09 12:41:27 -070048 ldap: LdapStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053049 userManagement: UserManagementStore,
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060050 firmware: FirmwareStore,
Derick Montague71114fe2021-05-06 18:17:34 -050051 serverBootSettings: BootSettingsStore,
Yoshie Muranakac11d3892020-02-19 08:07:40 -080052 controls: ControlStore,
Dixsie Wolmers4c69f5b2020-02-26 11:23:52 -060053 powerControl: PowerControlStore,
Sukanya Pandeybe6858c2020-12-16 20:08:01 +053054 powerPolicy: PowerPolicyStore,
Yoshie Muranaka5918b482020-06-08 08:18:23 -070055 powerSupply: PowerSupplyStore,
Sandeepa Singhf67f7692021-07-19 18:04:18 +053056 network: NetworkStore,
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070057 eventLog: EventLogStore,
Konstantinda53c062023-02-06 17:25:19 +030058 dumps: DumpsStore,
Yoshie Muranaka37393812020-03-24 15:25:24 -070059 sensors: SensorsStore,
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070060 serverLed: ServerLedStore,
Konstantin Aladyshev7c1cfe72023-05-16 09:03:25 +000061 snmpAlerts: SnmpAlertsStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053062 certificates: CertificatesStore,
Yoshie Muranakae24b17d2020-06-08 11:03:11 -070063 system: SystemStore,
Yoshie Muranakab89a53c2020-06-15 13:25:46 -070064 memory: MemoryStore,
Yoshie Muranaka09e8b5d2020-06-08 07:36:59 -070065 fan: FanStore,
Yoshie Muranaka54c6bfc2020-06-12 08:29:42 -070066 chassis: ChassisStore,
SurenNewaredc3fa2e2020-08-04 20:45:25 +053067 bmc: BmcStore,
Mateusz Gapski75100462020-07-30 11:01:29 +020068 processors: ProcessorStore,
Sneha Patela02c6f92021-09-09 12:40:38 -050069 assemblies: AssemblyStore,
Sandeepa Singh06d53862021-05-24 13:51:09 +053070 postCodeLogs: PostCodeLogsStore,
Derick Montague602e98a2020-10-21 16:20:00 -050071 virtualMedia: VirtualMediaStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053072 policies: PoliciesStore,
Derick Montagueda9f0a62021-02-14 19:21:44 -060073 factoryReset: FactoryResetStore,
Sandeepa Singh05887b52022-01-10 19:19:36 +053074 keyClear: KeyClearStore,
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080075 },
Derick Montaguea2988f42020-01-17 13:46:30 -060076});