Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 14429 was 12516, checked in by dglaser, 10 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: 564 bytes
Line 
1(function () {
2    var module = appStatisticsPlugin.getAngularModule();
3    var apiUrl = 'api/Statistics/Task/';
4    module.factory('app.statistics.taskService',
5        ['$resource', function ($resource) {
6            return $resource(apiUrl + ':action', { id: '@id', page: '@page', size: '@size', states: '@states' }, {
7                getTasksByJobId: { method: 'POST', params: { action: 'GetTasksByJobId' } },
8                getTasksByClientId: { method: 'POST', params: { action: 'GetTasksByClientId' } }
9            });
10        }]
11    );
12})();
Note: See TracBrowser for help on using the repository browser.