Go to file
Alvaro Neira Ayuso 683afa6465 Improve software command response behavior
During our tests, we found some limitation during the execution of the software
command. We don't manage errors during the execution of this command. Moreover,
the server needs some information in case that everything is OK.

This patch modified the code for controlling the errors during the execution,
returning an "Internal Error" http message (500). Moreover, in case that
everything is OK, ogClient sends a message with this json body:

    { "disk" : "0", "partition" : "1", "software" : "xyz" }

"xyz" will be the output saved during the execution of InventarioSoftware in
a specific path.
2020-01-19 19:50:44 +01:00
cfg Set up the ip server for working in localhost by default 2020-01-19 19:50:44 +01:00
src Improve software command response behavior 2020-01-19 19:50:44 +01:00
.gitignore Create new ogClient 2020-01-19 19:50:44 +01:00
LICENSE Initial commit 2020-01-19 19:50:43 +01:00
main.py Avoid a broken pipe error on opengnsys 2020-01-19 19:50:44 +01:00