blob: 2408055d974bc95b26ad023f16eeb8d5f7caacaa [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';
26import PostCodeLogsStore from './modules/Logs/PostCodeLogsStore';
Sandeepa Singhb4406162021-07-26 15:05:39 +053027import PoliciesStore from './modules/SecurityAndAccess/PoliciesStore';
Sandeepa Singh68cbbe92021-07-14 16:02:22 +053028import FactoryResetStore from './modules/Operations/FactoryResetStore';
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060029
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080030import WebSocketPlugin from './plugins/WebSocketPlugin';
Sandeepa Singhf67f7692021-07-19 18:04:18 +053031import DateTimeStore from './modules/Settings/DateTimeStore';
Sandeepa Singh68cbbe92021-07-14 16:02:22 +053032import VirtualMediaStore from './modules/Operations/VirtualMediaStore';
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080033
Derick Montaguea2988f42020-01-17 13:46:30 -060034Vue.use(Vuex);
35
36export default new Vuex.Store({
37 state: {},
38 mutations: {},
39 actions: {},
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060040 modules: {
Yoshie Muranakab8b6f792019-12-03 14:47:32 -080041 global: GlobalStore,
Derick Montaguee080a1a2019-12-04 16:30:08 -060042 authentication: AuthenticationStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053043 sessions: SessionsStore,
Dixsie Wolmers739e4592020-06-05 07:00:06 -050044 dateTime: DateTimeStore,
Yoshie Muranakac4e38ab2020-04-09 12:41:27 -070045 ldap: LdapStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053046 userManagement: UserManagementStore,
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060047 firmware: FirmwareStore,
Derick Montague71114fe2021-05-06 18:17:34 -050048 serverBootSettings: BootSettingsStore,
Yoshie Muranakac11d3892020-02-19 08:07:40 -080049 controls: ControlStore,
Dixsie Wolmers4c69f5b2020-02-26 11:23:52 -060050 powerControl: PowerControlStore,
Sukanya Pandeybe6858c2020-12-16 20:08:01 +053051 powerPolicy: PowerPolicyStore,
Yoshie Muranaka5918b482020-06-08 08:18:23 -070052 powerSupply: PowerSupplyStore,
Sandeepa Singhf67f7692021-07-19 18:04:18 +053053 network: NetworkStore,
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070054 eventLog: EventLogStore,
Yoshie Muranaka37393812020-03-24 15:25:24 -070055 sensors: SensorsStore,
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070056 serverLed: ServerLedStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053057 certificates: CertificatesStore,
Yoshie Muranakae24b17d2020-06-08 11:03:11 -070058 system: SystemStore,
Yoshie Muranakab89a53c2020-06-15 13:25:46 -070059 memory: MemoryStore,
Yoshie Muranaka09e8b5d2020-06-08 07:36:59 -070060 fan: FanStore,
Yoshie Muranaka54c6bfc2020-06-12 08:29:42 -070061 chassis: ChassisStore,
SurenNewaredc3fa2e2020-08-04 20:45:25 +053062 bmc: BmcStore,
Mateusz Gapski75100462020-07-30 11:01:29 +020063 processors: ProcessorStore,
Sandeepa Singh06d53862021-05-24 13:51:09 +053064 postCodeLogs: PostCodeLogsStore,
Derick Montague602e98a2020-10-21 16:20:00 -050065 virtualMedia: VirtualMediaStore,
Sandeepa Singhb4406162021-07-26 15:05:39 +053066 policies: PoliciesStore,
Derick Montagueda9f0a62021-02-14 19:21:44 -060067 factoryReset: FactoryResetStore,
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080068 },
Derick Montague602e98a2020-10-21 16:20:00 -050069 plugins: [WebSocketPlugin],
Derick Montaguea2988f42020-01-17 13:46:30 -060070});