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'; 25import DateTimeStore from './modules/Configuration/DateTimeSettingsStore'; 26 27Vue.use(Vuex); 28 29export default new Vuex.Store({ 30 state: {}, 31 mutations: {}, 32 actions: {}, 33 modules: { 34 global: GlobalStore, 35 authentication: AuthenticationStore, 36 dateTime: DateTimeStore, 37 ldap: LdapStore, 38 localUsers: LocalUserManagementStore, 39 firmware: FirmwareStore, 40 hostBootSettings: BootSettingsStore, 41 controls: ControlStore, 42 powerControl: PowerControlStore, 43 powerSupply: PowerSupplyStore, 44 networkSettings: NetworkSettingStore, 45 eventLog: EventLogStore, 46 sensors: SensorsStore, 47 sslCertificates: SslCertificatesStore, 48 serverLed: ServerLedStore, 49 system: SystemStore, 50 memory: MemoryStore, 51 fan: FanStore, 52 chassis: ChassisStore, 53 bmc: BmcStore 54 }, 55 plugins: [WebSocketPlugin] 56}); 57