[Kimchi-devel] [PATCH 0/3] [WOK] Move Tasks to Wok.

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Mon Sep 21 14:00:17 UTC 2015


From: Paulo Vital <pvital at linux.vnet.ibm.com>

The Tasks collection and Task resource are basic structures from the AsyncTasks
feature and will be used by all plugins inside the Wok framework.

This patch-set moves the Tasks model and control from Kimchi to Wok, update all
model and UI files from Kimchi to use the new structure and update the tests
from Kimchi.

Paulo Vital (3):
  Move Tasks to Wok.
  Update Kimchi to use Tasks from Wok.
  Update Kimchi tests to use Tasks from Wok.

 docs/API.md                                      | 30 +++++++++++
 plugins/kimchi/control/tasks.py                  | 37 --------------
 plugins/kimchi/docs/API.md                       | 31 ------------
 plugins/kimchi/model/debugreports.py             |  2 +-
 plugins/kimchi/model/host.py                     |  2 +-
 plugins/kimchi/model/storagevolumes.py           |  2 +-
 plugins/kimchi/model/tasks.py                    | 64 ------------------------
 plugins/kimchi/model/vms.py                      |  2 +-
 plugins/kimchi/model/vmsnapshots.py              |  2 +-
 plugins/kimchi/tests/test_host.py                |  4 +-
 plugins/kimchi/tests/test_mock_storagepool.py    |  2 +-
 plugins/kimchi/tests/test_model_storagevolume.py |  8 +--
 plugins/kimchi/tests/test_rest.py                | 22 ++++----
 plugins/kimchi/tests/test_server.py              |  8 +--
 plugins/kimchi/ui/js/src/kimchi.api.js           |  4 +-
 src/wok/control/tasks.py                         | 37 ++++++++++++++
 src/wok/model/tasks.py                           | 64 ++++++++++++++++++++++++
 17 files changed, 160 insertions(+), 161 deletions(-)
 delete mode 100644 plugins/kimchi/control/tasks.py
 delete mode 100644 plugins/kimchi/model/tasks.py
 create mode 100644 src/wok/control/tasks.py
 create mode 100644 src/wok/model/tasks.py

--
2.4.3




More information about the Kimchi-devel mailing list