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