Go to file
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
sources #942 Improve scope break down process 2020-06-02 12:32:36 +02:00
tests #942 Add REST API /schedule get function 2020-06-02 12:32:36 +02:00
Makefile.am #942 Add support for scheduled tasks and commands 2020-06-02 12:32:36 +02:00
configure.ac #970 autotools support for ogAdmServer 2020-06-02 12:32:36 +02:00
ogAdmServer.cfg #915 update installer to add APITOKEN= to ogAdmServer.cfg 2019-06-24 13:46:10 +02:00