1. Add client module to request openstack api 2. Remove window.request, stores use client to request api 3. Remove window.globals, use globalRootStore to deal with user info Change-Id: I5657cfd8cf142dbacce8716991f805bbbb4a9222
44 lines
1.6 KiB
JavaScript
44 lines
1.6 KiB
JavaScript
import globalFloatingIpsStore from './neutron/floatingIp';
|
|
import globalImageStore from './glance/image';
|
|
import globalServerStore from './nova/instance';
|
|
import globalInstanceSnapshotStore from './glance/instance-snapshot';
|
|
import globalKeypairStore from './nova/keypair';
|
|
import globalNetworkStore from './neutron/network';
|
|
import globalPortForwardingStore from './neutron/port-forwarding';
|
|
import globalQoSPolicyStore from './neutron/qos-policy';
|
|
import globalRecycleBinStore from './skyline/recycle-server';
|
|
import globalSecurityGroupStore from './neutron/security-group';
|
|
import globalSecurityGroupRuleStore from './neutron/security-rule';
|
|
import globalServerGroupStore from './nova/server-group';
|
|
import globalSnapshotStore from './cinder/snapshot';
|
|
import globalStaticRouteStore from './neutron/static-route';
|
|
import globalSubnetStore from './neutron/subnet';
|
|
import globalVirtualAdapterStore from './neutron/virtual-adapter';
|
|
import globalVolumeStore from './cinder/volume';
|
|
import globalComputeHostStore from './nova/compute-host';
|
|
import globalHypervisorStore from './nova/hypervisor';
|
|
import globalStackStore from './heat/stack';
|
|
|
|
export default {
|
|
globalFloatingIpsStore,
|
|
globalImageStore,
|
|
globalServerStore,
|
|
globalInstanceSnapshotStore,
|
|
globalKeypairStore,
|
|
globalNetworkStore,
|
|
globalPortForwardingStore,
|
|
globalQoSPolicyStore,
|
|
globalRecycleBinStore,
|
|
globalSecurityGroupStore,
|
|
globalSecurityGroupRuleStore,
|
|
globalServerGroupStore,
|
|
globalSnapshotStore,
|
|
globalStaticRouteStore,
|
|
globalSubnetStore,
|
|
globalVirtualAdapterStore,
|
|
globalVolumeStore,
|
|
globalComputeHostStore,
|
|
globalHypervisorStore,
|
|
globalStackStore,
|
|
};
|