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 SnmpAlertsStore from './modules/Settings/SnmpAlertsStore'; 32import KeyClearStore from './modules/Operations/KeyClearStore'; 33 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 snmpAlerts: SnmpAlertsStore, 62 certificates: CertificatesStore, 63 system: SystemStore, 64 memory: MemoryStore, 65 fan: FanStore, 66 chassis: ChassisStore, 67 bmc: BmcStore, 68 processors: ProcessorStore, 69 assemblies: AssemblyStore, 70 postCodeLogs: PostCodeLogsStore, 71 virtualMedia: VirtualMediaStore, 72 policies: PoliciesStore, 73 factoryReset: FactoryResetStore, 74 keyClear: KeyClearStore, 75 }, 76}); 77