summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0017_post_image_restore.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2019-12-17 12:26:28 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-02 12:32:36 +0200
commit96b9bb865c4d4dbd2df8e5d07e9dbf83dbc25d2c (patch)
treed6bf90a2090f89fb94326d89704b9006f923a6b7 /tests/units/test_0017_post_image_restore.py
parent6a0fcf96700a7b640114ea40cb64e3c3a5213a68 (diff)
#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.
Diffstat (limited to 'tests/units/test_0017_post_image_restore.py')
0 files changed, 0 insertions, 0 deletions