1import Vue from 'vue'; 2import Vuex from 'vuex'; 3 4import GlobalStore from './modules/GlobalStore'; 5import AuthenticationStore from './modules/Authentication/AuthenticanStore'; 6import LdapStore from './modules/AccessControl/LdapStore'; 7import LocalUserManagementStore from './modules/AccessControl/LocalUserMangementStore'; 8import SslCertificatesStore from './modules/AccessControl/SslCertificatesStore'; 9import FirmwareStore from './modules/Configuration/FirmwareStore'; 10import BootSettingsStore from './modules/Control/BootSettingsStore'; 11import ControlStore from './modules/Control/ControlStore'; 12import PowerControlStore from './modules/Control/PowerControlStore'; 13import NetworkSettingStore from './modules/Configuration/NetworkSettingsStore'; 14import EventLogStore from './modules/Health/EventLogStore'; 15import SensorsStore from './modules/Health/SensorsStore'; 16import ServerLedStore from './modules/Control/ServerLedStore'; 17import SystemStore from './modules/Health/SystemStore'; 18import PowerSupplyStore from './modules/Health/PowerSupplyStore'; 19import MemoryStore from './modules/Health/MemoryStore'; 20import FanStore from './modules/Health/FanStore'; 21import ChassisStore from './modules/Health/ChassisStore'; 22import BmcStore from './modules/Health/BmcStore'; 23 24import WebSocketPlugin from './plugins/WebSocketPlugin'; 25 26Vue.use(Vuex); 27 28export default new Vuex.Store({ 29 state: {}, 30 mutations: {}, 31 actions: {}, 32 modules: { 33 global: GlobalStore, 34 authentication: AuthenticationStore, 35 ldap: LdapStore, 36 localUsers: LocalUserManagementStore, 37 firmware: FirmwareStore, 38 hostBootSettings: BootSettingsStore, 39 controls: ControlStore, 40 powerControl: PowerControlStore, 41 powerSupply: PowerSupplyStore, 42 networkSettings: NetworkSettingStore, 43 eventLog: EventLogStore, 44 sensors: SensorsStore, 45 sslCertificates: SslCertificatesStore, 46 serverLed: ServerLedStore, 47 system: SystemStore, 48 memory: MemoryStore, 49 fan: FanStore, 50 chassis: ChassisStore, 51 bmc: BmcStore 52 }, 53 plugins: [WebSocketPlugin] 54}); 55