Commit Graph

11 Commits (54d172e972067e4ddcfd11c613929af811754f99)

Author SHA1 Message Date
OpenGnSys Support Team ad2d308436 #967 rename .cpp to .c
This actually is C code, use the gcc compiler instead.
2020-03-05 23:45:48 +01:00
OpenGnSys Support Team 39918fa970 #941 use dbi layer from envioProgramacion 2020-03-04 14:55:11 +01:00
OpenGnSys Support Team 2629906b6d #941 add basic database-independent abstraction (dbi)
Add basic infrastructure to support for the independent database layer.
2020-03-04 14:53:01 +01:00
OpenGnSys Support Team 95e6520c4f #915 add initial REST API for ogAdmServer
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.
2019-05-27 13:02:37 +02:00
OpenGnSys Support Team eff62ed515 #580 no need for pthread library 2019-01-17 13:18:38 +01:00
OpenGnSys Support Team 8d6d833770 #884 do not strip off symbols
Nor use -O3 since this generates code that is harder to debug.
Compile binary that can be run inside valgrind for better debugging.
2019-01-17 13:18:36 +01:00
OpenGnSys Support Team 212280e1bc #580 rework server socket handling
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.
2019-01-17 13:18:32 +01:00
ramon a8d03444a9 Versión 1.0.2a, #479: corregir errata de inclusión en ficheros Makefile.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2443 a21b9725-9963-47de-94b9-378ad31fedc9
2012-01-18 15:25:58 +00:00
ramon ca73ddf489 Versión 1.0.3, #414: linkado correcto en Ubuntu 11.10; ficheros Makefile independientes de distribución.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2439 a21b9725-9963-47de-94b9-378ad31fedc9
2012-01-16 13:35:43 +00:00
ramon 2bab3a7fef Versión 1.0.2: configurados Makefile para compilar servicios tanto para 32 como 64 bits.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2116 a21b9725-9963-47de-94b9-378ad31fedc9
2011-06-30 10:43:27 +00:00
alonso b9eb98b963 git-svn-id: https://opengnsys.es/svn/trunk@1314 a21b9725-9963-47de-94b9-378ad31fedc9 2010-10-23 09:34:04 +00:00