Add REST endpoint to kill a task

The kill SSH command was adapted to make use of the new REST endpoint.

Change-Id: I7783ded83d4a027fcfeab7573101c9b6f9f69149
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2014-07-08 12:49:03 +02:00
committed by Edwin Kempin
parent 32e3a5246c
commit 7e28381f0e
5 changed files with 146 additions and 17 deletions

View File

@@ -32,6 +32,7 @@ public class Module extends RestApiModule {
child(CONFIG_KIND, "capabilities").to(CapabilitiesCollection.class);
child(CONFIG_KIND, "tasks").to(TasksCollection.class);
get(TASK_KIND).to(GetTask.class);
delete(TASK_KIND).to(DeleteTask.class);
child(CONFIG_KIND, "top-menus").to(TopMenuCollection.class);
get(CONFIG_KIND, "version").to(GetVersion.class);
get(CONFIG_KIND, "preferences").to(GetPreferences.class);