source: ogServer-Git/tests/task.json

Last change on this file was 96b9bb8, checked in by OpenGnSys Support Team <soporte-og@…>, 4 years ago

#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.

  • Property mode set to 100644
File size: 18 bytes
Line 
1{ "task" : "13" }
Note: See TracBrowser for help on using the repository browser.