Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2817-BinPackingSpeedup/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/services/userService.js

Last change on this file was 12516, checked in by dglaser, 9 years ago

#2388:

HeuristicLab.Services.Hive.DataAccess-3.3:

  • updated daos
  • changed statistics database schema
  • updated HiveStatisticsGenerator

HeuristicLab.Services.WebApp.Statistics-3.3:

  • added jobs, client and user page
File size: 492 bytes
Line 
1(function () {
2    var module = appStatisticsPlugin.getAngularModule();
3    var apiUrl = 'api/Statistics/User/';
4    module.factory('app.statistics.userService',
5        ['$resource', function ($resource) {
6            return $resource(apiUrl + ':action', { id: '@id' }, {
7                getUser: { method: 'GET', params: { action: 'GetUser' } },
8                getUsers: { method: 'GET', params: { action: 'GetUsers' }, isArray: true }
9            });
10        }]
11    );
12})();
Note: See TracBrowser for help on using the repository browser.