1import Vue from 'vue'; 2import Vuex from 'vuex'; 3 4import GlobalStore from './modules/GlobalStore'; 5import AuthenticationStore from './modules/Authentication/AuthenticanStore'; 6import SessionsStore from './modules/SecurityAndAccess/SessionsStore'; 7import LdapStore from './modules/SecurityAndAccess/LdapStore'; 8import UserManagementStore from './modules/SecurityAndAccess/UserManagementStore'; 9import CertificatesStore from './modules/SecurityAndAccess/CertificatesStore'; 10import FirmwareStore from './modules/Operations/FirmwareStore'; 11import BootSettingsStore from './modules/Operations/BootSettingsStore'; 12import ControlStore from './modules/Operations/ControlStore'; 13import PowerControlStore from './modules/ResourceManagement/PowerControlStore'; 14import PowerPolicyStore from './modules/Settings/PowerPolicyStore'; 15import NetworkStore from './modules/Settings/NetworkStore'; 16import EventLogStore from './modules/Logs/EventLogStore'; 17import SensorsStore from './modules/HardwareStatus/SensorsStore'; 18import ServerLedStore from './modules/HardwareStatus/ServerLedStore'; 19import SystemStore from './modules/HardwareStatus/SystemStore'; 20import PowerSupplyStore from './modules/HardwareStatus/PowerSupplyStore'; 21import MemoryStore from './modules/HardwareStatus/MemoryStore'; 22import FanStore from './modules/HardwareStatus/FanStore'; 23import ChassisStore from './modules/HardwareStatus/ChassisStore'; 24import BmcStore from './modules/HardwareStatus/BmcStore'; 25import ProcessorStore from './modules/HardwareStatus/ProcessorStore'; 26import AssemblyStore from './modules/HardwareStatus/AssemblyStore'; 27import PostCodeLogsStore from './modules/Logs/PostCodeLogsStore'; 28import PoliciesStore from './modules/SecurityAndAccess/PoliciesStore'; 29import FactoryResetStore from './modules/Operations/FactoryResetStore'; 30import KeyClearStore from './modules/Operations/KeyClearStore'; 31 32import WebSocketPlugin from './plugins/WebSocketPlugin'; 33import DateTimeStore from './modules/Settings/DateTimeStore'; 34import VirtualMediaStore from './modules/Operations/VirtualMediaStore'; 35 36Vue.use(Vuex); 37 38export default new Vuex.Store({ 39 state: {}, 40 mutations: {}, 41 actions: {}, 42 modules: { 43 global: GlobalStore, 44 authentication: AuthenticationStore, 45 sessions: SessionsStore, 46 dateTime: DateTimeStore, 47 ldap: LdapStore, 48 userManagement: UserManagementStore, 49 firmware: FirmwareStore, 50 serverBootSettings: BootSettingsStore, 51 controls: ControlStore, 52 powerControl: PowerControlStore, 53 powerPolicy: PowerPolicyStore, 54 powerSupply: PowerSupplyStore, 55 network: NetworkStore, 56 eventLog: EventLogStore, 57 sensors: SensorsStore, 58 serverLed: ServerLedStore, 59 certificates: CertificatesStore, 60 system: SystemStore, 61 memory: MemoryStore, 62 fan: FanStore, 63 chassis: ChassisStore, 64 bmc: BmcStore, 65 processors: ProcessorStore, 66 assemblies: AssemblyStore, 67 postCodeLogs: PostCodeLogsStore, 68 virtualMedia: VirtualMediaStore, 69 policies: PoliciesStore, 70 factoryReset: FactoryResetStore, 71 keyClear: KeyClearStore, 72 }, 73 plugins: [WebSocketPlugin], 74}); 75