blob: ba248c586926b18795eef64fc44836a03d7dec34 [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';
Sandeepa Singh7affc522021-07-06 16:29:10 +053017import SensorsStore from './modules/HardwareStatus/SensorsStore';
18import ServerLedStore from './modules/HardwareStatus/ServerLedStore';
19import SystemStore from './modules/HardwareStatus/SystemStore';
20import PowerSupplyStore from './modules/HardwareStatus/PowerSupplyStore';
21import MemoryStore from './modules/HardwareStatus/MemoryStore';
22import FanStore from './modules/HardwareStatus/FanStore';
23import ChassisStore from './modules/HardwareStatus/ChassisStore';
24import BmcStore from './modules/HardwareStatus/BmcStore';
25import ProcessorStore from './modules/HardwareStatus/ProcessorStore';
Sneha Patela02c6f92021-09-09 12:40:38 -050026import AssemblyStore from './modules/HardwareStatus/AssemblyStore';
Sandeepa Singh7affc522021-07-06 16:29:10 +053027import PostCodeLogsStore from './modules/Logs/PostCodeLogsStore';
Sandeepa Singhb4406162021-07-26 15:05:39 +053028import PoliciesStore from './modules/SecurityAndAccess/PoliciesStore';
Sandeepa Singh68cbbe92021-07-14 16:02:22 +053029import FactoryResetStore from './modules/Operations/FactoryResetStore';
Sandeepa Singh05887b52022-01-10 19:19:36 +053030import KeyClearStore from './modules/Operations/KeyClearStore';
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060031
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080032import WebSocketPlugin from './plugins/WebSocketPlugin';
Sandeepa Singhf67f7692021-07-19 18:04:18 +053033import DateTimeStore from './modules/Settings/DateTimeStore';
Sandeepa Singh68cbbe92021-07-14 16:02:22 +053034import VirtualMediaStore from './modules/Operations/VirtualMediaStore';
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080035
Derick Montaguea2988f42020-01-17 13:46:30 -060036Vue.use(Vuex);
37
38export default new Vuex.Store({
39 state: {},
40 mutations: {},
41 actions: {},
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060042 modules: {
Yoshie Muranakab8b6f792019-12-03 14:47:32 -080043 global: GlobalStore,
Derick Montaguee080a1a2019-12-04 16:30:08 -060044 authentication: AuthenticationStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053045 sessions: SessionsStore,
Dixsie Wolmers739e4592020-06-05 07:00:06 -050046 dateTime: DateTimeStore,
Yoshie Muranakac4e38ab2020-04-09 12:41:27 -070047 ldap: LdapStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053048 userManagement: UserManagementStore,
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060049 firmware: FirmwareStore,
Derick Montague71114fe2021-05-06 18:17:34 -050050 serverBootSettings: BootSettingsStore,
Yoshie Muranakac11d3892020-02-19 08:07:40 -080051 controls: ControlStore,
Dixsie Wolmers4c69f5b2020-02-26 11:23:52 -060052 powerControl: PowerControlStore,
Sukanya Pandeybe6858c2020-12-16 20:08:01 +053053 powerPolicy: PowerPolicyStore,
Yoshie Muranaka5918b482020-06-08 08:18:23 -070054 powerSupply: PowerSupplyStore,
Sandeepa Singhf67f7692021-07-19 18:04:18 +053055 network: NetworkStore,
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070056 eventLog: EventLogStore,
Yoshie Muranaka37393812020-03-24 15:25:24 -070057 sensors: SensorsStore,
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070058 serverLed: ServerLedStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053059 certificates: CertificatesStore,
Yoshie Muranakae24b17d2020-06-08 11:03:11 -070060 system: SystemStore,
Yoshie Muranakab89a53c2020-06-15 13:25:46 -070061 memory: MemoryStore,
Yoshie Muranaka09e8b5d2020-06-08 07:36:59 -070062 fan: FanStore,
Yoshie Muranaka54c6bfc2020-06-12 08:29:42 -070063 chassis: ChassisStore,
SurenNewaredc3fa2e2020-08-04 20:45:25 +053064 bmc: BmcStore,
Mateusz Gapski75100462020-07-30 11:01:29 +020065 processors: ProcessorStore,
Sneha Patela02c6f92021-09-09 12:40:38 -050066 assemblies: AssemblyStore,
Sandeepa Singh06d53862021-05-24 13:51:09 +053067 postCodeLogs: PostCodeLogsStore,
Derick Montague602e98a2020-10-21 16:20:00 -050068 virtualMedia: VirtualMediaStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053069 policies: PoliciesStore,
Derick Montagueda9f0a62021-02-14 19:21:44 -060070 factoryReset: FactoryResetStore,
Sandeepa Singh05887b52022-01-10 19:19:36 +053071 keyClear: KeyClearStore,
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080072 },
Derick Montague602e98a2020-10-21 16:20:00 -050073 plugins: [WebSocketPlugin],
Derick Montaguea2988f42020-01-17 13:46:30 -060074});