Free cookie consent management tool by TermsFeed Policy Generator

source: branches/MemPRAlgorithm/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/services/clientService.js @ 14429

Last change on this file since 14429 was 12551, checked in by dglaser, 9 years ago

#2388:

HeuristicLab.Services.Hive.DataAccess-3.3:

  • updated database schema
  • updated sql scripts
  • updated HiveStatisticsGenerator

HeuristicLab.Services.WebApp-3.3:

  • merged from trunk

HeuristicLab.Services.WebApp.Status-3.3:

  • updated data api controller

HeuristicLab.Services.WebApp.Statistics-3.3:

  • added exception page
  • improved jobs, clients, users and groups page
File size: 958 bytes
Line 
1(function () {
2    var module = appStatisticsPlugin.getAngularModule();
3    var apiUrl = 'api/Statistics/Client/';
4    module.factory('app.statistics.clientService',
5        ['$resource', function ($resource) {
6            return $resource(apiUrl + ':action', { id: '@id', page: '@page', size: '@size', states: '@states', expired: '@expired', start: '@start', end: '@end', userId: '@userId' }, {
7                getClientDetails: { method: 'GET', params: { action: 'GetClientDetails' } },
8                getClients: { method: 'GET', params: { action: 'GetClients' } },
9                getClientsByGroupId: { method: 'GET', params: { action: 'GetClientsByGroupId' } },
10                getClientHistory: { method: 'GET', params: { action: 'GetClientHistory' }, isArray: true },
11                getClientHistoryByGroupId: { method: 'GET', params: { action: 'GetClientHistoryByGroupId' }, isArray: true }
12            });
13        }]
14    );
15})();
Note: See TracBrowser for help on using the repository browser.