GUAC-932: Rename various *DAO to *Service. Rename legacy services to legacy*, pending removal/refactor.

This commit is contained in:
Michael Jumper
2014-12-11 15:12:45 -08:00
parent 6d6bf889f2
commit 4ebb66c40d
14 changed files with 468 additions and 468 deletions

View File

@@ -30,7 +30,7 @@ angular.module('home').controller('homeController', ['$scope', '$injector',
var GUAC_HISTORY_STORAGE_KEY = "GUAC_HISTORY";
// Get the dependencies commonJS style
var connectionGroupService = $injector.get("connectionGroupService");
var legacyConnectionGroupService = $injector.get("legacyConnectionGroupService");
var guacHistory = $injector.get("guacHistory");
// All the connections and connection groups in root
@@ -45,7 +45,7 @@ angular.module('home').controller('homeController', ['$scope', '$injector',
/* Fetch all connections and groups, then find which recent connections
* still refer to valid connections and groups.
*/
connectionGroupService.getAllGroupsAndConnections($scope.connectionsAndGroups)
legacyConnectionGroupService.getAllGroupsAndConnections($scope.connectionsAndGroups)
.then(function findRecentConnections() {
// TODONT: Munch the guacHistory recentConnections list into a legacy-style object