| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Add basic infrastructure to support for the independent database layer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add REST API for ogAdmServer, this API is exposed through port 8888 on
the system that runs the ogAdmServer. The body of the HTTP message is
expressed in JSON format.
This patch implements the command "clients" that maps to the existing
legacy "Sondeo" command, that is used by the web interface to poll
refresh the client state.
This patch also includes an initial test infrastructure using 'curl' to
send commands to the new REST API.
Request:
POST /clients
{"clients" : [ "192.168.2.1", "192.168.2.2" ]}
Reply:
200 OK
This allows to refresh the status of the list of clients.
|
| |
|
|
|
|
|
| |
Nor use -O3 since this generates code that is harder to debug.
Compile binary that can be run inside valgrind for better debugging.
|
|
|
|
|
|
|
| |
Modern server side using libev library, includes timeouts for clients.
After this patch, your system requires the libev-dev and libev4 packages
to compile ogAdmServer.
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2443 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
independientes de distribución.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2439 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
como 64 bits.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2116 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
a21b9725-9963-47de-94b9-378ad31fedc9
|