GUAC-800: Provide access via REST to attribute information. Move protocol descriptions into common REST service.

This commit is contained in:
Michael Jumper committed 2015-05-24 19:37:07 -07:00
1 parent a4a2a37623
commit dfedcf3058
8 files changed
+319 -163

No files matched your search

@@ -49,11 +49,11 @@ angular.module('rest').factory('cacheService', ['$injector',
service.languages = $cacheFactory('API-LANGUAGES');
/**
* Cache used by protocolService.
* Cache used by schemaService.
*
* @type $cacheFactory.Cache
*/
service.protocols = $cacheFactory('API-PROTOCOLS');
service.schema = $cacheFactory('API-SCHEMA');
/**
* Shared cache used by both userService and permissionService.
@@ -68,7 +68,7 @@ angular.module('rest').factory('cacheService', ['$injector',
service.clearCaches = function clearCaches() {
service.connections.removeAll();
service.languages.removeAll();
service.protocols.removeAll();
service.schema.removeAll();
service.users.removeAll();
};