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