summaryrefslogtreecommitdiff
path: root/src/sagas/index.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-07 11:38:42 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:58 +0200
commite9909159dc5db91eda12437e18c1474cae848af7 (patch)
treef34e0ca56b666f6a4ab1022e58a6dcd84b779725 /src/sagas/index.js
parentd5a92d3006561fd631279b68b23a1f8075b28bb8 (diff)
Implement first machine slot listing
Diffstat (limited to 'src/sagas/index.js')
-rw-r--r--src/sagas/index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sagas/index.js b/src/sagas/index.js
index 024e40aa..e6c48da4 100644
--- a/src/sagas/index.js
+++ b/src/sagas/index.js
@@ -2,11 +2,14 @@ import {takeEvery} from "redux-saga/effects";
import {LOG_IN} from "../actions/auth";
import {ADD_SIMULATION, DELETE_SIMULATION} from "../actions/simulations";
import {
+ ADD_MACHINE,
ADD_RACK_TO_TILE,
ADD_TILE,
CANCEL_NEW_ROOM_CONSTRUCTION,
+ DELETE_RACK,
DELETE_ROOM,
DELETE_TILE,
+ EDIT_RACK_NAME,
EDIT_ROOM_NAME,
FETCH_LATEST_DATACENTER,
START_NEW_ROOM_CONSTRUCTION
@@ -15,11 +18,14 @@ import {DELETE_CURRENT_USER, FETCH_AUTHORIZATIONS_OF_CURRENT_USER} from "../acti
import {onDeleteCurrentUser} from "./profile";
import {onSimulationAdd, onSimulationDelete} from "./simulations";
import {
+ onAddMachine,
onAddRackToTile,
onAddTile,
onCancelNewRoomConstruction,
+ onDeleteRack,
onDeleteRoom,
onDeleteTile,
+ onEditRackName,
onEditRoomName,
onFetchLatestDatacenter,
onStartNewRoomConstruction
@@ -39,5 +45,8 @@ export default function* rootSaga() {
yield takeEvery(DELETE_TILE, onDeleteTile);
yield takeEvery(EDIT_ROOM_NAME, onEditRoomName);
yield takeEvery(DELETE_ROOM, onDeleteRoom);
+ yield takeEvery(EDIT_RACK_NAME, onEditRackName);
+ yield takeEvery(DELETE_RACK, onDeleteRack);
yield takeEvery(ADD_RACK_TO_TILE, onAddRackToTile);
+ yield takeEvery(ADD_MACHINE, onAddMachine);
}