blob: ad55030a56e10f6e04929370bcf931e274e436d1 [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';
Yoshie Muranakac4e38ab2020-04-09 12:41:27 -07006import LdapStore from './modules/AccessControl/LdapStore';
Derick Montaguefded0d12019-12-11 06:16:40 -06007import LocalUserManagementStore from './modules/AccessControl/LocalUserMangementStore';
Yoshie Muranaka37393812020-03-24 15:25:24 -07008import SslCertificatesStore from './modules/AccessControl/SslCertificatesStore';
Dixsie Wolmersf65ee342020-01-22 19:47:56 -06009import OverviewStore from './modules/Overview/OverviewStore';
10import 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';
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060014import NetworkSettingStore from './modules/Configuration/NetworkSettingsStore';
15import EventLogStore from './modules/Health/EventLogStore';
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070016import SensorsStore from './modules/Health/SensorsStore';
SurenNeware090c2d42020-04-01 14:07:27 +053017import ServerLedStore from './modules/Control/ServerLedStore';
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060018
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080019import WebSocketPlugin from './plugins/WebSocketPlugin';
20
Derick Montaguea2988f42020-01-17 13:46:30 -060021Vue.use(Vuex);
22
23export default new Vuex.Store({
24 state: {},
25 mutations: {},
26 actions: {},
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060027 modules: {
Yoshie Muranakab8b6f792019-12-03 14:47:32 -080028 global: GlobalStore,
Derick Montaguee080a1a2019-12-04 16:30:08 -060029 authentication: AuthenticationStore,
Yoshie Muranakac4e38ab2020-04-09 12:41:27 -070030 ldap: LdapStore,
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060031 localUsers: LocalUserManagementStore,
32 overview: OverviewStore,
33 firmware: FirmwareStore,
Yoshie Muranakac05ff642020-02-26 14:23:15 -080034 hostBootSettings: BootSettingsStore,
Yoshie Muranakac11d3892020-02-19 08:07:40 -080035 controls: ControlStore,
Dixsie Wolmers4c69f5b2020-02-26 11:23:52 -060036 powerControl: PowerControlStore,
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060037 networkSettings: NetworkSettingStore,
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070038 eventLog: EventLogStore,
Yoshie Muranaka37393812020-03-24 15:25:24 -070039 sensors: SensorsStore,
SurenNeware090c2d42020-04-01 14:07:27 +053040 sslCertificates: SslCertificatesStore,
41 serverLed: ServerLedStore
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080042 },
43 plugins: [WebSocketPlugin]
Derick Montaguea2988f42020-01-17 13:46:30 -060044});