ogserver/tests
OpenGnSys Support Team 96b9bb865c #942 Add /run/task to API REST
This patch adds a new command to the REST API to run tasks.

A task (tarea) is composed of procedures (procedimientos), each procedure is
composed of commands (acciones) that are represented through legacy sockHidra
parameters in the database.

This results in iterating over the task (tareas_acciones) table in the
database to fetch the list of procedures (procedimientos).

Then, this iterates over the list commands that compose a procedures
represented through procedimientos_acciones table.

Finally, this builds and sends the sockHidra legacy message for the client.

This patch includes an implementation of the Linux linked list.
2020-06-02 12:32:36 +02:00
..
config #915 add support for HTTP Authorization 2019-06-24 13:42:25 +02:00
units #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
clients.json #915 add clients command to REST API in ogAdmServer 2019-05-27 13:02:45 +02:00
create_basic_image.json #915 Add test for POST /image/create/basic command 2019-10-08 14:01:14 +02:00
create_image.json #915: Add POST /image/create command to REST API in ogAdmServer 2019-10-01 12:56:10 +02:00
create_incremental_image.json #915 Add test for POST "image/create/incremental" command 2019-10-11 11:57:08 +02:00
post_clients.json #915 add initial REST API for ogAdmServer 2019-05-27 13:02:37 +02:00
post_shell_output.json #915 add POST shell/output command to REST API in ogAdmServer 2019-05-27 13:03:00 +02:00
post_shell_run.json #915 add run command to REST API in ogAdmServer 2019-05-27 13:02:57 +02:00
poweroff.json #915 add POST poweroff command to REST API in ogAdmServer 2019-05-30 15:32:01 +02:00
reboot.json #915 add POST reboot command to REST API in ogAdmServer 2019-05-30 15:32:18 +02:00
restore_basic_image.json #915 Add test for POST /image/restore/basic command 2019-10-09 15:27:59 +02:00
restore_image.json #915: adapt test to use id and profile fields 2019-10-01 12:59:50 +02:00
restore_incremental_image.json #915 Add test for POST /image/restore/incremental command 2019-10-11 11:57:08 +02:00
run-tests.py #915 check ogAdmServer binary existence when running pythong tests 2019-08-28 17:54:57 +02:00
run-tests.sh #942 Add /run/task to API REST 2020-06-02 12:32:36 +02:00
run_schedule.json #915 Add POST "run/schedule" command to REST API in ogAdmServer 2019-10-25 14:12:09 +02:00
session.json #915 add POST session command to REST API in ogAdmServer 2019-05-27 13:03:05 +02:00
setup_image.json Add test for POST /image/create command 2019-10-07 11:15:28 +02:00
stop.json #915 add POST stop command to REST API in ogAdmServer 2019-05-30 15:32:22 +02:00
task.json #942 Add /run/task to API REST 2020-06-02 12:32:36 +02:00
wol.json #915 add wol command to REST API in ogAdmServer 2019-05-27 13:02:52 +02:00