GUAC-997 Added active user count to REST API and UI.

This commit is contained in:
James Muehlner
2015-01-27 22:20:03 -08:00
parent 4573677880
commit f7e1f3a303
9 changed files with 86 additions and 2 deletions

View File

@@ -79,6 +79,15 @@ angular.module('rest').factory('Connection', [function defineConnection() {
* @type Object.<String, String>
*/
this.parameters = template.parameters;
/**
* The count of currently active users for this connection. This field
* will be returned from the REST API during a get operation,
* but may not be set when doing an update or create operation.
*
* @type Number
*/
this.activeUsers = template.activeUsers;
};