ogserver/sources
Javier Sánchez Parra e4907cc26a #942 Improve scope break down process
OpenGnsys has a hierarchical scope system to organize clients:

				 +------+
				 |Center|
				 +------+
				 |      |
				 |      |
				 v      v
	    +--------------------+      +----------+
	+-->+Groups of classrooms+----->+Classrooms|
	|   +-+------------------+      +----------+
	|     |                         |          |
	+-----+                         |          |
					v          v
		      +-----------------+          +-------+
		  +-->+Groups of clients+--------->+Clients|
		  |   +-+---------------+          +-------+
		  |     |
		  +-----+

OpenGnsys can send commands and tasks to several clients simultaneously
selecting a scope. For example: send poweroff to center Faculty of
Pharmacy. We had a waterfall process to loop through all members of the
scope and obtain the clients.

This commit simplifies the process with queries that save us to loop
through the members.

Co-authored-by: Irina Gómez <irinagomez@us.es>
2020-06-02 12:32:36 +02:00
..
dbi.c #967 rename .cpp to .c 2020-03-05 23:45:48 +01:00
dbi.h #941 add basic database-independent abstraction (dbi) 2020-03-04 14:53:01 +01:00
list.h #942 Add /run/task to API REST 2020-06-02 12:32:36 +02:00
ogAdmServer.c #942 Improve scope break down process 2020-06-02 12:32:36 +02:00
ogAdmServer.h #971 remove obsolete code 2020-06-02 12:32:36 +02:00
schedule.c #942 Add weeks and week days to the schedule API 2020-06-02 12:32:36 +02:00
schedule.h #942 Add support for scheduled tasks and commands 2020-06-02 12:32:36 +02:00