blob: 5aba4663b8ed43061ddb6b6853ff97777d11ed36 [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';
Sukanya Pandey34efde22020-12-02 19:04:09 +05306import ClientSessions from './modules/AccessControl/ClientSessionsStore';
Yoshie Muranakac4e38ab2020-04-09 12:41:27 -07007import LdapStore from './modules/AccessControl/LdapStore';
Derick Montaguefded0d12019-12-11 06:16:40 -06008import LocalUserManagementStore from './modules/AccessControl/LocalUserMangementStore';
Yoshie Muranaka37393812020-03-24 15:25:24 -07009import SslCertificatesStore from './modules/AccessControl/SslCertificatesStore';
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060010import FirmwareStore from './modules/Configuration/FirmwareStore';
Yoshie Muranakac05ff642020-02-26 14:23:15 -080011import BootSettingsStore from './modules/Control/BootSettingsStore';
Yoshie Muranakac11d3892020-02-19 08:07:40 -080012import ControlStore from './modules/Control/ControlStore';
Dixsie Wolmers4c69f5b2020-02-26 11:23:52 -060013import PowerControlStore from './modules/Control/PowerControlStore';
Sukanya Pandeybe6858c2020-12-16 20:08:01 +053014import PowerPolicyStore from './modules/Control/PowerPolicyStore';
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060015import NetworkSettingStore from './modules/Configuration/NetworkSettingsStore';
Derick Montague828dda92021-06-28 15:52:22 -050016import EventLogStore from './modules/Logs/EventLogStore';
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070017import SensorsStore from './modules/Health/SensorsStore';
SurenNeware090c2d42020-04-01 14:07:27 +053018import ServerLedStore from './modules/Control/ServerLedStore';
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070019import SystemStore from './modules/Health/SystemStore';
Yoshie Muranaka5918b482020-06-08 08:18:23 -070020import PowerSupplyStore from './modules/Health/PowerSupplyStore';
Yoshie Muranakae24b17d2020-06-08 11:03:11 -070021import MemoryStore from './modules/Health/MemoryStore';
Yoshie Muranakab89a53c2020-06-15 13:25:46 -070022import FanStore from './modules/Health/FanStore';
Yoshie Muranaka09e8b5d2020-06-08 07:36:59 -070023import ChassisStore from './modules/Health/ChassisStore';
Yoshie Muranaka54c6bfc2020-06-12 08:29:42 -070024import BmcStore from './modules/Health/BmcStore';
SurenNewaredc3fa2e2020-08-04 20:45:25 +053025import ProcessorStore from './modules/Health/ProcessorStore';
Sandeepa Singh06d53862021-05-24 13:51:09 +053026import PostCodeLogsStore from './modules/Health/PostCodeLogsStore';
Dixsie Wolmers8f030ba2020-12-07 13:12:53 -060027import SecuritySettingsStore from './modules/Configuration/SecuritySettingsStore';
Derick Montagueda9f0a62021-02-14 19:21:44 -060028import FactoryResetStore from './modules/Control/FactoryResetStore';
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060029
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080030import WebSocketPlugin from './plugins/WebSocketPlugin';
Dixsie Wolmers739e4592020-06-05 07:00:06 -050031import DateTimeStore from './modules/Configuration/DateTimeSettingsStore';
Mateusz Gapski75100462020-07-30 11:01:29 +020032import VirtualMediaStore from './modules/Control/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,
Sukanya Pandey34efde22020-12-02 19:04:09 +053043 clientSessions: ClientSessions,
Dixsie Wolmers739e4592020-06-05 07:00:06 -050044 dateTime: DateTimeStore,
Yoshie Muranakac4e38ab2020-04-09 12:41:27 -070045 ldap: LdapStore,
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060046 localUsers: LocalUserManagementStore,
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,
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060053 networkSettings: NetworkSettingStore,
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070054 eventLog: EventLogStore,
Yoshie Muranaka37393812020-03-24 15:25:24 -070055 sensors: SensorsStore,
SurenNeware090c2d42020-04-01 14:07:27 +053056 sslCertificates: SslCertificatesStore,
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070057 serverLed: ServerLedStore,
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,
Dixsie Wolmers8f030ba2020-12-07 13:12:53 -060066 securitySettings: SecuritySettingsStore,
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});