summaryrefslogtreecommitdiffstats
path: root/src/ogRest.py
Commit message (Collapse)AuthorAgeFilesLines
* Split the commands taking into account GET/POST operationsAlvaro Neira Ayuso2020-01-191-10/+16
|
* Add shell run and output commandsAlvaro Neira Ayuso2020-01-191-7/+47
| | | | | | | | Opengnsys needs a support to execute commands on the machine. This patch adds the support for executing two new commands "shell/run" and "shell/output". The first one, give us the support for executing a command in the machine and keep save in a queue the output. The second one, give us the support for sending the output from the command executed.
* Merge ogRest and ogProcess to have only one classAlvaro Neira Ayuso2020-01-191-7/+48
|
* Add ogRest class to generate API Rest ResponsesAlvaro Neira Ayuso2020-01-191-0/+14
This class now, allow us to generate API Rest responses. In the future, the idea is to complete this class with get and post messages if it's needed.