Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame] | 1 | import Vue from 'vue'; |
| 2 | import Vuex from 'vuex'; |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 3 | |
Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame] | 4 | import GlobalStore from './modules/GlobalStore'; |
| 5 | import AuthenticationStore from './modules/Authentication/AuthenticanStore'; |
Yoshie Muranaka | c4e38ab | 2020-04-09 12:41:27 -0700 | [diff] [blame] | 6 | import LdapStore from './modules/AccessControl/LdapStore'; |
Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame] | 7 | import LocalUserManagementStore from './modules/AccessControl/LocalUserMangementStore'; |
Yoshie Muranaka | 3739381 | 2020-03-24 15:25:24 -0700 | [diff] [blame] | 8 | import SslCertificatesStore from './modules/AccessControl/SslCertificatesStore'; |
Dixsie Wolmers | f65ee34 | 2020-01-22 19:47:56 -0600 | [diff] [blame] | 9 | import FirmwareStore from './modules/Configuration/FirmwareStore'; |
Yoshie Muranaka | c05ff64 | 2020-02-26 14:23:15 -0800 | [diff] [blame] | 10 | import BootSettingsStore from './modules/Control/BootSettingsStore'; |
Yoshie Muranaka | c11d389 | 2020-02-19 08:07:40 -0800 | [diff] [blame] | 11 | import ControlStore from './modules/Control/ControlStore'; |
Dixsie Wolmers | 4c69f5b | 2020-02-26 11:23:52 -0600 | [diff] [blame] | 12 | import PowerControlStore from './modules/Control/PowerControlStore'; |
Dixsie Wolmers | f65ee34 | 2020-01-22 19:47:56 -0600 | [diff] [blame] | 13 | import NetworkSettingStore from './modules/Configuration/NetworkSettingsStore'; |
| 14 | import EventLogStore from './modules/Health/EventLogStore'; |
Yoshie Muranaka | 30abccb | 2020-03-11 12:44:24 -0700 | [diff] [blame] | 15 | import SensorsStore from './modules/Health/SensorsStore'; |
SurenNeware | 090c2d4 | 2020-04-01 14:07:27 +0530 | [diff] [blame] | 16 | import ServerLedStore from './modules/Control/ServerLedStore'; |
Yoshie Muranaka | 56ee769 | 2020-05-28 13:28:29 -0700 | [diff] [blame] | 17 | import SystemStore from './modules/Health/SystemStore'; |
Yoshie Muranaka | 5918b48 | 2020-06-08 08:18:23 -0700 | [diff] [blame] | 18 | import PowerSupplyStore from './modules/Health/PowerSupplyStore'; |
Yoshie Muranaka | e24b17d | 2020-06-08 11:03:11 -0700 | [diff] [blame] | 19 | import MemoryStore from './modules/Health/MemoryStore'; |
Yoshie Muranaka | b89a53c | 2020-06-15 13:25:46 -0700 | [diff] [blame] | 20 | import FanStore from './modules/Health/FanStore'; |
Yoshie Muranaka | 09e8b5d | 2020-06-08 07:36:59 -0700 | [diff] [blame] | 21 | import ChassisStore from './modules/Health/ChassisStore'; |
Yoshie Muranaka | 54c6bfc | 2020-06-12 08:29:42 -0700 | [diff] [blame] | 22 | import BmcStore from './modules/Health/BmcStore'; |
SurenNeware | dc3fa2e | 2020-08-04 20:45:25 +0530 | [diff] [blame^] | 23 | import ProcessorStore from './modules/Health/ProcessorStore'; |
Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 24 | |
Yoshie Muranaka | dc04feb | 2019-12-04 08:41:22 -0800 | [diff] [blame] | 25 | import WebSocketPlugin from './plugins/WebSocketPlugin'; |
Dixsie Wolmers | 739e459 | 2020-06-05 07:00:06 -0500 | [diff] [blame] | 26 | import DateTimeStore from './modules/Configuration/DateTimeSettingsStore'; |
Yoshie Muranaka | dc04feb | 2019-12-04 08:41:22 -0800 | [diff] [blame] | 27 | |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 28 | Vue.use(Vuex); |
| 29 | |
| 30 | export default new Vuex.Store({ |
| 31 | state: {}, |
| 32 | mutations: {}, |
| 33 | actions: {}, |
Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 34 | modules: { |
Yoshie Muranaka | b8b6f79 | 2019-12-03 14:47:32 -0800 | [diff] [blame] | 35 | global: GlobalStore, |
Derick Montague | e080a1a | 2019-12-04 16:30:08 -0600 | [diff] [blame] | 36 | authentication: AuthenticationStore, |
Dixsie Wolmers | 739e459 | 2020-06-05 07:00:06 -0500 | [diff] [blame] | 37 | dateTime: DateTimeStore, |
Yoshie Muranaka | c4e38ab | 2020-04-09 12:41:27 -0700 | [diff] [blame] | 38 | ldap: LdapStore, |
Dixsie Wolmers | f65ee34 | 2020-01-22 19:47:56 -0600 | [diff] [blame] | 39 | localUsers: LocalUserManagementStore, |
Dixsie Wolmers | f65ee34 | 2020-01-22 19:47:56 -0600 | [diff] [blame] | 40 | firmware: FirmwareStore, |
Yoshie Muranaka | c05ff64 | 2020-02-26 14:23:15 -0800 | [diff] [blame] | 41 | hostBootSettings: BootSettingsStore, |
Yoshie Muranaka | c11d389 | 2020-02-19 08:07:40 -0800 | [diff] [blame] | 42 | controls: ControlStore, |
Dixsie Wolmers | 4c69f5b | 2020-02-26 11:23:52 -0600 | [diff] [blame] | 43 | powerControl: PowerControlStore, |
Yoshie Muranaka | 5918b48 | 2020-06-08 08:18:23 -0700 | [diff] [blame] | 44 | powerSupply: PowerSupplyStore, |
Dixsie Wolmers | f65ee34 | 2020-01-22 19:47:56 -0600 | [diff] [blame] | 45 | networkSettings: NetworkSettingStore, |
Yoshie Muranaka | 30abccb | 2020-03-11 12:44:24 -0700 | [diff] [blame] | 46 | eventLog: EventLogStore, |
Yoshie Muranaka | 3739381 | 2020-03-24 15:25:24 -0700 | [diff] [blame] | 47 | sensors: SensorsStore, |
SurenNeware | 090c2d4 | 2020-04-01 14:07:27 +0530 | [diff] [blame] | 48 | sslCertificates: SslCertificatesStore, |
Yoshie Muranaka | 56ee769 | 2020-05-28 13:28:29 -0700 | [diff] [blame] | 49 | serverLed: ServerLedStore, |
Yoshie Muranaka | e24b17d | 2020-06-08 11:03:11 -0700 | [diff] [blame] | 50 | system: SystemStore, |
Yoshie Muranaka | b89a53c | 2020-06-15 13:25:46 -0700 | [diff] [blame] | 51 | memory: MemoryStore, |
Yoshie Muranaka | 09e8b5d | 2020-06-08 07:36:59 -0700 | [diff] [blame] | 52 | fan: FanStore, |
Yoshie Muranaka | 54c6bfc | 2020-06-12 08:29:42 -0700 | [diff] [blame] | 53 | chassis: ChassisStore, |
SurenNeware | dc3fa2e | 2020-08-04 20:45:25 +0530 | [diff] [blame^] | 54 | bmc: BmcStore, |
| 55 | processors: ProcessorStore |
Yoshie Muranaka | dc04feb | 2019-12-04 08:41:22 -0800 | [diff] [blame] | 56 | }, |
| 57 | plugins: [WebSocketPlugin] |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 58 | }); |